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 Change From Red To Green and Visa Versa Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
investit
Posted : Wednesday, December 12, 2012 7:01:22 PM
Gold Customer Gold Customer

Joined: 7/13/2007
Posts: 28

Could You Please supply a formula that would show 3 consecutive days of Heiken Ashi  red bars followed by a green bar and also the reverse of 3 consecutive green bars followed by a red bar. 

                                                                                                                                           Thanks,

                                                                                                                                                     Investit                                                                                                                                        

                                                                                                  

Bruce_L
Posted : Thursday, December 13, 2012 8:20:21 AM


Worden Trainer

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

QUOTE (investit)
Could You Please supply a formula that would show 3 consecutive days of Heiken Ashi  red bars followed by a green bar...

If Color Based On is set to Open vs Close:

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 O2 + H2 + L2 + C2 < XAVGO3.3 + XAVGH3.3 + XAVGL3.3 + XAVGC3.3 AND O3 + H3 + L3 + C3 < XAVGO3.4 + XAVGH3.4 + XAVGL3.4 + XAVGC3.4

If Color Based On is set to Net Change:

O + H + L + C >= O1 + H1 + L1 + C1 AND O1 + H1 + L1 + C1 < O2 + H2 + L2 + C2 AND O2 + H2 + L2 + C2 < O3 + H3 + L3 + C3 AND O3 + H3 + L3 + C3 < O4 + H4 + L4 + C4

QUOTE (investit)
...and also the reverse of 3 consecutive green bars followed by a red bar.

If Color Based On is set to Open vs Close:

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 O2 + H2 + L2 + C2 >= XAVGO3.3 + XAVGH3.3 + XAVGL3.3 + XAVGC3.3 AND O3 + H3 + L3 + C3 >= XAVGO3.4 + XAVGH3.4 + XAVGL3.4 + XAVGC3.4

If Color Based On is set to Net Change:

O + H + L + C < O1 + H1 + L1 + C1 AND O1 + H1 + L1 + C1 >= O2 + H2 + L2 + C2 AND O2 + H2 + L2 + C2 >= O3 + H3 + L3 + C3 AND O3 + H3 + L3 + C3 >= O4 + H4 + L4 + C4

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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