An Ichimoku Strategy

An Ichimoku Strategy

I like the trading concept of Ichimoku.                               (However the developed Ichimoku Strategy needs to perform better..)

The concept is explained at https://www.investopedia.com/terms/i/ichimoku-cloud.asp

Furthermore I saw some of the learning videos about Ichimoku from Karen Peloille, and an strategy https://www.prorealcode.com/topic/ichimoku-strategy/  on this platform

Searching on the internet I found a strategy fully based upon Ichimoku trading, this has been worked out in the strategy attached.

Distinguished are TenkanSen, KijunSen, Senkou Span A and Senkou Span B

  • TenkanSen = (highest[S](high)+lowest[S](low))/2  //Default setting S = 9
  • KijunSen  = (highest[M](high)+lowest[M](low))/2  // Default setting M = 26
  • SenkouSpanA  = (Tenkansen[M]+Kijunsen[M])/2  //Default setting M = 26
  • SenkouSpanB  = (highest[L](High[M])+lowest[L](Low[M]))/2  //Default setting L =52

Trading rules can be described as follows:

Open LONG BUY conditions :

  1.  Tenkan Sen crosses over the Kijun Sen AND
  2.  Close is within 4 periods after the crossing above the Kumo (cloud), defined as Maximum (SenkouSpanA, SenkouSpanB)

Open SHORT SELL conditions :

  1.  Tenkan Sen crosses under the Kijun Sen AND
  2.  lose is within 4 periods after the crossing BELOW the Kumo (cloud), defined as the Minimum (SenkouSpanA, SenkouSpanB)

The exit in for strategy is defined for long positions as when the TenkanSen crosses under the Kijunsen, vice versa for short positions.

I added 2 additional exit methods, below described for long positions, vice versa for short positions:

  • Method 2  if the close closes under the upper side of the Kumo / Cloud, based upon the SenkouSpanA
  • Method 3  if close closes under the lower side of the Kumo / Cloud, based upon the SenkouSpanB

However:

The default settings 9 for TenkanSen, 26 for KijunSen and 52 for SenkouSpanB do not seen to be profitable.

Therefore I played around with the default settings as well as the exit method.

In the attached ITF file with the strategy, I have left the variables S, M, L and cm (closing method) open as variables.

A result is found for the DAX 5 minutes, see also the screenshots, based upon 10.000 bars of the DAX 5 minutes with trading hours from 7:00 AM till 22:00 PM, settings are S =7, M = 14, L = 55 and cm is 1

No good results found so far for other indices and other periods . . . . .

Probably more robust trading strategies are out there . . , hopefully it assists into further developing of good Ichimoku trading strategies.

Comments are more than welcome.

Please download the attached ITF file to get the strategy and its variables to be optimized.

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?

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

  1. LouRichard • 06/03/2019 #

    Hello, the result on my plateform is totaly different…

  2. Jan Wind • 06/03/2019 #

    Hallo LouRichard,

    hope your results are better did you use trading hours from 7:00 AM till 22:00 PM ?

  3. Jan Wind • 06/03/2019 #

    GraHal, (very) glad to hear that you found it reasonably working for the DJI !

    You could post any findings on :
    https://www.prorealcode.com/topic/discussion-on-ichimoku-strategy/

    (not sure why it can not here, presumably because not attachments can be made ?)

  4. allanrobinson • 06/03/2019 #

    Hi
    Thank you for this. I have replaced the S, M, L and cm with backtested figures in preparation for automatic testing but the program still requests me to replace the backtested variables. Not sure how to get this right. I am a prorealtime newbie. Perhaps I could export the code for you to show me where I am going wrong.
    Kind Regards
    Allan

  5. gabri • 06/03/2019 #

    Hi, I would recommend to try some other entry criteria: 1) chikou crossing over max(spanA,spanB). 2)double cross of close above Tenkan and Chikou over Tenkan. This two are the most effective entries I know.

  6. 693579 • 06/03/2019 #

    As Allanrobison pointed out….. After setting Variable, “summation” from pro builder needs to be replaced with a pro order action, what is this please!

  7. Bard • 06/03/2019 #

    Thanks for this Ichimoku strategy Jan, I wonder now, how this strategy would benefit if the S, M and L values were self optimised with Machine Leaning. Did you ever try that?

  8. vinit0412 • 06/03/2019 #

    Hi Friends. Please let me know inbuilt variable which contains current market price.
    I need to compare that with moving average for my exit strategy

  9. Kovit • 06/03/2019 #

    Hi guys, please could someone help with a bit of Ichimoku code that will improve performance on DJ long positions Ive added the indicator to my chart but when asked to select the indicator in the chart which Ive previously applied to price and is showing clearly it doesn’t give me the option to select it from the listed indicators so not able to use basic new system coding to give me a start. Thanks in advance.

  10. Kovit • 06/03/2019 #

    lol I should be more exact with my wording, more accurately I was looking for an indicator that will help better placement of long positions on dj and thought I’d try ichimoku but any and all advice welcome.

  11. jm121212 • 06/03/2019 #

    how can we change the default settings?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
