New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Heikanashi question Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dhirenshah
Posted : Monday, March 20, 2017 1:56:08 PM
Gold Customer Gold Customer

Joined: 3/10/2012
Posts: 225

Hi Bruce 

quick question if u can please help me... 

1)I m trying to make pcf  in V17 for heikanashi candles open-close where candles are red in down trend minimum 3 bars and today's candles closes above previous day's candle in downtrend, , 

and same for uptrend when candles are green and with todays candle closes below previuos candle in uptrend, pcf to be true after minimum 3 bars of uptrend,

 

2) using heikanashi openclose candles custom indicator for close as % of todays range 

 

thanks 

Dhiren

Bruce_L
Posted : Monday, March 20, 2017 3:04:27 PM


Worden Trainer

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

3 consecutive red HA candles followed by close above top of previous candle

(O + H + L + C) / 4 > GREATEST(H1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4) AND TrueInRow((O1 + H1 + L1 + C1) / 4 < (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4, 3) = 3

3 consecutive green HA candles followed by close bellow bottom of previous candle

(O + H + L + C) / 4 < LEAST(L1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4) AND TrueInRow((O1 + H1 + L1 + C1) / 4 > (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4, 3) = 3

1 period stochastic of HA candle

100 * ((O + H + L + C) / 4 - LEAST(L, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / (GREATEST(H, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) - LEAST(L, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dhirenshah
Posted : Monday, March 20, 2017 3:43:06 PM
Gold Customer Gold Customer

Joined: 3/10/2012
Posts: 225

Thank you Bruce for the formulas, 

but it seems i kept conditions to tight ,,, not getting any response back from scan, whereas visually i can see what i want to scan....taking example of WHR on daily chart using HA open close 

a) so what will i have to change to get pcf that close of current bar is greater then close of previous bar and both candles are red, 

b) close of current bar is greater then close of previous bar and both candles are red with low of current bar is above the low of previous bar , 

 

and same thing for inverse using example of "CCL" or ESS "on daily where close of current bar in is below close of previous bar and both bars are green, 

b) close of current bar is below close of previous bar and both are green with current bar high is lower then high of previous bar using HA open close candles,

 

1 period stoc formula is perfect,,,for HA candle

thanks

Bruce_L
Posted : Monday, March 20, 2017 4:18:59 PM


Worden Trainer

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

I have re-written the formulas supplied earlier, so try the new versions given above.

QUOTE (dhirenshah)
a) so what will i have to change to get pcf that close of current bar is greater then close of previous bar and both candles are red,

(O + H + L + C) / 4 > (O1 + H1 + L1 + C1) / 4 AND TrueInRow((O + H + L + C) / 4 < (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 3) = 2

QUOTE (dhirenshah)
close of current bar is greater then close of previous bar and both candles are red with low of current bar is above the low of previous bar

(O + H + L + C) / 4 > (O1 + H1 + L1 + C1) / 4 AND TrueInRow((O + H + L + C) / 4 < (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 3) = 2 AND LEAST(L, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) > LEAST(L1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)

QUOTE (dhirenshah)
and same thing for inverse using example of "CCL" or ESS "on daily where close of current bar in is below close of previous bar and both bars are green

(O + H + L + C) / 4 < (O1 + H1 + L1 + C1) / 4 AND TrueInRow((O + H + L + C) / 4 > (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 3) = 2

QUOTE (dhirenshah)
b) close of current bar is below close of previous bar and both are green with current bar high is lower then high of previous bar using HA open close candles,

(O + H + L + C) / 4 < (O1 + H1 + L1 + C1) / 4 AND TrueInRow((O + H + L + C) / 4 > (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 3) = 2 AND GREATEST(H, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) < GREATEST(H1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dhirenshah
Posted : Monday, March 20, 2017 5:26:29 PM
Gold Customer Gold Customer

Joined: 3/10/2012
Posts: 225

Bruce that works just fine, but may be i m a little picky keeping everything as above is there any way of tweaking  your re-written PCF with no upper wick so flat top , when we have red bars and should be flat top no wicks for both bars, 

And same inverse with no lower wicks when we have green bars that is flat bottom no lower wicks for both bars, (previous and current bars )

no change of other criterias as above in  your re-written formula

 

 

Regards

Bruce_L
Posted : Tuesday, March 21, 2017 9:27:29 AM


Worden Trainer

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

3 consecutive red HA candles followed by close above top of previous candle

(O + H + L + C) / 4 > GREATEST(H1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4) AND TrueInRow(H1 < (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4, 3) = 3

3 consecutive green HA candles followed by close bellow bottom of previous candle

(O + H + L + C) / 4 < LEAST(L1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4) AND TrueInRow(L1 > (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4, 3) = 3

QUOTE (dhirenshah)
a) so what will i have to change to get pcf that close of current bar is greater then close of previous bar and both candles are red,

(O + H + L + C) / 4 > (O1 + H1 + L1 + C1) / 4 AND TrueInRow(H < (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 2) = 2

QUOTE (dhirenshah)
close of current bar is greater then close of previous bar and both candles are red with low of current bar is above the low of previous bar

(O + H + L + C) / 4 > (O1 + H1 + L1 + C1) / 4 AND TrueInRow(H < (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 2) = 2 AND LEAST(L, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) > LEAST(L1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)

QUOTE (dhirenshah)
and same thing for inverse using example of "CCL" or ESS "on daily where close of current bar in is below close of previous bar and both bars are green

(O + H + L + C) / 4 < (O1 + H1 + L1 + C1) / 4 AND TrueInRow(L > (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 2) = 2

QUOTE (dhirenshah)
b) close of current bar is below close of previous bar and both are green with current bar high is lower then high of previous bar using HA open close candles,

(O + H + L + C) / 4 < (O1 + H1 + L1 + C1) / 4 AND TrueInRow(L > (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4, 2) = 2 AND GREATEST(H, (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4) < GREATEST(H1, (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dhirenshah
Posted : Tuesday, March 21, 2017 1:16:40 PM
Gold Customer Gold Customer

Joined: 3/10/2012
Posts: 225

Thank you very much Bruce, all formulas work perfect, 

On another context does V17 has capabality of doing multi time frame match of indicator lines in Ichimoku ?? by that what i mean is weekly Tenkan matching to Daily Kijun and lead span B on 4 hour with values at some of point of the respective time frame charts so to get support and resistance in multi timeframes.. 

So example BBY on weekly has Tenkan value of $44.06 that on daily matches in past kijun value of $44.06 and on 4 hour that matches forward lead span B value of $44.06 

I can do visually but if  it automates its easy trading at that levels....

regards

Dhiren

 

Bruce_L
Posted : Tuesday, March 21, 2017 1:18:57 PM


Worden Trainer

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

No, it does not.



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