CDC ATR Trailing Stop v2.1

v10.3
CDC ATR Trailing Stop v2.1

Contains two ATR trailing stop lines, fast and slow.
The slow ATR SL line is the same as the one in a normal ATR trailing stop loss indicator.
The fast one is created to generate buy/sell signals (plot arrows on the chart).

The system works well in high volatility market.

(translated from tradingview code, following a request in the Spanish forum).

 

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. zilliq • 04/10/2018 #

    All works in High Volatility Market 😉 Thanks Nicolas and have a nice day

  2. Maik2404 • 04/10/2018 #

    Ich hab mal eine Frage zu deinem Indikator:
    Der Einstieg ist ja über die Pfeile geregelt.Ab wann steige ich aus? Bei Short am Ende der roten Linie?

  3. bezieh • 04/10/2018 #

    Looking good nicolas, although, after i download it and have it as a indicator, what settings should i put in the wizard so it buys and sells as the indicator shows?
    Doesn’t seem to figure out how to do that, thanks 🙂

    • Nicolas • 04/10/2018 #

      Add sSell and sBuy in the RETURN instruction and you should be able to use the indicator in automatic trading.

  4. bezieh • 04/10/2018 #

    I dont understand what you mean.. the code already has “ssell” and “sbuy”..?

    • Nicolas • 04/10/2018 #

      change the RETURN instruction line with this one:
      return ts1 style(point,1) as “Fast Trail”, ts2 coloured(rtrail,gtrail,0) style(line,2) as “Slow Trail”, ssell,sbuy
      Then you’ll be able to use these last variables in any trading strategies, by looking for their values, 1 means a new signal, 0 means no signal.

  5. bezieh • 04/10/2018 #

    Ok, i pressed modify in the indicator, and changed the last return line with that line you sent me. But it’s still an indicator? When i press the wizard to create bot i still have to put in the buy and sell signals, so it still doesn’t work mate

    • Nicolas • 04/10/2018 #

      yes it is still an indicator obviously 🙂 But now you can get the signals (ones with arrows) with the “wizard”, mate. Learn to code and no need of wizard things anymore 😉
      Start with the first course: https://www.prorealcode.com/courses/training-program-introduction-programming-prorealtime/
      the advanced one should come this month.

  6. bezieh • 04/10/2018 #

    Oh okay, and how do i tell the wizard to buy and sell accoring to the arrows, because i only see the option to buy and sell when the indicator is under or over the price, thats the problem :p

    • Nicolas • 04/10/2018 #

      You can also test values of indicator. Equal or not to 1 for example.

  7. bezieh • 04/10/2018 #

    Another question.. is it even needed to learn how to code, even if you seem to have found a good strategy with the wizard? Just because the wizard is simple, doesn’t mean it’s bad.. It’s usually the simple strategies that last good in the long run, just like trading manually, doing over complex shit will not do any good

    • Nicolas • 04/10/2018 #

      No, but if you are able to code, you can use any of the codes around here and improve them for your own needs like this is the case for this indicator.

  8. Inertia • 04/10/2018 #

    Thank you Nicolas. Nice one 😉

  9. Matt B • 04/10/2018 #

    Bonjour Nicolas, je débute et suis intéressé par cet indicateur mais quand je copie/colle le code dans le mode “création d’indicateur” j’ai un message d’erreur : “erreur de syntaxe dans l’assignation” et la dernière ligne est grisée. Merci pour votre aide.

  10. Matt B • 04/10/2018 #

    c’est bon çà marche ! j’ai supprimé toutes les lignes vides du dessus

  11. Caribeengeek • 04/10/2018 #

    Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Maison je me rappel plus a quel e-mail vous envoyer svp c’est pour un screemer pour les devises time frame 1H merci d’avance

    • Nicolas • 04/10/2018 #

      Merci d’utiliser le forum pour les demandes de programmation personnalisée

  12. Caribeengeek • 04/10/2018 #

    Les devises unité

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+15 more likes

Related users ' posts
JS
9 months ago
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
10 months ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
FXtonio @RICOU en 1 minutes avec un filtre de tendance ZLSMA 200 et eventuellement un rsi 7 , 69% de...
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
Nicolas Yes, Magic if the variable that contains the value of the line, you can test if it goes up o...
dadah1987 Bonjour Nicolas, merci pour cet indicateur. Utilisant pour l'instant la création simplifié p...
Nicolas Merci d'ouvrir un sujet sur le forum avec une description complète du système.
GustavoLoboOrenstein Is it possible to add histogram with only increasing bars?
Nicolas Je ne rencontre pas ce problème avec le NASDAQ par exemple, ce serait plus simple d'ouvrir u...
YvesRobert Bonjour Nicolas, en effet ca marche, je me suis trompé, j'ai bien tout le tracé. C'est parce...
oliTR Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s'a...
mfejza also, for long trailing stop d2=low d1=lowest[3](d2)+1/3*AverageTrueRange[20](close) d3...
Jiacky
2 years ago
Kalman Filter
Kalman Filter
0
Indicators
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
AndPar Buongiorno Nicolas, vorrei provare questo indicatore, ma quando lo inserisco in PRT mi vengo...
Nicolas Basta aggiungerlo al prezzo https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-i...
Aragorna hello Nicolas, this indicator works with the last Beta version of PRT? Ive seen tha many in...
wally Hola soy nuevo en el mudo robots. Alguien seria tan amable de poner el archivo itf.file ya q...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...
CederTrader Hi Denis, does this indicator add to the chart as panel, or on the candles. Thanks
Nicolas Add it on the price chart as described in this video: https://www.prorealcode.com/blog/video...
Denis Hello Nicolas and Ceder Trader, Sorry, I only just saw your replies. The indicator is alre...
atlante hi nicolas this indicator have 2 wrong borderline and islalastbarupdate. thank you can you h...
Nicolas That'"s because you are not using PRT v11? Just remove lines 59 to 62
Kanamax Hi Roberto, sorry for my confusing previous posts (forget them). My request is very simple,...
robertogozzi Please start a new topic in ProOrder support.
robertogozzi There you go: myMagicTrend = CALL “Magic Trend custom”[20, 14, 1, 5] alpha = 105 b = 0...
johann8 exactly :) Thank you all for the help!
max_92 Ciao Roberto, ho scaricato l'indicatore e come ti avevano già scritto sopra anch'io vedo la ...

Top