PROTECTED SOURCE SCRIPT
Mis à jour Swing high low support & resistance

The Swing indicator will plot dot lines that represent the swing points based on the swing length input(number of bars to the left and right of the swing point).
Swing highs and lows can be used by traders to identify possible areas of support and resistance, which can then be used to determine optimal positions for stop-loss or profit target orders. If an indicator fails to create a new swing high while the price of the security does reach a new high, there is a divergence between price and indicator, which could be a signal that the trend is reversing.
Swing highs and swing lows are earlier market turning points. Hence, they are natural choices for projecting support and resistance levels. Every swing point is a potential support or resistance level. However, for effective trading, focus on major swing highs and lows.
Swing highs and lows can be used by traders to identify possible areas of support and resistance, which can then be used to determine optimal positions for stop-loss or profit target orders. If an indicator fails to create a new swing high while the price of the security does reach a new high, there is a divergence between price and indicator, which could be a signal that the trend is reversing.
Swing highs and swing lows are earlier market turning points. Hence, they are natural choices for projecting support and resistance levels. Every swing point is a potential support or resistance level. However, for effective trading, focus on major swing highs and lows.
Notes de version
Update the title of plot, it's easier to set custom alert now.Notes de version
Minor updateNotes de version
Upgrade to Ver 4.Notes de version
Add 2 new inputs as the source date of Swing high and low.Now we can use open/high/low/close/hl2/hlc3/ohlc4/hlcc4 to get Swing high and low.
Notes de version
Add alert when it's formed.Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.