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

    Salut Doc,

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

    Cdt.

     

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

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

  2. Rohan • 19 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 • 19 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 • 19 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 • 16 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 • 6 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 • 9 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 • 9 days ago #

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

  7. Jake26 • 6 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 • 5 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 • 5 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

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Very interesting and clever. Well done. I'm looking further for your next contribution :)
Rohan Thanks Nicolas :-)
Souk Diaby Thanks a lot, will check this indicator asap :) have a nice trading day
Rohan Pleasure Souk, please let me know if you have ideas to improve it. I am trying to incorporat...
Doctrading Nice Job ! Here is my version of the code :  KBO = 0 Tenkansen = (highest[9](high)+lowe...
Nicolas Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
triss1965@gmail.com The code dose not work   Syntax error: line 2, character 12One of the following chara...
triss1965@gmail.com why do I get error ond line whit DAX? Eihter cod works. Can you chare the file?
Elsborgtrading Hi Triss. the File is in the post for download. There is nothing wrong with the code. Your e...
ALE Hello Luca,no this strategy is overfitted. 
traderfred Hello ALE is that mean you are not going to use it live? I don't understand what is "overf...
ALE Hello Traderfed, because it run many operations over the past three years, instead of havin...
Nicolas
4 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
4 months ago
Cosmic1 Hi Yngve, Amplitude relates to the range of the price action for the given times stipulated...
GAMMA I try as per your advise and change the time to usa time still no luck, may be I am doing so...
Cosmic1 Post the code you are using, will try and figure it out. What broker?
Elsborgtrading Hi Nicolas, and thanks for updating the file. When I backtest the code now I get a complete...
Elsborgtrading Hi Nicolas. I made a mistake. a FTSE chart had sneaked under the DAX and when backtesting I ...
Nicolas "set stop loss" are individual for each order with IG.
Cosmic1
5 months ago
Cosmic1 Hi Vish, Yes it was a good Thursday and Friday where between DAX and DOW breakout +800 point...
JakeDB I cannot get my time conversions correct for Sydney Australia to get any data for this code....
Cosmic1 @JadeDB What times are you putting in?
grizzly Great work - i use the cloud in some of my auto systems and very reliable.
Dymjohn Thanks for the comment grizzly, I like the look of your position sizing coding but won't use...
Elsborgtrading Hi John, and nice to see you took the Ichimoku a step further:-) One thing though, I think t...
Doctrading Hello, As I said, I didn't use spread for the screenshot as I don't trade Gold and I don't ...
smurfy Hi, I had been losing on gold and after I manually go through the 5min chart using IG and w...
Reiner
7 months ago
Pathfinder DAX 4H
Pathfinder DAX 4H
183
Strategies
Bandido Emanuele, vai nel forum e troverai di tutto e di più ;-)
Reiner Hi Emanuele and welcome, You'll find the latest versions at the first post in the related f...
volpiemanuele Tanks, if I want to enter in a market only with 1 lot do you confirm that I cam modify only ...
GraHal I adjusted for GMT (minus 1 hour on all times) ... no trades. Might it be because the code ...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
Obiwano Dear Adolfo, Have you been trading this strategy now in real?  What is the outcome?  Which ...
ernesto Hey it doesn't work there are not any buy or sell.
verdi55 Result now : a loss of 1080 Euros in the past 8 months. Were there some parameters over-opti...
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Adolfo Onrubia Hi, fisrtly thanks for your interest on it. :) Variable "c" is to set your initial capital ...
Adolfo Onrubia Ups! Sorry. Variable "S" is to set an specific Spread if needed. Could be "0", or the distan...
GraHal Hi Adolfo, big thank you for your code, but I am a bit confused. Spread is the difference b...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?

Top