New version 17 available now

Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

 Heiken Ashi candle change Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
spartakis
 Posted : Sunday, July 09, 2017 5:39:15 PM
Gold Customer

Joined: 1/16/2013
Posts: 19

Bruce since the app wont load the candle I have a request your brillant mind maybe able to help me with and keep me trading on vacation.     http://forums.worden.com/default.aspx?g=posts&t=67097  Is there a formula for a Heiken Ashi candle change in each direction. So from fill to empty, even maybe with a doj looking candle inthe middle. Something I could make a scan and set alert on for when a change in Heiken candle I can be alerted to trade.  Thanks ahead of time Bruce.

Bruce_L
 Posted : Monday, July 10, 2017 9:58:39 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

O + H + L + C > XAVG(O1 + H1 + L1 + C1, 3) AND O1 + H1 + L1 + C1 < XAVG(O2 + H2 + L2 + C2, 3)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
spartakis
 Posted : Monday, July 10, 2017 10:11:27 AM
Gold Customer

Joined: 1/16/2013
Posts: 19

Thanks, will that yield a change in direction either way, or will I need to reverse something

Bruce_L
 Posted : Monday, July 10, 2017 10:21:01 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

You would need to reverse the > and < signs.

O + H + L + C < XAVG(O1 + H1 + L1 + C1, 3) AND O1 + H1 + L1 + C1 > XAVG(O2 + H2 + L2 + C2, 3)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
spartakis
 Posted : Monday, July 10, 2017 10:22:22 AM
Gold Customer

Joined: 1/16/2013
Posts: 19

Thanks again Bruce

spartakis
 Posted : Monday, July 10, 2017 10:23:01 AM
Gold Customer

Joined: 1/16/2013
Posts: 19

To put both on one scan just put an or inbetween them?

Bruce_L
 Posted : Monday, July 10, 2017 10:34:08 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

You would also want to put parentheses around both formulas.

(O + H + L + C > XAVG(O1 + H1 + L1 + C1, 3) AND O1 + H1 + L1 + C1 < XAVG(O2 + H2 + L2 + C2, 3)) OR (O + H + L + C < XAVG(O1 + H1 + L1 + C1, 3) AND O1 + H1 + L1 + C1 > XAVG(O2 + H2 + L2 + C2, 3))

But there is a better way to write it.

SGN(O + H + L + C - XAVG(O1 + H1 + L1 + C1, 3)) <> SGN(O1 + H1 + L1 + C1 - XAVG(O2 + H2 + L2 + C2, 3))

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
spartakis
 Posted : Monday, July 10, 2017 10:41:28 AM
Gold Customer

Joined: 1/16/2013
Posts: 19

Thanks Bruce don't know what I would do without you.

Bruce_L
 Posted : Monday, July 10, 2017 10:43:20 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

You're welcome.

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

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/17 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 17 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos 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.