OPEN-SOURCE SCRIPT
Aktualisiert Market Structure

This indicator identifies market structure shifts by tracking confirmed swing highs and swing lows using pivot-based price action. A BUY signal is generated when price closes above the most recent confirmed swing high, while a SELL signal is generated when price closes below the most recent confirmed swing low. The script also maintains directional bias, highlights bullish or bearish conditions with optional background coloring, and plots the active swing reference levels directly on the chart.
“Bars Left” controls how many candles are used to validate a swing high or swing low, while “Bars Right” determines how many candles must confirm the pivot before it becomes valid. Higher values create stronger but slower structure levels, while lower values react faster but may produce more noise. “Show BUY / SELL Labels” enables or hides signal labels on the chart. “Show Background Bias” colors the chart background based on the current bullish or bearish structure bias. “Show Swing Reference Levels” displays the active prior swing high and swing low levels used for structure break confirmation. “Non-Repaint Mode” waits for candle confirmation before signals are allowed, helping reduce repaint behavior during live market conditions.
This tool is designed for structure-based trend confirmation and breakout continuation analysis. Conservative traders typically use higher pivot settings to focus on major market structure, while aggressive traders may reduce pivot settings for faster directional shifts and earlier entries.
“Bars Left” controls how many candles are used to validate a swing high or swing low, while “Bars Right” determines how many candles must confirm the pivot before it becomes valid. Higher values create stronger but slower structure levels, while lower values react faster but may produce more noise. “Show BUY / SELL Labels” enables or hides signal labels on the chart. “Show Background Bias” colors the chart background based on the current bullish or bearish structure bias. “Show Swing Reference Levels” displays the active prior swing high and swing low levels used for structure break confirmation. “Non-Repaint Mode” waits for candle confirmation before signals are allowed, helping reduce repaint behavior during live market conditions.
This tool is designed for structure-based trend confirmation and breakout continuation analysis. Conservative traders typically use higher pivot settings to focus on major market structure, while aggressive traders may reduce pivot settings for faster directional shifts and earlier entries.
Versionshinweise
Internal defaults updated.Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.