OPEN-SOURCE SCRIPT
SLW By MT

Overview
This indicator is a high-probability signal generator built on three core pillars of price action: Fixed horizontal price zones (7 Static Lines), Macro trend direction via Higher Timeframe (HTF) analysis, and Micro-structure indecision through the Doji candlestick pattern. By waiting for all three conditions to align, this tool dramatically reduces false signals and helps you trade with the institutional "confluence."
1. The 7 Static Levels (The Framework)
The indicator plots seven predefined static horizontal lines across your chart. These levels act as the ultimate support/resistance grid. Price action interacting with these lines is given top priority, as they represent major historical inflection points where reversals or violent breakouts are statistically likely.
2. Higher Timeframe Trend (The Filter)
To ensure you are never fighting the macro trend, the indicator evaluates the market direction on a user-selected higher timeframe (e.g., 4H or Daily). It acts as a guardian filter: it will only allow Buy signals if the HTF structure is bullish and Sell signals if the HTF structure is bearish, keeping you aligned with the dominant money flow.
3. The Doji Candle (The Trigger)
The final entry catalyst is the Doji candlestick—a pattern signifying extreme indecision and exhaustion of the current move. The indicator scans for Dojis that form strictly in the immediate proximity of the 7 static levels. This signals that the market is pausing exactly at a key area, setting the stage for a potential reversal.
Trading Logic (Entry Signals)
· 📈 LONG (BUY) Signal: Price is trading near a Static SUPPORT line + HTF Trend is BULLISH + A Doji forms at that level.
· 📉 SHORT (SELL) Signal: Price is trading near a Static RESISTANCE line + HTF Trend is BEARISH + A Doji forms at that level.
Customizable Inputs
· Levels: Manually configure the 7 price levels to match your specific asset (Forex, Crypto, Stocks, or Indices).
· Trend Settings: Select your preferred Higher Timeframe (e.g., 15m, 1H, 4H, Daily) and the smoothing method for trend detection.
· Doji Sensitivity: Adjust the body-to-range ratio to define how "strict" the Doji detection should be.
Best Practices
This indicator performs optimally on lower-to-mid timeframes (5-minute to 1-hour) while utilizing a 4-Hour or Daily HTF filter. Always look for price rejection (long wicks) alongside the Doji to confirm the signal before entering a trade. No indicator is infallible—please use proper risk management and stop-losses.
This indicator is a high-probability signal generator built on three core pillars of price action: Fixed horizontal price zones (7 Static Lines), Macro trend direction via Higher Timeframe (HTF) analysis, and Micro-structure indecision through the Doji candlestick pattern. By waiting for all three conditions to align, this tool dramatically reduces false signals and helps you trade with the institutional "confluence."
1. The 7 Static Levels (The Framework)
The indicator plots seven predefined static horizontal lines across your chart. These levels act as the ultimate support/resistance grid. Price action interacting with these lines is given top priority, as they represent major historical inflection points where reversals or violent breakouts are statistically likely.
2. Higher Timeframe Trend (The Filter)
To ensure you are never fighting the macro trend, the indicator evaluates the market direction on a user-selected higher timeframe (e.g., 4H or Daily). It acts as a guardian filter: it will only allow Buy signals if the HTF structure is bullish and Sell signals if the HTF structure is bearish, keeping you aligned with the dominant money flow.
3. The Doji Candle (The Trigger)
The final entry catalyst is the Doji candlestick—a pattern signifying extreme indecision and exhaustion of the current move. The indicator scans for Dojis that form strictly in the immediate proximity of the 7 static levels. This signals that the market is pausing exactly at a key area, setting the stage for a potential reversal.
Trading Logic (Entry Signals)
· 📈 LONG (BUY) Signal: Price is trading near a Static SUPPORT line + HTF Trend is BULLISH + A Doji forms at that level.
· 📉 SHORT (SELL) Signal: Price is trading near a Static RESISTANCE line + HTF Trend is BEARISH + A Doji forms at that level.
Customizable Inputs
· Levels: Manually configure the 7 price levels to match your specific asset (Forex, Crypto, Stocks, or Indices).
· Trend Settings: Select your preferred Higher Timeframe (e.g., 15m, 1H, 4H, Daily) and the smoothing method for trend detection.
· Doji Sensitivity: Adjust the body-to-range ratio to define how "strict" the Doji detection should be.
Best Practices
This indicator performs optimally on lower-to-mid timeframes (5-minute to 1-hour) while utilizing a 4-Hour or Daily HTF filter. Always look for price rejection (long wicks) alongside the Doji to confirm the signal before entering a trade. No indicator is infallible—please use proper risk management and stop-losses.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。