Return value of the Supertrend indicator over the last N periods.
Syntax:
1 |
Supertrend[multiplier,N] |
Supertrend is an indicator that works on all timescales and all instruments (stocks, futures, forex, ..).
It is the ideal tool to follow market trends and optimises your profits.
Supertrend evolves below or above the prices depending on the trend.
You can use it as an exit position indicator when its direction changes. You can also use it to place your stops.
However, it is generally better to take buying opportunities when the Supertrend is below the prices and sell short when it is above the prices.
Example:
1 2 3 4 5 6 7 8 9 10 |
st = Supertrend[3,10] IF(close>st AND close[1]<st[1]) THEN bullishSignal = 1 ELSE bullishSignal = 0 ENDIF RETURN bullishSignal |
Hi,
I am using 10.3, and have imported and Added this Indicator to my chart, but it does not did show any signals.
I also installed doctrading’s “Supertrend + SAR” itf, which also only displays the background color changes and not the signals.
Am I doing something wrong ?
Hy everyone. Can i have some help to automate the stoploss on the supertrend indicator that i have set in my mt4,please? Thank you so much.
Hi, this website is dedicated to prorealtime trading and programming. However, you can contact the programming services for a private job: https://www.prorealcode.com/trading-programming-services/
Hi there, at first glance a nice indicator !
Applied the Supertrend Line to my price window it and it works fine. Edited the code up there to create an ocillator between +1 and -1 for bullish AND bearish case, which also looks good. Experiment with lower multiplier, maybe you like it, the signals still seem not bad.
But I would like to understand it… what does it actually do ?
Is there any documentation available (I didn´t find it) ?
Cheers/Merci
Hi + happy new year —– is anbody out there to answer may question ?
Cheers, Tom