Registered User Joined: 11/9/2009 Posts: 36
|
Hi,
Is it possibe to create a scan or a signal if price is between two moving avgs example 3ma and 6ma?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Yes, you can write this multiple ways. It can be written as follows for example.
(AVGC3 <= C AND C <= AVGC6) OR (AVGC6 <= C AND C <= AVGC3)
Or the slightly shorter but less obvious formula below.
ABS(2 * C - AVGC3 - AVGC6) <= ABS(AVGC3 - AVGC6)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/9/2009 Posts: 36
|
what about exponential ma?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Just use XAVGC instead AVGC .
(XAVGC3 <= C AND C <= XAVGC6) OR (XAVGC6 <= C AND C <= XAVGC3)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|