OPEN-SOURCE SCRIPT
업데이트됨 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.
릴리즈 노트
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.릴리즈 노트
Breach lines and more alert functions added- Any level cross alert
- Any level low cross alert
- Any level high cross alert
릴리즈 노트
Fixed error in code for alerts. Alerts once per breach and then resets for the next breach.릴리즈 노트
Monthly, 30m, 15m and 5m MS highs and lows option added.릴리즈 노트
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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.