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 |

Heiken Ashi Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Brucem
Posted : Thursday, January 17, 2019 9:18:15 PM
Registered User
Joined: 12/27/2010
Posts: 30

Is there a way to write a condition to convert OHLC values of previous bar into a Heiken Ashi bar?

What I am trying to do is identify the first bar in an uptrend that does not have a lower wick

coming out of a transition phase.It is easily identified on a HA chart but can that be converted to a PDF

condition to be placed in a watch list?

Bruce_L
Posted : Tuesday, January 22, 2019 9:24:44 AM


Worden Trainer

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

A condition formula for an HA candle with no lower wick can be written as follows.

4 * L >= XAVG(O1 + H1 + L1 + C1, 3)

And a condition formula far an HA candlie with a lower wick can be written as follows

4 * L < XAVG(O1 + H1 + L1 + C1, 3)

So if you want to check if the current candle is the first one without a lower wick in v18:

TrueInRow(4 * L >= XAVG(O1 + H1 + L1 + C1, 3), 2) = 1

And in earlier versions:

4 * L >= XAVG(O1 + H1 + L1 + C1, 3) AND 4 * L1 < XAVG(O2 + H2 + L2 + C2, 3)



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