# 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:

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.

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

Hello, the result on my plateform is totaly different…

2. • 302 days ago #

Hallo LouRichard,

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

3. • 296 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. • 287 days 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

5. • 266 days ago #

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

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

Register or

#### Likes

Related users ' posts
Zigo
2 months ago
0
Screeners
Zigo
2 months ago
0
Screeners
tba69
9 months ago
30
Strategies
Since july 24th it's doing well. Started with a longer drawdown than expected but now it's 1...
Gubben do we have a progress report?
So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
swapping
11 months ago
v10.3
2
Indicators
hi there, how do you get the images of the knights etc into your code....and is there anywhe...
hello robert123, on this site -> https://fr.piliapp.com/symbol/
swapping
11 months ago
3
Indicators
Hello and thank you for this indicator, I have a small problem, it only shows the pawn at th...
in fact I just saw a rider, so everything works sorry for my previous question
perfect marcosamo, coupled with ichimoku-price-pattern this is better ;)
swapping
11 months ago
v10.3
2
Indicators
Bonjour, à priori les couleurs pour le Katana ne fonctionnent pas ( départ haussier ou élan...
Bonjour quibe56, n'ayant pas rencontré ce défaut je continu néanmoins à structurer le code p...
swapping
12 months ago
v10.3
0
Indicators
juanj
1 year ago
18
Strategies
@zebra would you be so kind as to post your latest 4H USD/JPY results here: https://www.pror...
Thank you juanj for sharing this code, Backtests looks great in USDJPY and Crude Oil Is a...
@Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
gabri
2 years ago
4
Screeners
You are welcome!!
Thank's a lot !!!
Thanks Mate
Despair
3 years ago
v10.3
0
Indicators
Rafa
3 years ago
13
Screeners
tambien con que indicador se puede compaginar el ichimoku
El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
El chivato es el propio SCREENER, aparece cuando las condiciones se cumplen. Y se pueden com...
juanj
3 years ago
14
Strategies
Thanks, only saw it just now.
Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is...
Rafa
3 years ago
4
Screeners
Hay una actualización de esta estrategia. Si miras mis posts es más robusta el screener. Un ...
Cruce te refieres a: Tenkan Sen, con Kijun Sen?
Hola Javier, Perdona pero no entiendo tu pregunta, no veo ninguna variable que sea solo "cru...
Raul Vg
3 years ago
9
Strategies
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
I tried to backtest this code but don't get any restults. Can any body help me?
Rohan
3 years ago
6
Indicators
Great job!! I love everything that involve Ichimoku. Did you think about changing the line t...
Thanx gabri. Yes I did play around with the offset. It works but I like the "earlier" warnin...
Hi, Is this code can be used for MT4 ?
Rohan
3 years ago
9
Indicators
Ichimoku is one of the best trend indicator ever together with the Guppy EMA's. I agree with...
thanks
Rohan, Have you tried encorporating momentum indicator? if waiting for future cross in your...
3 years ago
16
Strategies
Salut Doc , Je ne vois pas ce qui fait office de stop dans ce code .. un retour dans le nua...
Bonjour, Il s'agit juste d'une stratégie où on est toujours en position : soit à l'achat / ...
Bonjour, après quelques essais sur EUR/USD au M15 en rajoutant(car sinon on est en perte) u...
Bovetes
3 years ago
2
Indicators
Nice Job ! Here is my version of the code :  KBO = 0 Tenkansen = (highest[9](high)+lowe...
Thanks for this code. The only thing left missing is the time lapse, otherwise, lots of old...
tasciccac
3 years ago
2
Screeners
Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
Thank you , this is a great indicator works beautifully. Could you kindly modify to scr...
RichardFernie
4 years ago
0
Indicators

Top