PROTECTED SOURCE SCRIPT
Telah dikemas kini 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).
Nota Keluaran
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).
Nota Keluaran
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).
Nota Keluaran
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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.