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 |

Heikin Ashi first filled (red candle) PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
fernando43611
Posted : Monday, October 13, 2014 12:15:49 PM
Registered User
Joined: 8/3/2014
Posts: 8

I found the following PCF to scan the first hollow or green candle using Heikin ashi candle

 (((O + H + L + C) / 4 - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) > 0.0 ) AND (((O1 + H1 + L1 + C1) / 4 - (XAVGO4.2 + XAVGH4.2 + XAVGL4.2 + XAVGC4.2) / 4) < 0.0 ) 

what would be the inverse of this PCF? I need the one that scans for the first filled or red candle.

thank you.

 

Bruce_L
Posted : Monday, October 13, 2014 12:28:02 PM


Worden Trainer

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

Please try the following Condition Formula (it assumes open vs close is being used for both color and fill).

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

On another note, the 4.2s in the second section of the formula as provide should be 3.2s instead.

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
fernando43611
Posted : Monday, October 13, 2014 1:15:10 PM
Registered User
Joined: 8/3/2014
Posts: 8

thank you!!

fernando43611
Posted : Friday, October 17, 2014 10:18:48 AM
Registered User
Joined: 8/3/2014
Posts: 8

Hi Bruce, what would be the PCF to scan for just  hollow candles and for just filled candles?? no matter if they're the first or 2nd or 3rd  etc. candle in a row.

Bruce_L
Posted : Friday, October 17, 2014 10:27:00 AM


Worden Trainer

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

What are the Color Based On and Fill Based On settings of your Heiken-Ashi candles when you edit price?

The close of the current bar is:

(O + H + L + C) / 4

And the open of the current bar is:

(XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)

So if you are just looking at the current bar, the close being above the open would be (hollow or green):

O + H + L + C > XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1

And the close being below the open would be (filled or red):

O + H + L + C < XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1



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