Gold Customer
Joined: 11/9/2009 Posts: 36
|
Hi,
Can anyone help me create a scan or indicator for a moving average cross over ,
100ma crossing 200 up
100ma crossing 200 down
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The best way to do this is to add both moving averages to the chart. Then click on one of the moving averages and select Create Scan Condition. You can then use the Condition drop-down menu in the Create Scan Condition window to choose the desired condition.
Create Conditions from Your Chart
Building a Scan with Multiple Conditions
If you need a Condition Formula instead, a 100-period simple moving average crossing up through a 200-period simple moving average can be written as:
AVGC100 > AVGC200 AND AVGC100.1 <= AVGC200.1
While a 100-period simple moving average crossing down through a 200-period simple moving average can be written as:
AVGC100 < AVGC200 AND AVGC100.1 >= AVGC200.1
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|