Ichimoku DM strategy SAF40 – 1 hour

Ichimoku DM strategy SAF40 – 1 hour

I wrote this strategy today after studying some Ichimoku Trading Stategies.

It is mainly based around Ichimoku breakout strategy but also includes checks for Directional Movement and Divergence.

I wrote it for my local market (South Africa 40 Cash) on the 1Hr Timeframe on which it performs okay, which is no mean feat.

But to be completely honest i am disappointed with Ichimoku as an automated strategy in general.

But enough mumbling. Here is the code, maybe someone will find it useful.

Time schedule are adapted to intraday spread (8 points).

 

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. juanj • 06/09/2017 #

    Seems to work well on the DAX as well. Just change the timeframe and Stop pLOSS to ATR*3

  2. CKW • 06/09/2017 #

    Thanks Juanj for sharing this.
    May I know what time frame you have changed for DAX?

  3. juanj • 06/09/2017 #

    @CKW I cannot remember but it is easy to optimize for different time-zones just comment out the Flatbefore and Flatafter times and use variables to search for the best time period. I sometimes just optimize variable x and use 8 for variable y:
    If hour < x or hour > x+y

  4. juanj • 06/09/2017 #

    I actually completely re-wrote this strategy as I found I actually coded it VERY wrong. My new version is in my opinion probably one of the best Ichimoku strategies out there. @Nicholas are there any way I can replace this version?
     

    • Nicolas • 06/09/2017 #

      Please send it to me with the contact form, thanks.

    • nwesterhuijs • 06/09/2017 #

      Juanj, is it possible to just paste the new code in this comment section as some people do, given that it is uncertain at the moment whether or not the code above has been updated?

      Tnx, Norbert

    • nwesterhuijs • 06/09/2017 #

      Did you change the Kijun-Sen to the “Standard Period x 2” and corrected the Senkou-Span B so it is not the same as the Kijun-Sen calculation, but continued the use of the “Standard Period x 3” for the SPAN-B?

  5. Magnus Park • 06/09/2017 #

    Hi! Thanks for sharing! Have the code been swapped to the new one? or is it the first one still in the link?

  6. corne • 06/09/2017 #

    Hi there – is there maybe somewhere a new version available to look at?

  7. Henrik Eriksson Viklund • 06/09/2017 #

    *Bump*
    Have the code been swapped to the new one?

  8. juanj • 06/09/2017 #

    No, this is still the original version. I will post the new version in the forum sometime today and share the link.

  9. juanj • 06/09/2017 #

    For the latest version and discussions see the Ichimoku thread here:
    https://www.prorealcode.com/topic/ichimoku-strategies-general-discussion/#post-46741

  10. Louwrens • 06/09/2017 #

    Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is fine.But I am trying to develop a short term strategy for the SA40 on the 3,5 or 10min timeframe, that trades a few time a day with small gains, that could add up to larger ones. Could you suggest some indicators to use to achieve this? I have played around with the most common ones without success. Stochastic,RSI,MADC etc.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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...
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
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...
JJ Tec Hola. Me gustaría contactar contigo para ver la estrategia..
nilsla1981 Has someone already tested in real ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
AlgoAlex
5 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
Jan
5 years ago
Kovit Hi guys, please could someone help with a bit of Ichimoku code that will improve performance...
Kovit lol I should be more exact with my wording, more accurately I was looking for an indicator t...
jm121212 how can we change the default settings?
jobswaps Sube como trazar lineas de tendencias a tantas barras
Frankiesc interesting indicator !! Thanks for sharing!!!
robertogozzi Thank you :)
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 ;)
Vinks_o_7
5 years ago
IV Mcm I've always wondered how to make the ADX faster, thank you!
Vinks_o_7 You welcome !
Vinks_o_7 Another variation that may be more accurate : we calculate the average of normalized DI's in...
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...
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
HarryPro Hello, Firtly there appears to be a typo on line 6 "lenghkc=20" should this be "lengthkc=...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...

Top