Help coding – Ichimoku Strategy
Forums › ProRealTime English forum › ProOrder support › Help coding – Ichimoku Strategy
- This topic has 4 replies, 3 voices, and was last updated 5 years ago by
deleted23092025.
-
-
07/18/2020 at 4:14 PM #139584
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. 🙂
07/18/2020 at 6:14 PM #139589Boonet,
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 ?
123456789101112131415161718192021222324INDICATEUR = 0Tenkansen1 = (highest[9](high)+lowest[9](low))/2Kijunsen1 = (highest[26](high)+lowest[26](low))/2SSpanA = (tenkansen1[26]+kijunsen1[26])/2SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2Chikou = close // 26 périodes auparavant// BUYC1b = SSpanA > SSpanBC2b = Kijunsen1 > SSpanA and Kijunsen1 > SSpanBC3b = Tenkansen1 > Kijunsen1C4b = Chikou crosses over SSpanA[26]IF C1b and C2b and C3b and C4b THENINDICATEUR = 1ENDIF// ShortC1s = SSpanA < SSpanBC2s = Kijunsen1 < SSpanA and Kijunsen1 < SSpanBC3s = Tenkansen1 < SSpanA and Tenkansen1 < SSpanBC4s = Chikou crosses under SSpanB[26]IF C1s and C2s and C3s and C4s THENINDICATEUR = -1ENDIFreturn indicateur as "indicateur"07/18/2020 at 6:17 PM #139590I 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.
07/18/2020 at 11:42 PM #139594Thanks 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.
07/19/2020 at 1:11 PM #139613Boonet if you have something that i can work on tell me.
-
AuthorPosts
