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?

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

  1. LouRichard • 17 days ago #

    Hello, the result on my plateform is totaly different…

  2. Jan Wind • 16 days ago #

    Hallo LouRichard,

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

  3. Jan Wind • 10 days ago #

    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 • 20 hours ago #

    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

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
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 ;)
quibe56 Bonjour, à priori les couleurs pour le Katana ne fonctionnent pas ( départ haussier ou élan...
swapping Bonjour quibe56, n'ayant pas rencontré ce défaut je continu néanmoins à structurer le code p...
juanj @zebra would you be so kind as to post your latest 4H USD/JPY results here: https://www.pror...
Holy Grail Thank you juanj for sharing this code, Backtests looks great in USDJPY and Crude Oil Is a...
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
gabri
2 years ago
gabri You are welcome!!
Jérôme Dumortier Thank's a lot !!!
Gaby333 Thanks Mate
Rafa
2 years ago
Eusebio Garcia Nuez tambien con que indicador se puede compaginar el ichimoku
Rafa El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
Rafa El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
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...
inavsan ¿Puede ser que estén cambiados los conceptos alcista y bajista?
Rafa Hay una actualización de esta estrategia. Si miras mis posts es más robusta el screener. Un ...
Iber0 Asi quedaria con el spread de IG [IMG]http://i65.tinypic.com/2418ism.jpg[/IMG]
avatar
bjoern Seems to work nice on BUND - M15 with SL 70 and TP 120
hvluthy@sunrise.ch I tried to backtest this code but don't get any restults. Can any body help me?
Rohan
2 years ago
Newtrader Thanks. The indicator is great. It has a great potential.
gabri Great job!! I love everything that involve Ichimoku. Did you think about changing the line t...
Rohan Thanx gabri. Yes I did play around with the offset. It works but I like the "earlier" warnin...
gabri Ichimoku is one of the best trend indicator ever together with the Guppy EMA's. I agree with...
primo1 thanks
traderkarnik Rohan, Have you tried encorporating momentum indicator? if waiting for future cross in your...
pascal3431 Salut Doc , Je ne vois pas ce qui fait office de stop dans ce code .. un retour dans le nua...
Doctrading Bonjour, Il s'agit juste d'une stratégie où on est toujours en position : soit à l'achat / ...
pascal3431 Bonjour, après quelques essais sur EUR/USD au M15 en rajoutant(car sinon on est en perte) u...
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...
sourberry Thank you , this is a great indicator works beautifully. Could you kindly modify to scr...
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...
mcha bonjour, merci pour cet échange mais il me semble que ce twist des SSA  et SSB serait plus ...
Pasq Concernant la remarque précédente, il est possible de remplacer les 2 lignes de code de cett...
Nicolas Merci Pasq. On peut retrouver ce code corrigé sur le forum, je viens d'en retrouver un exemp...
Sebausse I have corrected the code which was only returning "buy" condition: Tenkansen = (highest[...
Domingos Amoedo Hello, thanks for this code. I need to change the c5 and c5v conditions for this ones: C...
Ronny Should C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26] be C5 = Chikou > SSpanA and...

Top