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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。