OPEN-SOURCE SCRIPT
Güncellendi MTF Market Structure Highs and Lows

The indicator marks the last fractal highs and lows (W,D,4H and 1H options) to help determine current market structure. The script was created to help with directional bias but also as a MTF visual aid for stop hunts/liquidity raids.
Liquidity areas are where we assume trader's stop losses would be when buying or selling. Liquidity lies above and below swing points and institutions need liquidity to fill large orders.
Monitor price action as it hits these areas for a potential reversal trade.
Liquidity areas are where we assume trader's stop losses would be when buying or selling. Liquidity lies above and below swing points and institutions need liquidity to fill large orders.
Monitor price action as it hits these areas for a potential reversal trade.
Sürüm Notları
Alert function has been added for when price crosses a specified MS high/low. Also option to show previous broken highs/lows has been included.Sürüm Notları
Breach lines and more alert functions added- Any level cross alert
- Any level low cross alert
- Any level high cross alert
Sürüm Notları
Fixed error in code for alerts. Alerts once per breach and then resets for the next breach.Sürüm Notları
Monthly, 30m, 15m and 5m MS highs and lows option added.Sürüm Notları
Upgraded to Pine Script v6Bug Fix — Missing trigger resets for 30m, 15m, and 5m lows Previously, once a low was breached on the 30-minute, 15-minute, or 5-minute timeframe, the alert would not fire again even after a new pivot low formed. This has been corrected — all timeframe triggers now properly reset when a new pivot is detected.
Bug Fix — Line origin accuracy Improved the logic that maps higher-timeframe pivot timestamps to the current chart. Lines now anchor to the correct candle rather than appearing offset due to weekend gaps and session breaks.
New Feature — Price on labels (toggle) Added a "Show Price on Labels" option in settings (enabled by default). When active, each level label displays the price value alongside the timeframe name (e.g. "Daily MS High | 0.70942"). Can be toggled off for a cleaner look.
New Feature — Dynamic alerts for webhooks Added alert() calls for all timeframes alongside the existing alertcondition entries. Each alert includes the ticker, level breached, and current price — ready for webhooks, Telegram, email, or any external notification setup. Select "Any alert() function call" when creating your alert in TradingView.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.