There are many ichimoku strategies, indicators and screeners around, but none of them aren’t accurately taking the entry because of them ignoring what the lagging span ( Chikou) is doing.
I think Chikou is very important to avoid fakeouts
It would be great if someone can help me code this strategy –
BUY Long, if
- Price is above kumo cloud
- kumo cloud is green(bullish) ahead
- tenkan > kinjun
- lagging span(chikou) rises over the cloud
SELL Short, if
exact opposite of Buy long
Stop Loss,
Set if below lowest point of last 5 candles
Thanks in advance. 🙂
Boonet,
i agree, the position of the chikou is important.
you want to open position when the chikou crosses out from kumo ?
i first code this indicator to check your condition.
is that this code matches your request ?
INDICATEUR = 0
Tenkansen1 = (highest[9](high)+lowest[9](low))/2
Kijunsen1 = (highest[26](high)+lowest[26](low))/2
SSpanA = (tenkansen1[26]+kijunsen1[26])/2
SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
Chikou = close // 26 périodes auparavant
// BUY
C1b = SSpanA > SSpanB
C2b = Kijunsen1 > SSpanA and Kijunsen1 > SSpanB
C3b = Tenkansen1 > Kijunsen1
C4b = Chikou crosses over SSpanA[26]
IF C1b and C2b and C3b and C4b THEN
INDICATEUR = 1
ENDIF
// Short
C1s = SSpanA < SSpanB
C2s = Kijunsen1 < SSpanA and Kijunsen1 < SSpanB
C3s = Tenkansen1 < SSpanA and Tenkansen1 < SSpanB
C4s = Chikou crosses under SSpanB[26]
IF C1s and C2s and C3s and C4s THEN
INDICATEUR = -1
ENDIF
return indicateur as "indicateur"
I think you also should look at chikou greater than close also for short example on 1-x bars meaning its a downtrend/uptrend if close greater than chikou. You can also work with MTF to add other indicators for bigger tf.
Thanks a lot @brunodavid,
Exactly what I wanted. 🙂
@Franco , yes running it on MTF is the plan. I will let you know how it goes.
Thanks again @brunodavid.
Boonet if you have something that i can work on tell me.