Simplified supertrend (without volatility component ATR)

Simplified supertrend (without volatility component ATR)

This supertrend does not use a multiple of current average true range (ATR) as the distance to median prices. Instead, the distance of the supertrend line to median prices is only a fraction of the current price (close * factor).

In sideward phases, when average prices do not change, this supertrend will stay constant. The “normal” supertrend (using ATR) will reduce its distance to the median price in sideward phases, when volatility and ATR decrease.

This simplified supertrend can give better results in certain cases, for example in long-term charts, when prices show highly different values falling in a very broad range (e.g. DAX prices between 4000 and 13500).

The indicator behaves more like a traditional trailing stop, because volatility is not considered. The risk of curve-fitting and over-optimization is reduced, because only one adaptable parameter (“factor”) is used.

As always, it should be tried out in every single instance by optimizing a simple trading system whether this indicator or the “normal” supertrend work better.

The indicator should be added to the price window by selecting “settings price – add indicator”. You can colour the indicator or change line thickness yourself using the box “settings simplified supertrend”.

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

    Big thanks for sharing this 🙂 Seems to work as expected, good stuff.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
FULVIO09 Con il file notrendstrategy.itf che hai scaricato puoi eseguire un probacktest sullo strumen...
FULVIO09 Avec le file notrendstrategy.itf, vous pouvez exécuter un probacktest sur l'instrument fina...
kuroobi Parfait , merci beaucoup .
Tradingrob Hi Nicolas, when i upload this indicator in my list and use it as indicator. I get a totally...
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
joobeng I get area of shading above and below a horizontal line. How can I post a picture here ? Thanks
joobeng Sorry, I solved the problem. I have add the CBL indicator using the spanner icon on the pric...
Nicolas Adjust the price settings for the Y Axis to use the price only.
Nicolas Should not if adxlen variable is superior to 0.
AussieTrader Nicolas, Can you explain the numerator logic - e.g. Line 35 is (sTR[1] - sTR[1]) which wo...
Nicolas You are right, this is useless. Since I converted it from another programming language, I a...
Nicolas Thanks for the studies. What about the switch of the trend triggered by the slow and fast pe...
juanj Hi Nicolas, yes I did also change that. Found an EMA of 5 in conjunction with an EMA of 9 to...
Bard Hi Nicolas and Juanj I hope this is alright but I've moved the discussion here: https://ww...
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
verdi55 You can find me at www.FXautomate.com Ahh. So i got it ? 4 different supertrends without th...
juanj What? This has nothing to do with the website. The site is simply a service to help people ...
Nicolas Advertising is allowed,as long as people are helping others and if provided services are abo...
ProContra It seems that after publishing it started drawdown.
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
Nicolas You can for it ask as a private job in the programming services section: https://www.prorea...
nick80 Thanks Nicolas ;-)
Nicolas Des nouvelles ?
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
HeikinAshi thank you for this very interesting indicator Nicolas! did you define a tradable setup fo...
Wilko In answer to SAM: The Logic of the cover clause containing the same logic as the entry-claus...
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
JanWd Dear Gabri, could you explain why you have used "RitMensNoRiskTitle" ? In the formula [ ...
JanWd add it as a default variable, to be found on top if you make the indicator Kind regards, Jan
gabri JanWD, in the original sharpe formula (made for portfolios) this is the return for a no-ris...

Top