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 color change Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
winthorpe
Posted : Monday, October 6, 2014 11:36:23 AM
Registered User
Joined: 6/23/2006
Posts: 54

Can you please help me write a scan to search for Heiken Ashi color change from green to red / red to green for  daily and weekly time frames. 

Bruce_L
Posted : Monday, October 6, 2014 12:07:55 PM


Worden Trainer

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

If you have Color Based On set to Net Change than going from green to red would as follows.

O + H + L + C <= O1 + H1 + L1 + C1 AND O1 + H1 + L1 + C1 > O2 + H2 + L2 + C2

And going from red to green would be as follows.

O + H + L + C > O1 + H1 + L1 + C1 AND O1 + H1 + L1 + C1 <= O2 + H2 + L2 + C2

If you have Color Based On set to Open vs Close then going from green to red would be as follows.

O + H + L + C <= XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 AND O1 + H1 + L1 + C1 > XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2

And going from red to green would be as follows.

O + H + L + C > XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 AND O1 + H1 + L1 + C1 <= XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2

You would set the time frame of the Condition Formula to Daily for the daily formula and to Weekly for the weekly formula. You can use the TimeFrame drop-down menu in the Edit Formula window when creating or editing the formula to adjust its time frame.



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