Gold Customer
Joined: 10/14/2004 Posts: 202
|
Please write a PCF where 4,9 and 18 Simple Moving Averages are all converging together at the same time on a daily chart Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you want all of the moving averages to be within say 1% of each other:
AVGC9 <= 1.01 * AVGC4 AND AVGC18 <= 1.01 * AVGC4 AND AVGC4 <= 1.01 * AVGC9 AND AVGC18 <= 1.01 * AVGC9 AND AVGC4 <= 1.01 * AVGC18 AND AVGC9 <= 1.01 * AVGC18
This could be written as follows in TC2000 v18.
GREATEST(AVGC4, AVGC9, AVGC18) <= 1.01 * LEAST(AVGC4, AVGC9, AVGC18)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|