TradingView
loxx
2022年6月23日早上7點24分

Adaptive Supertrend w/ Floating Levels [Loxx] 

Bitcoin / TetherUSBinance

描述

Adaptive Supertrend w/ Floating Levels [Loxx] is a Supertrend indicator made adaptive by comparing the coefficient of determination / average of the least squares. The basic concept is this: use correlation with an r-squared line to adapt the period of the indicator, thereby resulting in a more versatile Supertrend. This adaptive formula makes the Supertrend more reactive to small fluctuation in the market while still doing what it's supposed to do: track trend. In addition, floating levels are drawn above or below the Supertrend which are calculated with percentage of the highest and lowest values of the Supertrend within the last “lookback” period. These floating levels act as filter to detect / prevent false trend reversals. T

What is the Supertrend?
Supertrend indicator was created by Olivier Seban to work on different time frames. It works for futures, forex, and equities. It is used in 15 minutes, hourly, weekly, and daily charts. Based on the parameters of multiplier and period, the indicator normally uses 3 for multiplier and 7 for the ATR period as default values. Average True Range is represented by the number of days while the multiplier is the value by which the range is multiplied.

Included
-Toggle on/off bar coloring
-Toggle on/off adaptivity
-Toggle on/off fill coloring

發布通知

Small update
評論
dpanday
You're an indicator machine :)
hkrishnas
Great Job on the SuperTrend my friend.

Small cosmetic mistake on line 41. Here it should be Multiplier instead of "Period".
mult = input.float(3.0, "Period", group = "Basic Settings")
danielrowan
Looks like a good upgrade, how would you recommend adding it to a tradingview strategy as a stoploss?
NightCommando
Great job! How do you make this mtf? I'd like to display 3 different timeframes together.
Ether2020
GREAT work, Perfect! Thanks my friend!
更多