The “Supertrend + SAR” background indicator

v10.3
The “Supertrend + SAR” background indicator

Hello fellow traders,

This is a simple but nice code to get a GREEN background if close > Supertrend and Parabolic SAR, and RED background if close < Supertrend and Parabolic SAR.

Simple, but effective and useful. Of course, it is better on trend markets.

It will give you clearly the way to trade, don’t enter against the trend!

Of course, you can add other conditions.

From this, you can try to test your own strategies, with this filter. I will personally try to test it in combination with precise entry / exit rules.

Regards,

 

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. Nicolas • 06/07/2016 #

    Hi Doc, I changed the code a bit, “RETURN” can be use all alone in version 10.3 since drawing things don’t necessary need predefined variables.

  2. Doctrading • 06/07/2016 #

    Hi Nico, I’ve just learnt something, thanks !

  3. Adolfo • 06/07/2016 #

    Shame form IG users still on 10.2…
    Thanks Doc!

  4. Tomax • 06/07/2016 #

    is Background colour only available from 10.3 and not possible with 10.2 ?

    • Nicolas • 06/07/2016 #

      Yes, colouring background by code is only available in the version 10.3. with the instruction BACKGROUNDCOLOR: http://www.prorealcode.com/documentation/backgroundcolor/

  5. ludo7769 • 06/07/2016 #

    Hello ,
    J’ai la version 10.2 et ca ne marche pas, qu’est ce qui coince ? 
    Merci a vous 

  6. eisi • 06/07/2016 #

    If i switch between different Markets, the Backgroundcolour will appear where it should not. As you can see at the picture. ( https://picload.org/view/dgpogoga/supertrendsar.png.html) Does anybody know what is the problem?

  7. datageek • 06/07/2016 #

    How can I get alerts on colour change?

  8. NAMBO40 • 06/07/2016 #

    Hello, I would like to add a 25 period SMA moving average. It’s possible?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
2 years ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
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...
mortezaali14 Salut Nicholas, comment exécuter ce fichier dans les métadonnées
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?
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...
xpe74 Utilitaire vraiment top, d'autant qu'ajouter des filtres de seuil peux aider a limiter le no...
Jiacky
3 years ago
Kalman Filter
Kalman Filter
0
Indicators
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...
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 ...
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 ...
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands

Top