Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Flat EMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
UPSTrader
Posted : Wednesday, November 28, 2018 11:12:49 PM
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.

UPSTrader
Posted : Wednesday, November 28, 2018 11:24:24 PM
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!

Bruce_L
Posted : Thursday, November 29, 2018 9:47:34 AM


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
UPSTrader
Posted : Thursday, December 6, 2018 8:00:39 PM
Registered User
Joined: 11/4/2018
Posts: 5

Thank you very much

Bruce_L
Posted : Friday, December 7, 2018 9:30:16 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.