PROTECTED SOURCE SCRIPT
已更新

sXSwings

164
sXSwings is a swing point indicator that identifies and plots horizontal lines at swing highs and swing lows on your chart. It operates on two levels:

Historical Swings - Uses a longer pivot length (default: 5) to identify significant swing points from price history. These appear as dotted lines and provide reference levels for major support and resistance zones.

Most Recent Swings - Uses a shorter pivot length (default: 1) to identify the most current swing high and swing low. These appear as solid lines and are more responsive to recent price action, updating dynamically as new pivots form.
The indicator automatically manages line cleanup, removing historical swing lines that exceed the lookback period to keep your chart clean. All visual aspects are fully customizable including line styles, colors, widths, and extension lengths.

Use Case: Traders can use this to quickly identify key swing levels for support/resistance trading, stop-loss placement, or analyzing price structure across different timeframes. The dual-layer approach helps distinguish between major structural levels and immediate price action swings.
版本注释
QoL Updates, added ZigZag labels.
版本注释
QoL Updates

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。