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?

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

  1. juanj • 345 days ago #

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

  2. CKW • 323 days ago #

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

  3. juanj • 322 days ago #

    @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 • 322 days ago #

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

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

    • nwesterhuijs • 243 days ago #

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

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

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

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

  7. Henrik Eriksson Viklund • 297 days ago #

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

  8. juanj • 243 days ago #

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

  9. juanj • 242 days ago #

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

  10. Louwrens • 97 days ago #

    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
Related users ' posts
criscolci Thanks a lot!
Bard Cheers for doing Ehler's latest indicator Despair, much appreciated.
juanj If I run the backtest with a zero spread the backtested result look similar to your screensh...
Eric If you have a high percentage winners and the trades are closed with take profit the spread ...
Casenova I Agree with you JaunJ, and Yes Eric, what you say makes sense too. Optimizing the Stop Loss...
Toto le Heros Thanks Nicolas. I read somewhere that in the calculation, we should round the value of the A...
Nicolas aADX = round(adx[10])
Daniel da Costa Thanks Doc! Where can you find a service for Dax with a 1 point spread?
Doctrading Hello. I suggest you : ProRealTime CFD, or IG. Best regards,
JanWd Hey Doctrading, I tried your code, optimising the A and V and the RSI period, see below. ...
Matriciel
2 months ago
Alai-n Thanks...
Nicolas
3 months ago
hartgeld Hallo Nicolas, ein sehr guter Indikator, vielen Dank! Leider rechnet er bei mir nicht die Pe...
Nicolas Changer la base de périodes du RSI original ? Le RSI a du "retard" puisqu'il est toujours né...
macbartin merci, je voulais savoir quel paramètre il faut modifier sur votre indicateur pour le modifi...
Nicolas Cet indicateur est dynamique, il n'utilise pas de période fixe
styrke Hello Nicolas, Nice screener, I appreciate the way you always try to condense at maximum th...
Nicolas There's no particular reason. RSI is widely use with its default period and results seems re...
MaoRai54 Hi, first of all Happy New Year. Well, I've inserted your indicator in DAX 1h but I cann...
Vinks_o_7 Hi Mao Happy New Year ! This is just an improved RSI where you plot a standard price momen...
Angel Perez Ciao Francesco. First of all thanks for the indicator and also fro the screener. I do have a...
fabioerliam Grazie! Buona giornata
fabioerliam Ciao Francesco! Ti disturbo ancora per chiederti se conosci o se eventualmente pensi si poss...
fabioerliam P.s. ho provato a togliere le divergenze nascoste (hd) dall'indicatore, ma nonostante inseri...
Nicolas
5 months ago
TradeNavigator RSI
TradeNavigator RSI
10
Indicators
Nicolas Tutte le impostazioni che hanno la parola "period" sono quelle dedicate ai periodi di cambio...
GianfrancoCeck Le chiedo una ultima cosa, ossia se è possibile personalizzare l'indicatore con una scritta ...
Nicolas Spiacente che non sia possibile, le coordinate grafiche non sono in pixel ma nel prezzo e ne...
gabri
5 months ago
Andyswede Really nice one! Thank´s a lot :)
gabri You are welcome!!
juanj Definitely, need to code this into an automated strategy.
Marc Boliart dear nicolas, tyvm for your indicators and strategies, i have this following error when i ch...
Nicolas Your picture is too small, but for sure the problem is about the fact you are still using v1...
edocasa CIAO , SCUSA SE TI CONTATTO,VOLEVO SAPERE SE SEI UN PROGRAMMATORE,NELCASO SE SARESTI DI...
gabri Non sono un genio ma so fare qualcosa. Posso provare ad aiutarti ma se e' troppo complicato ...
Jessar Hello, could you tell me how to use this indicator? I think the simplest things can still be...

Top