OPEN-SOURCE SCRIPT
st_limits

The indicator shows the lower limit as a fraction of the maximum for the period, the upper limit as a multiplier to the minimum for the selected period. The following parameters are used: a period and two coefficients. The lower limit is constructed by multiplying the maximum for the selected period by a factor of 1, the upper limit is constructed by multiplying the minimum for the selected period by a factor of 2. Going over the period, and the values of the coefficients, it is necessary that the graph does not intersect the upper and lower limits, in this case we get the upper and lower limits.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.