OPEN-SOURCE SCRIPT
업데이트됨 Smart Money PRO v2

Smart Money Concepts PRO v2
WHY THESE COMPONENTS ARE COMBINED (mashup rationale)
This is deliberately not a folder of independent indicators stacked together.
Each component answers exactly one question in a single top-down Smart Money
workflow, and the whole point of the script is to make those answers agree
before anything is flagged:
- Direction - which side should I favour? -> HTF bias (higher-timeframe EMA read)
- Timing - has the working timeframe shifted? -> Market structure (BOS / CHoCH)
- Fuel - where is the liquidity a move runs? -> Liquidity sweeps + Equal Highs/Lows
- Entry zone - where will price react afterwards? -> Order Blocks, Breaker Blocks, FVG
- Location - is that zone in a good part of range? -> Premium / Discount (auto-equilibrium)
The Confluence Engine is what ties them together: it marks a LONG/SHORT only
when a FRESH Order Block retest lines up with the correct Premium/Discount half
AND (optionally) the higher-timeframe bias. The added value is the agreement
rule across these layers, not the individual drawings - that is what this
publication contributes over plotting OBs, FVGs and structure separately.
HOW EACH COMPONENT IS CALCULATED
- Market structure: swing pivots (configurable lookback) feed a trend state
machine. A close beyond the last protected swing in the trend direction is a
BOS (continuation); the first close beyond structure against the trend is a
CHoCH (change of character / early reversal).
- Order Blocks: on a structure break, the last opposite-colour candle before the
impulse is captured as the OB. Optional volume validation requires the
formation candle volume to exceed SMA(volume,20) x multiplier. OBs auto-delete
on mitigation (by wick or by close, your choice).
- Breaker Blocks: a mitigated OB flips polarity and is redrawn as a Breaker of
the opposite side, modelling the "failed order block becomes a barrier" idea.
- Fair Value Gaps: the classic 3-candle imbalance, filtered by a minimum size in
ATR and an optional displacement test (central candle body >= multiplier x ATR)
so only impulsive gaps remain; each FVG is removed when filled.
- Liquidity Sweeps: a wick that exceeds a prior swing while the candle closes
back inside it (stop-hunt), optionally requiring elevated volume.
- Equal Highs / Lows: swing clusters within an ATR-based tolerance, marking
resting liquidity pools.
- Premium / Discount: an auto-Fibonacci equilibrium from the most recent swing
range; above 50% is Premium (favour shorts), below 50% is Discount (favour longs).
- HTF bias: a dual-EMA read from a higher timeframe, requested using the
confirmed value of the previous HTF bar so it does not repaint.
HOW TO USE
- Set Swing length for your style (5-10 scalping, 20-50 swing) and pick an HTF
roughly 4-6x your chart timeframe.
- Read top-down: check the HTF bias and current Premium/Discount zone in the
dashboard, then wait for a confluence LONG/SHORT where a fresh OB is retested
in the right half of the range.
- Treat the marks as a filtered context for your own entries, not as automatic
buy/sell orders. Structure-based invalidation (beyond the OB or the sweep
extreme) gives a natural stop level.
- Every event (BOS, CHoCH, new/touch OB, FVG, sweep, EQH/EQL, breaker,
confluence) has its own toggle and its own alert() condition.
WHAT IT DOES NOT DO / LIMITATIONS
- Pivots need swingLen bars to confirm, so structure, OBs and FVGs print after
confirmation on closed bars. This is by design to avoid repainting; levels are
reactive, not predictive.
- It does not forecast price, and past behaviour does not guarantee future
results. This is a decision-support tool, not a signal service.
Open-source under MPL 2.0 - study, fork and improve it freely.
WHY THESE COMPONENTS ARE COMBINED (mashup rationale)
This is deliberately not a folder of independent indicators stacked together.
Each component answers exactly one question in a single top-down Smart Money
workflow, and the whole point of the script is to make those answers agree
before anything is flagged:
- Direction - which side should I favour? -> HTF bias (higher-timeframe EMA read)
- Timing - has the working timeframe shifted? -> Market structure (BOS / CHoCH)
- Fuel - where is the liquidity a move runs? -> Liquidity sweeps + Equal Highs/Lows
- Entry zone - where will price react afterwards? -> Order Blocks, Breaker Blocks, FVG
- Location - is that zone in a good part of range? -> Premium / Discount (auto-equilibrium)
The Confluence Engine is what ties them together: it marks a LONG/SHORT only
when a FRESH Order Block retest lines up with the correct Premium/Discount half
AND (optionally) the higher-timeframe bias. The added value is the agreement
rule across these layers, not the individual drawings - that is what this
publication contributes over plotting OBs, FVGs and structure separately.
HOW EACH COMPONENT IS CALCULATED
- Market structure: swing pivots (configurable lookback) feed a trend state
machine. A close beyond the last protected swing in the trend direction is a
BOS (continuation); the first close beyond structure against the trend is a
CHoCH (change of character / early reversal).
- Order Blocks: on a structure break, the last opposite-colour candle before the
impulse is captured as the OB. Optional volume validation requires the
formation candle volume to exceed SMA(volume,20) x multiplier. OBs auto-delete
on mitigation (by wick or by close, your choice).
- Breaker Blocks: a mitigated OB flips polarity and is redrawn as a Breaker of
the opposite side, modelling the "failed order block becomes a barrier" idea.
- Fair Value Gaps: the classic 3-candle imbalance, filtered by a minimum size in
ATR and an optional displacement test (central candle body >= multiplier x ATR)
so only impulsive gaps remain; each FVG is removed when filled.
- Liquidity Sweeps: a wick that exceeds a prior swing while the candle closes
back inside it (stop-hunt), optionally requiring elevated volume.
- Equal Highs / Lows: swing clusters within an ATR-based tolerance, marking
resting liquidity pools.
- Premium / Discount: an auto-Fibonacci equilibrium from the most recent swing
range; above 50% is Premium (favour shorts), below 50% is Discount (favour longs).
- HTF bias: a dual-EMA read from a higher timeframe, requested using the
confirmed value of the previous HTF bar so it does not repaint.
HOW TO USE
- Set Swing length for your style (5-10 scalping, 20-50 swing) and pick an HTF
roughly 4-6x your chart timeframe.
- Read top-down: check the HTF bias and current Premium/Discount zone in the
dashboard, then wait for a confluence LONG/SHORT where a fresh OB is retested
in the right half of the range.
- Treat the marks as a filtered context for your own entries, not as automatic
buy/sell orders. Structure-based invalidation (beyond the OB or the sweep
extreme) gives a natural stop level.
- Every event (BOS, CHoCH, new/touch OB, FVG, sweep, EQH/EQL, breaker,
confluence) has its own toggle and its own alert() condition.
WHAT IT DOES NOT DO / LIMITATIONS
- Pivots need swingLen bars to confirm, so structure, OBs and FVGs print after
confirmation on closed bars. This is by design to avoid repainting; levels are
reactive, not predictive.
- It does not forecast price, and past behaviour does not guarantee future
results. This is a decision-support tool, not a signal service.
Open-source under MPL 2.0 - study, fork and improve it freely.
릴리즈 노트
Smart Money Concepts PRO v2WHY THESE COMPONENTS ARE COMBINED (mashup rationale)
This is deliberately not a folder of independent indicators stacked together.
Each component answers exactly one question in a single top-down Smart Money
workflow, and the whole point of the script is to make those answers agree
before anything is flagged:
- Direction - which side should I favour? -> HTF bias (higher-timeframe EMA read)
- Timing - has the working timeframe shifted? -> Market structure (BOS / CHoCH)
- Fuel - where is the liquidity a move runs? -> Liquidity sweeps + Equal Highs/Lows
- Entry zone - where will price react afterwards? -> Order Blocks, Breaker Blocks, FVG
- Location - is that zone in a good part of range? -> Premium / Discount (auto-equilibrium)
The Confluence Engine is what ties them together: it marks a LONG/SHORT only
when a FRESH Order Block retest lines up with the correct Premium/Discount half
AND (optionally) the higher-timeframe bias. The added value is the agreement
rule across these layers, not the individual drawings - that is what this
publication contributes over plotting OBs, FVGs and structure separately.
HOW EACH COMPONENT IS CALCULATED
- Market structure: swing pivots (configurable lookback) feed a trend state
machine. A close beyond the last protected swing in the trend direction is a
BOS (continuation); the first close beyond structure against the trend is a
CHoCH (change of character / early reversal).
- Order Blocks: on a structure break, the last opposite-colour candle before the
impulse is captured as the OB. Optional volume validation requires the
formation candle volume to exceed SMA(volume,20) x multiplier. OBs auto-delete
on mitigation (by wick or by close, your choice).
- Breaker Blocks: a mitigated OB flips polarity and is redrawn as a Breaker of
the opposite side, modelling the "failed order block becomes a barrier" idea.
- Fair Value Gaps: the classic 3-candle imbalance, filtered by a minimum size in
ATR and an optional displacement test (central candle body >= multiplier x ATR)
so only impulsive gaps remain; each FVG is removed when filled.
- Liquidity Sweeps: a wick that exceeds a prior swing while the candle closes
back inside it (stop-hunt), optionally requiring elevated volume.
- Equal Highs / Lows: swing clusters within an ATR-based tolerance, marking
resting liquidity pools.
- Premium / Discount: an auto-Fibonacci equilibrium from the most recent swing
range; above 50% is Premium (favour shorts), below 50% is Discount (favour longs).
- HTF bias: a dual-EMA read from a higher timeframe, requested using the
confirmed value of the previous HTF bar so it does not repaint.
HOW TO USE
- Set Swing length for your style (5-10 scalping, 20-50 swing) and pick an HTF
roughly 4-6x your chart timeframe.
- Read top-down: check the HTF bias and current Premium/Discount zone in the
dashboard, then wait for a confluence LONG/SHORT where a fresh OB is retested
in the right half of the range.
- Treat the marks as a filtered context for your own entries, not as automatic
buy/sell orders. Structure-based invalidation (beyond the OB or the sweep
extreme) gives a natural stop level.
- Every drawing and event (BOS, CHoCH, new/touch OB, FVG, sweep, EQH/EQL,
breaker, confluence) has its own toggle and its own alert() condition, and the
top-right info table (dashboard) can be shown or hidden in settings.
WHAT IT DOES NOT DO / LIMITATIONS
- Pivots need swingLen bars to confirm, so structure, OBs and FVGs print after
confirmation on closed bars. This is by design to avoid repainting; levels are
reactive, not predictive.
- It does not forecast price, and past behaviour does not guarantee future
results. This is a decision-support tool, not a signal service.
Open-source under MPL 2.0 - study, fork and improve it freely.
릴리즈 노트
v2.1 adds two optional, display-only tools (off by default): Smart Visibility, which keeps only the order blocks nearest to price and hides the rest to declutter the chart; and an Asia/London/New York session background. Detection and signals are unchanged.오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Здесь каждый день новый сюжет, мы делаем это для наших людей👇
✅Сайт - pers-c.com/
✅Tg - t.me/PersonalConcentrate
✅Tg - t.me/concentratepublic
✅YouTube - youtube.com/@Свойконцентрат
Никогда не сдавайся!
✅Сайт - pers-c.com/
✅Tg - t.me/PersonalConcentrate
✅Tg - t.me/concentratepublic
✅YouTube - youtube.com/@Свойконцентрат
Никогда не сдавайся!
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Здесь каждый день новый сюжет, мы делаем это для наших людей👇
✅Сайт - pers-c.com/
✅Tg - t.me/PersonalConcentrate
✅Tg - t.me/concentratepublic
✅YouTube - youtube.com/@Свойконцентрат
Никогда не сдавайся!
✅Сайт - pers-c.com/
✅Tg - t.me/PersonalConcentrate
✅Tg - t.me/concentratepublic
✅YouTube - youtube.com/@Свойконцентрат
Никогда не сдавайся!
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.