The “Ichimoku KBO Chikou” trading strategy

The “Ichimoku KBO Chikou” trading strategy

Hello everyone,

I particularly like to do some studies on the Ichimoku indicator.

There are many strategic possibilities, and unlike some preconceived ideas, it is quite possible to develop automated trading strategies based on this indicator and some predefined rules.

Here, I will present you a very simple strategy, that can surprise by its effectiveness in many conditions.

Indeed, you will find that the result is mostly profitable over the long term (even if the curve of capital evolution is not always beautiful), whatever the stock / index / forex pair, and the timeframe.

I found that this strategy works rather well on the CFD associated with the DAX, in M15 graphs.

Of course, this strategy is far from being a panacea, but it has the merit of attracting our attention and being able to be developed. There must be many opportunities for improvement.

The rules are simple :

BUY if:

  • the price is above the kumo (either it was already,

    Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. PRT_kok • 12/30/2016 #

    Salut Doc,
    T’aurais pas fait une erreur dans ton code à la ligne 13 ? -:)
    Cdt.
     

    • Nicolas • 12/30/2016 #

      Non je pense en effet également que la Chikou est bien le Close de la bougie actuelle, mais il est vrai que visuellement celle-ci doit être dessiné 26 bougies en arrière. C’est une discussion que l’on a déjà eu dans d’autres sujets sur le forum, ça prête à confusion très souvent 🙂

    • PRT_kok • 12/30/2016 #

      En effet, c’est l’affectation Chikou=close qui m’a induit en erreur…

  2. Rohan • 12/30/2016 #

    // Excusez mon français, j’utilise Google Translate 🙂
    Hallo Doctrading,Je suis entièrement d’accord avec vous, l’Ichimoku peut être quantifiée. Je suis nouveau à ProRealTime et a passé les derniers mois à apprendre, mais j’ai créé quelques indicateurs Ichimoku (y compris l’oscillateur de profondeur Kumo, Tenken Kijun pondérée MACD, Kijun profit prendre les canaux, Kijun oscillateur etc).
    Merci pour votre post, je vais lire toutes vos études Ichimoku et publier 🙂
    Cordialement

    • Nicolas • 12/30/2016 #

      Even if Doctrading is French, you can speak English on this website, this is the main language used here 🙂
      I’m really interested into your Ichimoku derived indicators’codes, don’t be shy and post them into the Library for everyone’s benefit 😉

  3. Doctrading • 12/30/2016 #

    Bonjour,
     
    merci pour votre message;
     
    Il n’y a pas d’erreur, la valeur du chikou est bien celle du cours, c’est juste la visualisation en décalage 26 périodes auparavant qui change.
    Mais on considère bien la valeur du chikou (clôture actuelle), par rapport au kumo 26 périodes auparavant.
     
    Je vous souhaite d’excellentes fêtes de fin d’année.
    A bientôt,
    Bien cordialement,

  4. Joachim Nilsson • 12/30/2016 #

    Hello guys!
    I´m pretty new to this but dosen´t this code take long and short position at the same time? If I add this peace of code I get a very different result. Am I wrong?
    //////////////

    IF not shortonmarket and ca1 and ca2 THEN

    buy at market

    ENDIF

    IF not longonmarket and cv1 and cv2 THEN

    sellshort at market

    ENDIF
     

    • David • 12/30/2016 #

      Joachim it doesn’t have long or short positions at the same time it’s not possible on PRT currently. It’s saying check which position side is open and if it is don’t take the opposite. Only take a position if the opposite isn’t open. 

  5. Matriciel • 12/30/2016 #

    Bonjour Doctrading,
    Merci pour votre travail et d’avoir partagé votre stratégie de trading.
    Je me suis permis d’apporter quelques rajouts à votre code initial et de ce fait éviter les frais intradays inhérents.
    Bien à vous.
    DJ
     
    Defparam cumulateorders = false
    Defparam flatafter = 234500

    // INDICATEURS

    Tenkansen = (highest[9](high)+lowest[9](low))/2
    Kijunsen = (highest[30](high)+lowest[30](low))/2
    SSpanA = (tenkansen[26]+kijunsen[26])/2
    SSpanB = (highest[56](high[23])+lowest[56](low[23]))/2
    chikou = close
    n = 32 //32
    na = 34 //34
    nb = 34 //34
    n1 = 1 //1

    // POSITION KUMO

    // ACHAT
    ca1 = (close[n] > SSpanA[na] and SSpanA[na] > SSpanB[nb]) or (close[n] > SSpanB[nb] and SSpanB[nb] > SSpanA[na])

    // VENTE
    cv1 = (close[n] < SSpanA[na] and SSpanA[na] < SSpanB[nb]) or (close[n] < SSpanB[nb] and SSpanB[nb] < SSpanA[na])

    ///////////////

    // POSITION CHIKOU

    // ACHAT
    ca2 = Chikou > SSpanA[n1] and Chikou > SSpanB[n1]

    // VENTE
    cv2 = Chikou < SSpanA[n1] and Chikou < SSpanB[n1]

    //////////////

    IF time > 080000 and time < 194500 and ca1 and ca2 THEN
    buy at market
    ENDIF

    IF time > 080000 and time < 194500 and cv1 and cv2 THEN
    sellshort at market
    ENDIF
     

  6. Matriciel • 12/30/2016 #

    Oups…Je voulais dire éviter les frais overnight ! 🙂

  7. Jake26 • 12/30/2016 #

    Thanks for sharing your work with this code, Doc.
    Impressive results in backtests with short timeframes! I trade forex and this works particularly well with EUR/USD and GBP/USD, which interests me. The code posted by Matriciel also shows promising results in backtest too. I’m new to PRT and have never coded, so am unsure what the difference is between the original code and Matriciel’s regarding trade execution. 
    This is probably a silly question but is there a way to change the position size (currency unit / point) as it appears to be fixed? 
    Also, is anyone live trading this; do you have performance statistics you could kindly share?
    Many thanks,
    Jake

  8. Doctrading • 12/30/2016 #

    Hello,
    Actually I’m not trading this strategy.
    I’m looking to make a good automated trading strategy with Ichimoku. But only Kumo breakout and Chikou won’t do it…
    I must work !
    Best regards,

  9. Rohan • 12/30/2016 #

    Hello Doctrading, 
    I am also very interested in the Ichimoku (I am trading it but discretionary and not automated). 
    Would you like to form a collaboration in a forum and design a system together?Because I agree, using only Kumo and Chikou does not trade well in all markets conditions/instruments.
    Kind regards

  10. pascal3431 • 12/30/2016 #

    Salut Doc ,
    Je ne vois pas ce qui fait office de stop dans ce code .. un retour dans le nuage ?

    • Doctrading • 12/30/2016 #

      Bonjour,
      Il s’agit juste d’une stratégie où on est toujours en position : soit à l’achat / soit à la vente. Donc pas de stop loss.
      Un sujet d’étude… qui doit être améliorable.

  11. pascal3431 • 12/30/2016 #

    Bonjour,
    après quelques essais sur EUR/USD au M15 en rajoutant(car sinon on est en perte) un STOP LOSS et un TARGET PROFIT je n’arrive pas à mieux que 5,33% sur les 2 dernières années …

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas
2 weeks ago
swapping Toujours aussi prolifique Nicolas ;) Ce sera donc du Darvas à la sauce Forex, excellent je ...
juanj Kinda reminds me of Renko Trading
gabri
2 months ago
Andyswede Really nice one! Thank´s a lot :)
gabri You are welcome!!
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
wintreb Un outil très visuel et utile Merci
darbes Hi Nicolas How could I use the indicator in a strategy ? Coding do not recognize the indica...
Nicolas What do you want to do exactly? Because dots are plotted afterwards..
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...
Jessar Hallo Leute, es wäre interessant aus dieser Strategie mit Hilfe von diesen indikator https:/...
verdi55 Funny. Just try this one on NASDAQ 100 (or any other big index) since 2009. Starting capital...
rama what you see on probacktest is like dreaming on a day time (not even sleep), most of the str...
primo1 Bonjour Nicolas, sur quelle échelle de temps minimum tu utilises l indicateur je pense...
primo1 Bonjour Nicolas Pour créer la strategie comment peux tu traduire l"apparition des points....
Nicolas Exemple dans ce sujet du forum ProOrder : https://www.prorealcode.com/topic/perfect-trend-in...
gabri Hello, I am not sure to understand the screener completely. If you are looking for a screen...
Trading_En_El_Ibex35 El screener no busca acciones que estén en máximos absolutos , busca acciones en las que el...
juanj The last fractal will be coordinate 1 and the high/low of the candle that generates an angle...
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...
Rafa
8 months ago
Rafa I have just realized is not finished yet. If we want to make it complete, we need to compare...
volpiemanuele I have optimized it on Wallstreet cash 1 euro...tf 3h..best result //**********************...
Rafa Thanks a lot.. Best regards  
Wing I do not run this strategy myself, currently. As for why it is not taking trades live: Do yo...
dkinse Hey, Yes it´s running in 30 m timeframe. I had it running and it made two trads in januar...
Wing There's a few threads on the forum about backtest and live trades being different at times. ...
nwesterhuijs Thanks, only saw it just now.
juanj For the latest version and discussions see the Ichimoku thread here: https://www.prorealcod...
Louwrens Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is...
CKW Thanks Francesco for sharing. Equity curve in overall looks great and testing it on demo :)...
Francesco78 Hi CKW thanks for your comment and for spending time on the steategies. The framework is ver...
poonsl2828 Hi! Francesco I have test it on GBP/USD but it only have a trade on 9 Jun which i backtes...

Top