OPEN-SOURCE SCRIPT
Updated

Generalized SSL by Vts

8 400
// Generalized SSL:
// This is the very first time the SSL indicator, whose acronym I ignore, is on Tradingview.
// It is based on moving averages of the highs and lows.
// Similar channel indicators can be found, whereas
// this one implements the persistency inside the channel, which is rather tricky.
// The green line is the base line which decides entries and exits, possibly with trailing stops.
// With respect to the original version, here one can play with different moving averages.
// The default settings are (10,SMA)
//
// Vitelot/Yanez/Vts March 2019

Release Notes
Corrected constant behavior when close is inside channel
Release Notes
// April 2019: added coloured cloud (red=bearish, green=bullish)
Release Notes
September 2019: increased number of MA available; converted to Pine V4

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.