One of the most valuable stop losses (Based on Ichimoku and ATR)

One of the most valuable stop losses (Based on Ichimoku and ATR)

This indicator is using the mean of Ichimoku Kijun of periods 9 and 26. That value is smoothed with a triangular average. Then 89% of the ATR 14 periods is added and subtract to create the long and short stoploss lines you can see on the picture.

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. Zigo • 01/12/2021 #

    Depending the timeframe, a variable could be built in as factor (f) to varies the weight of the ATR. Replace 0.89 in the code at line 12 and 13 to (f).

  2. DimKar • 01/12/2021 #

    Thank you very much for sharing great job !!!!

  3. DimKar • 01/12/2021 #

    Dear Zigo please can you help me ? it must be easy for you … I need to plot a mid line between these 2 lines …For example if the red line is at 1300 and the green line is at 1250 then the mid line = (1300+1250)/2=1275 The mid line should be very thick and different color
    So PLEASE can you tell me what line should i add to your code ? Many Thanks
    Best Regards
    Dimitris ( from Greece )

    • Zigo • 01/12/2021 #

      Zou je graag helpen, maar mijn computer is in onderhoud. Einde deze week, kan ik hopelijk terug werken!

    • Zigo • 01/12/2021 #

      @ DimKar
      Midline = (stlong + stshort)/2

      Return stLong coloured(0,255,0) as”StopLong”, Midline coloured (100,255,255,175)style (line ) as ” MeanLine”, Stshort coloured(255,0,0) as “StopShort”

  4. DimKar • 01/12/2021 #

    Dear Zigo thank you very much for your answer !!!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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...
denmar Hi Could somebody please enlighten me how this code operates. I wish to use the code (is...
denmar Testing email notification to Denmar
David Black #gm74 Did you ever get this figured out? gm74
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 ...
GraHal Hi Nicolas I like this and would like to understand it fully so please forgive the (maybe) d...
Nicolas Hi GraHal, the Factor parameter is only a multiplier of the ATR that is added or subtracted ...
GraHal Nicolas, thank you for your useful and informative response. Yes I optimise using ProBackte...
sr021 Hi I tried to copy and paste the code, but recieve the message  : Syntax error:The followi...
Nicolas Hello, of course. You have 3 options : 1/ you download the file and import it into your plat...

Top