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 avatar
Related users ' posts
Nicolas
8 years ago
GraHal Forked code I mention above is here ... GraHal wrote: So below is the PRC Stochastic RSI v...
GraHal Try again (quite limited what you can do as Comments in the Library) https://www.prorealco...
AutoFlanders Thanks GraHal, that's what i was looking for
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...
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
jeanphi0034 Hello, I would like to use the QQE indicator which is based on smooth RSI as far as I unders...
ilstefano Bonjour Nicolas, te serait il possible de rajouter la fast ATR manquante dans le code? Merci
Nicolas Désolé je ne comprends pas la question ?
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
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?
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
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...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
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 ...
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...

Top