OPEN-SOURCE SCRIPT
已更新 Local Limits

Displays recent higher highs, lower highs, lower lows, and higher lows as a collection of local limit indicators.
In its simplicity is a lot more powerful than might appear at first glance.
Parameters
Single indicators with configurable sources:
Local Limit Higher
Local Limit Lower
In its simplicity is a lot more powerful than might appear at first glance.
- Does not rely on volatility calculation.
- Can be linked together to create an objective view of recent support and resistance levels.
- Makes current trends more visible.
- Excellent for use as a trailing stop algorithm.
Parameters
- Single Bar Sensitivity: True (default) reacts to individual bars. False only responds to the alignment of 2 bars.
- Margin (1-5): Adds extra distance from higher lows and lower highs to reduce the sensitivity of broken trends.
Single indicators with configurable sources:
Local Limit Higher
Local Limit Lower
版本注释
Eliminated buggy bar sensitivity option as the indicators work as intended without it.版本注释
Added trend change values for more reliable alerts.ALERTING:
Simply select one of the the various "Change" values and alert on "Greater Than" or "Less Than" zero depending on which direction you want to detect.
版本注释
Eliminated bar_index to avoid repainting.版本注释
Allow for % margin values.版本注释
Allow for specifying a fixed time-frame.开源脚本
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.
免责声明
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.
开源脚本
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.
免责声明
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.