PROTECTED SOURCE SCRIPT
已更新 Boring w/Prev Legin

This TradingView Pine Script highlights “boring” candles that follow a specific “legin” candle, based on strict supply/demand zone and price action rules inspired by your trading strategy.
A candle will be highlighted if it meets all of these:
The current candle is “boring” (low volatility, small range).
A candle will be highlighted if it meets all of these:
The current candle is “boring” (low volatility, small range).
- The previous candle was a “legin” (high volatility, big move).
- The previous “legin” was much larger than the current “boring” candle (by TR or size).
- The boring candle has both upper and lower wicks (not a marubozu).
- The legin candle had a strong body (≥70% of its size) and a wick on its close side (showing strong price rejection).
發行說明
This TradingView Pine Script highlights “boring” candles that follow a specific “legin” candle, based on strict supply/demand zone and price action rules inspired by your trading strategy.A candle will be highlighted if it meets all of these:
The current candle is “boring” (low volatility, small range).
- The previous candle was a “legin” (high volatility, big move).
- The previous “legin” was much larger than the current “boring” candle (by TR or size).
- The boring candle has at least upper or lower wicks.
- The legin candle had a strong body (≥70% of its size) and a wick on its close side (showing strong price rejection).
發行說明
This TradingView Pine Script highlights “boring” candles that follow a specific “legin” candle, based on strict supply/demand zone and price action rules inspired by your trading strategy.A candle will be highlighted if it meets all of these:
The current candle is “boring” (TR < ATR and Body Size < Wick Size).
- The previous candle was a “legin” (TR > ATR).
- The previous candle “legin” was much larger than the current “boring” candle (by TR (at least twice the boring) or size(at least 1.5 times boring ).
- The legin candle had a strong body (≥70% of its size) and a wick on its close side (showing strong price rejection).
發行說明
This TradingView Pine Script highlights “boring” candles that immediately follow a strong “legin” candle, applying strict price action and supply/demand zone criteria.A candle is highlighted only if all these conditions are met:
1. Boring Candle (Current Bar):
- The total wick size (upper + lower) is greater than the body size.
- ATR (Average True Range) is greater than the candle’s TR (True Range).
2. Good Legin Candle (Previous Bar):
- The previous candle’s TR is at least 1.9× the current candle’s TR, or its size (high-low) is at least 1.9× the size of the current boring candle.
- The previous candle’s body is at least 70% of its full range (body dominates, not just a long wick).
- The previous candle has a wick on the close side (showing price rejection).
3. No Visual Gap Rule:
- There must be no “big gap” between the previous legin’s close and the current boring candle’s open.
The allowed gap is adaptive:
- Typically 7% of the legin’s body size.
- But it’s never less than 0.1×ATR and never more than 2×ATR.
This ensures the transition from legin to boring candle is visually continuous, no matter the legin candle’s size.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。