TradingView
finallynitin
14 juil. 2021 16:44

Supertrend with Percent Difference from Close 

TATA ELXSINSE

Description

This script improves the Supertrend indicator by displaying a label that shows the percent difference between the latest closing price & the Supertrend.

This comes in handy when one is using the Supertrend value as a stoploss level. For instance, one would like to have a maximum stop loss level of 8%. Instead of calculating how much percent the price is away from the Supertrend, one can look at the percent label & make an informed decision as to whether initiating a position would have favourable risk/reward or not.

Another utility would be selling into strength when one is using the Supertrend as a trailing stop loss. For instance, if the price is a certain percentage far away from the Supertrend, one may conclude that the price is now extended & either price correction or time correction would ensue, & decide to sell into strength.
Commentaires
saurabhj77
Superb
SunilDhawan
this is great, can you please make one having 10-SMA along with SuperTrend(10,3)
Mysticmit1
Please make a small video for better understanding.
dpanday
Great. Can you add a function to use multiple timeframes?
Plus