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 • 146 days ago #

    Salut Doc,

    T’aurais pas fait une erreur dans ton code à la ligne 13 ? -:)

    Cdt.

     

    • Nicolas • 146 days ago #

      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 • 146 days ago #

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

  2. Rohan • 146 days ago #

    // 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 • 146 days ago #

      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 • 145 days ago #

    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 • 143 days ago #

    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 • 133 days ago #

      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 • 136 days ago #

    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 • 136 days ago #

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

  7. Jake26 • 132 days ago #

    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 • 132 days ago #

    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 • 132 days ago #

    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 • 114 days ago #

    Salut Doc ,

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

    • Doctrading • 114 days ago #

      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 • 101 days ago #

    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
Related users ' posts
juanj Here are another small tweak (just check Flatafter time as I am in a different timezone); /...
juanj Also change the ATR multiplier to 2 instead of 3. Slightly better drawdown.
GraHal I started he thread below as I get the results shown on image below. Please help on the Foru...
Francesco78 Ciao JR  Francesco here not Ale :)) thanks so much for checking the code, I will have a lo...
JR1976 Ok sorry Francesco :-)  
Francesco78 These are the comparison with my lates version and yours, I think it improves by all the mea...
ALE :-) Wim Thank you!
GDKLockout Hi, Im new to this forum and automated trading, so please excuse the nooby question: If you...
ALE Hello because this trailing stop start next candles if condition is verified.  For more in...
Nicolas What are you calling a finished strategy? This one has been coded by a request on forums, si...
clanli Hi Nicolas Thanks for a fantistic piece of code. I tried the following with really good res...
rama where is Z variable in the program? i want to have look back period says 3 candles. I want...
bluetime6 Hello Nicolas. Can i ask you for something? I backtested your strategy in Dax 4H Timeframe...
Francesco78 Thank you Nicolas,  I have copied your nice indicator, but it shows in the lower part of th...
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!
SAM
3 months ago
Elsborgtrading By adding the inside bar breakout failure candle, which is the next bar after the inside bar...
Iber0 Con esta modificación reinviertes las ganancias y la curva mejora bastante arriesgando menos...
Iber0 Asi quedaria con el spread de IG [IMG]http://i65.tinypic.com/2418ism.jpg[/IMG]
bjoern Seems to work nice on BUND - M15 with SL 70 and TP 120
Rohan
4 months ago
Nicolas Very interesting and clever. Well done. I'm looking further for your next contribution :)
Rohan Thanks Nicolas :-)
Newtrader Thanks. The indicator is great. It has a great potential.
Rohan Good morning, Just to clarify, the main idea here is to compare the cloud directly above/be...
but but clear, it seems to be an interesting idea
Rohan Thanks. It sometimes tests better when you remove the "close" part of the code - only look a...
Doctrading Nice Job ! Here is my version of the code :  KBO = 0 Tenkansen = (highest[9](high)+lowe...
gefinance Thanks for this code. The only thing left missing is the time lapse, otherwise, lots of old...
Nicolas Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
Elsborgtrading Hi Triss. the File is in the post for download. There is nothing wrong with the code. Your e...
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
fepabe Ciao Ale, porta pazienza ma facendo copia incolla del codice non mi restituisce alcun valore...
arke Hi Cosmic, I saw that you are able to do a backtest on DAX in 15Min timeframe till 6 years ...
David Somogyi Hello ALE I've been running your strategy in demo for the last two weeks, but it hasn't ent...
Nicolas
8 months ago
century hi, can we have more explanations please ? about parameters and time unit ? thanks
Nicolas Line 10: Volume of current candlestick must be at least 1.5 higher than the previous one and...
Cosmic1
9 months ago
Cosmic1 Looks like a good bit of code. I will take a look later. I'd really like to get this algo ba...
sammut Hey Cosmic, I am just in the process of re-evaluating my variables due to, as you say, some ...
Cosmic1 Lets discuss here: https://www.prorealcode.com/topic/cac-breakout-ported-to-other-markets/
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
9 months ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...

Top