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 |

ADX Count Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
diceman
Posted : Tuesday, February 14, 2017 1:48:32 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

Can the new PCFs.

 

Create a 14,14 ADX, apply a 5 period EMA to it, count how many bars in a row the

ADX has been above the ema.

 

Also a MACD Counter, how many bars in a row MACD 12e 26e has been above its 9ema

signal line.

 

 

Thanks

 

 

 

 

Bruce_L
Posted : Tuesday, February 14, 2017 2:10:31 PM


Worden Trainer

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

For the ADX (the count would max out at 30 bars in a row):

TrueInRow(ADX14.14 > XAVG(ADX14.14, 5), 30)

For the MACD (the count would max out at 25 bars on a row):

TrueInRow(MACD12.26 > XAVG(MACD12.26, 9), 25)



-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.