khashayar
2 years ago
ichimoku soft
ichimoku soft
2
Indicators
DELBERT Bonjour , je voudrais savoir si votre indicateur peut être installé sur PRT V.10.3 ou s'il e...
khashayar Hi I wrote for version 11. But I think it works for version 10.3 as well. Thanks
Boris Hi IVMcm, thanks for your amazing work. I have tested all of your indicators and use some of...
IV Mcm With pleasure and thanks!
ashiash how to use this indicator can i use tradingview platform
Maxime Baudin Merci l'ami, passe une bonne semaine
IV Mcm Merci de même ;)
Zigo Zou je graag helpen, maar mijn computer is in onderhoud. Einde deze week, kan ik hopelijk te...
Zigo @ DimKar Midline = (stlong + stshort)/2 Return stLong coloured(0,255,0) as"StopLong", M...
DimKar Dear Zigo thank you very much for your answer !!!
IV Mcm Line 68 and 70, you must delete the instruction at the end of the line "" Bordercolor(0,0,0,...
BoutDePain This instruction is for the V11 maybe that you are using V10.3 then you can safely remove it.
Protagonist Bonjour, Je vois l'instruction inRange mais je ne trouve pas sa signification. Pouvez-vous...
fazel53 How do i attach this indicator to my mt5 platform?
Nicolas You can't! All indicators here are for ProRealTime trading platform: https://www.prorealtime...
jonny.cash the chikou is 26 periods behind current price, it's not the close
Nicolas Chikou is the current Close decayed 26 periods in the past of the chart.
jonny.cash yes, thanks for the correction. my post was complete rubbish
Nicolas le code est déjà sur cette page, inutile de fournir un autre format ?! Les fichiers itf sont...
Novice-Surfer Hello IV Mcm, You are my leader ! Your work is incredibly precise, thank you very much f...
Mikolajek Merci pour votre excellent travail !
IV Mcm Bonjour, Je ne reconnais pas cette ligne dans le code, essayer de télécharger directement le...
Manu L. Bonjour, Possible de créer un screnner multiframe Mois dans Ichimoku semaine dans Ichimok...
Zigo
4 years ago
denmar Neat. Thanks.
Zigo Line 39 TS has to be KS Line 41 TS has to be KS
cristofer Same here, as the long version, adding SMA200: sma200 = Average[200](Close) > Close ...
cristofer mate, I just realised that the formula for TenakanSen is wrong, it should be: TS=(highe...
cristofer Very nice! thanks for sharing this. I added (as a personal preference) that the Close mus...
cristofer same here with the TS formula: TS=(highest[9](high) + highest[9](low))/2 source: h...
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
pat95162 Salut Pourquoi je n'ai pas les même résultats que vous
UkCoopDownUnder Any hints for us, on which variables we should be optimising ? As of November 2020, the cu...
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site -> https://fr.piliapp.com/symbol/
marcosamo Hello and thank you for this indicator, I have a small problem, it only shows the pawn at th...
marcosamo in fact I just saw a rider, so everything works sorry for my previous question
swapping perfect marcosamo, coupled with ichimoku-price-pattern this is better ;)

Top