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
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...
XXXXVII Great job! Indeed it leaves to think ..
Jigsaw20000 Bonjour, vous auriez un conseil pour régler l'affichage de l'indicateur ? les textes s'affic...
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
CaptainCaveman I am reluctant to say this buy I was a member of Dr Elder trading group for a while . The fa...
micquan The design is too complex and the performance is low.
gabri
6 years ago
Jérôme Dumortier Thank's a lot !!!
Gaby333 Thanks Mate
Usul83 Do not understand the specifications
gblast I added this indicator to my pro real time but its not showing up on my candles. Its invisible
Rafa
7 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...
Rafa Hay una actualización de esta estrategia. Si miras mis posts es más robusta el screener. Un ...
javier.puig.rovira@gmail.com Cruce te refieres a: Tenkan Sen, con Kijun Sen?
Rafa Hola Javier, Perdona pero no entiendo tu pregunta, no veo ninguna variable que sea solo "cru...
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
7 years ago
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...
Dom Dominics Hi, Is this code can be used for MT4 ?
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...
pp_playaflamenca Excuse me,... reading your code about spanB: [ SenkouSpanBFutureW = (Highest[SenkouSpanPerio...
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...
swede_trader It doesn't generate anything for me. And I can't debug it, any tips?
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...
Ronny Should C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26] be C5 = Chikou > SSpanA and...
Emperor.it Chikou = close[26] it's a mistake. Chikou Span is today's closing moved back 26 periods. It...
Nicolas Indeed, there is a mistake in that code. It is often the case when using Ichimoku and its tr...
Olivier7 // Original code // Ichimoku Tenkan-Kijun Cross (screener) // https://www.prorealcode.com/...
ipbvba erreur dans le code en ligne 2
mvinter Hi Doctrading im trying to use your tenkansen Kijunsen crossover screener but keep getting ...

Top