Registered User Joined: 11/4/2018 Posts: 5
|
Hi, is there a way to scan for a flat 8 ema for the last 4 bars.
|
Registered User Joined: 11/4/2018 Posts: 5
|
I'm sorry I forgot to mention is it possible to use the bar lows for the ema calculation? Thanks!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can change Average of setting to Low to get the moving average to be of the low in the Moving Average - Exponential indicator on the chart.
The moving average itself as a formula would just be the following.
XAVGL8
As to it being flat over the most recent 4 bars, you could check for the range over those 4 bars to cover 0.5% at most for example.
MAX(XAVGL8, 4) <= 1.005 * MIN(XAVGL8, 4)
You can change the 1.005 to something else to adjust the percentage.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/4/2018 Posts: 5
|
Thank you very much
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|