Registered User Joined: 6/15/2015 Posts: 21
|
What is the pcf code for a significant increase in volume. Then how can we adjust the "significant" volume based on what we think is significant. If this is too vague, can I have a code for this:
last 5 bars are above the 50 volume moving average
or/and
last 5-10 bars are above the 50 volume moving average
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the average of the last 5 bars being above the current 50 bar average can be written as follows.
AVGV5 > AVGV50
A Condition Formula for the average of the last 5 bars being above the previous 50 bar average can be written as follows.
AVGV5 > AVGV50.5
A Condition Formula for all of the last 5 bars being above the current 50 bar average can be written as follows.
MINV5 > AVGV50
A Condition Formula for all of the last 5 bars being above the previous 50 bar average can be written as follows.
MIN5 > AVGV50.5
An Indicator Formula for how the average of the most recent 5 bars is above or below the average of the previous 50 bars as a percentage can be written as follows.
100 * (AVGV5 / AVGV50.5 - 1)
Checking for the volume of the most recent 5 bars being more than 50% above the average volume of the previous 50 bars could be done with the following Condition Formula.
AVGV5 > 1.5 * AVGV50.5
Checking for the volume of the most recent 5 bars being at least 100% above the average volume of the previous 50 bars could be done with the following Condition Formula.
AVGV5 >= 2 * AVGV50.5 AND AVGV5 > 0
Personal Criteria Formulas
-Bruce Personal Criteria Formulas TC2000 Support Articles
|