PROTECTED SOURCE SCRIPT
Aktualisiert

Smart Pro Entry Guide

49
Overview
Smart Pro Entry Guide (HTF Selectable, Full) is a multi-timeframe price–volume analyzer that blends wick/absorption reads, ATR-validated breakout and range-expansion filters, trend scoring, and pivot-based structure into a single, confluence-first decision layer.
With optional HTF routing, an intent engine for the last three HTF candles, and a visual dashboard, it outputs a real-time Chart Action (BUY/SELL/WAIT) plus the reason behind it, while plotting S/R, liquidity zones, and trendlines to make execution contexts obvious at a glance.
The goal is simple: align entries with dominant context and strong evidence while minimizing noise through volume and volatility-aware gating.

How it works
The script can run all calculations on a user-selected Higher Timeframe, or stay on the chart timeframe, enabling regime-aware bias and clean drilling from context to trigger without juggling multiple charts.
It scores price action with wick and absorption logic, validates momentum with ATR- and volume-based breakout/expansion tests, and classifies trend strength with a configurable green/red bar count against a moving average.
An HTF intent model evaluates the last three HTF bars against percentile thresholds for volume and body strength to set a majority bias, which is then combined with structure, liquidity, and trend filters to drive the final Chart Action and on-chart visuals.

  1. HTF routing: toggle useHTF to compute OHLCV, moving averages, and ATR on a chosen window_tf, propagating that context into all downstream logic.
  2. Price-action + volume filters: Wick Bull/Bear detect long lower/upper wicks >2×>2× body with directional closes; Absorption flags extreme closes at recent swing extremes on above-average volume and compressed bodies.
  3. Volatility and momentum: Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
  4. volume>1.5×volMA; Range Expansion requires range>1.5×avgRange
  5. range>1.5×avgRange with prior range <0.7×avgRange<0.7×avgRange in the direction of the close
  6. Trend engine: Counts green vs red bars over trendBarCount and requires
  7. trendScore≥trendScoreMin
  8. trendScore≥trendScoreMin with price above/below a moving average to qualify as Strong Trend Long/Short.
  9. Chart Action: BUY if strongTrendLong_ltf or long-intent filter is true, SELL if strongTrendShort_ltf or short-intent filter is true, else WAIT, enabling straightforward execution rules.
  10. HTF intent and bias: For each of the last three HTF bars, classifies BULLISH/BEARISH/CHOP when volume, body, and body% exceed rolling highs scaled by a percentile factor, then sets HTF BULLISH/BEARISH via ≥2≥2 majority voting (else HTF Chop).
  11. Structure and liquidity: Auto-detects S/R via pivots, draws trendlines from pivots, shades bias-aligned zones, and highlights “liquidity zones” when volume exceeds a configurable multiplier of a volume average near structure.
  12. Dashboard: A table summarizes HTF Intent, HTF Bias, Chart Action, filter activity, explicit Reason, trend scores, strong-trend flags, HTF vol/body metrics, and an adaptive Volume Sentiment state (Strong Bullish/Bearish, Bullish/Bearish, Neutral).


Why it helps
The design emphasizes confluence: HTF bias, LTF trend state, price-action signatures, and volume/ATR validation must align, reducing false positives that occur when signals are considered in isolation.
Structure- and liquidity-aware plotting puts actionable context—S/R, zones with above-average participation, and directional trendlines—directly on the chart, making it easier to filter trades and time entries with intent-backed confirmation.
The dashboard’s transparent “Reason” string and filter log create an auditable trail of why Chart Action changed, improving decision discipline and reproducibility.

How to use
  1. Trend continuation: In trending markets, favor Chart Action = BUY alongside HTF BULLISH near fresh supports and/or shaded liquidity zones, especially when filters show Wick Bull, Absorption Bull, or Range Expansion in the direction of trend.
  2. Reversal attempts: At resistance or after extended up moves, look for Wick Bear/Absorption Bear and Chart Action = SELL, ideally with HTF BEARISH or HTF Chop transitioning bearish to avoid counter-trend chop.
  3. Breakout follow-through: When Unusual Breakout triggers with both ATR and volume confirmation, trade continuation in the breakout direction while the dashboard maintains bias alignment and favorable Volume Sentiment.


Settings
  • useHTF + window_tf: Routes all core calculations to a higher timeframe for regime-aware bias and cleaner signal gating.
  • useWickAnalysis, useAbsorption, useUnusualBreakout, useRangeExpansion: Enable/disable specific price–volume filters that feed into Chart Action and Reasons.
  • trendBarCount, trendScoreMin: Control trend scoring sensitivity and what qualifies as a Strong Trend against a moving average.
  • length: Sets length for volume MA and ATR, impacting breakout/expansion thresholds and average range computation.
  • swing_look: Defines the lookback window for swing extremes used in absorption detection.
  • lookback_sup, percentile_fact: Configure rolling-high percentile thresholds used to classify HTF intent on volume, body, and body%.
  • showTable, showSR, showLIQ, showTrend, showZones: Toggle the dashboard, S/R labels, liquidity zones, trendlines, and bias-aligned shading.
  • srLook, liqLook, liqFactor: Tune pivot sensitivity and volume criteria for liquidity zone detection and marking.
  • dashboardPosition: Choose where the dashboard table renders on the chart.


Notes
  • Pivots require left/right bars for confirmation, so newly detected S/R and trendlines appear after sufficient bars form, helping avoid premature levels during developing swings.
  • Chart Action is deliberately conservative: it requires either a strong-trend state or a valid intent filter in the direction of the proposed trade, which can reduce noise in sideways conditions.
  • Volume Sentiment strengthens or softens the read by comparing current volume to a baseline and weighting by candle direction and near-term trend score.


how to use the indicator to make better trading decisions?
Focus first on the HTF Bias, then act only when Chart Action and filters align to build strong confluence and avoid trades during WAIT states.
Quick start
  1. Turn ON useHTF and choose window_tf so OHLCV, MA, and ATR are computed on an HTF; then read HTF Intent and HTF Bias on the dashboard to set the primary direction.
  2. On the LTF, check Chart Action (BUY/SELL/WAIT) and Reason, and act only when Chart Action aligns with the HTF Bias.
  3. Prioritize entries near recent S/R pivots, trendlines, and highlighted liquidity zones to ensure structure-supported trades.


Context and bias
  1. The HTF intent model evaluates the last three HTF candles against percentile thresholds for volume, body, and body% of their rolling highs and classifies each bar as BULLISH/BEARISH/CHOP.
  2. Majority voting sets “HTF BULLISH/BEARISH” when at least two bars agree; otherwise “HTF Chop,” which guides overall direction and strategy selection.


Entry triggers (LTF)
  • Wick Bull/Bear trigger when the lower/upper wick is >2×>2× the body and the close is directional, signaling rejection-style reversal/continuation.
  • Absorption Bull/Bear appear when the close is at a swing extreme with above-average volume and a compressed body, indicating aggressive participation.
  • Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
  • volume>1.5×volMA to validate a high-impulse move.
  • Range Expansion requires rane>1.5×avgRange range>1.5×avgRang and the prior range<0.7×avgRange<0.7×avgRange with a directional close, signaling a regime shift.
  • Strong Trend Long/Short holds when the trendScore ≥≥ its threshold and price is above/below the MA, helping filter pullback entries.


Trend continuation
  • In HTF BULLISH, when Chart Action = BUY, prioritize pullback entries near fresh supports or trendlines with long-side filters like Wick/Absorption/Expansion.
  • Holding bias is more consistent when Volume Sentiment is “Bullish/Strong Bullish” and the Reason shows long-side signals.

Reversal setups
  • After resistance or extended up-moves, look for Wick Bear/Absorption Bear; take Chart Action = SELL with HTF BEARISH or a Chop→Bearish transition for mean-reversion attempts.
  • In Chop or against HTF Bias, avoid aggressive sizing and treat WAIT as a valid output until confluence becomes clear.

Breakout follow-through
  • Right after an Unusual Breakout, seek continuation in the same direction when Volume Sentiment and HTF Bias agree and Reason shows “Breakout.”
  • Favor micro-pullbacks or flags retesting S/R above/below the breakout to improve risk-to-reward.


Risk management
  1. Use recent srLook-based pivot lows/highs for stop-loss placement since S/R and trendline construction rely on these.
  2. With Zones ON, consider initiating inside bias-aligned shaded areas and reducing or exiting when price moves outside them to keep invalidation clear.
  3. Skip trades during WAIT or Neutral Volume Sentiment to maintain the system’s noise-filtering purpose.


Tuning settings
  • Increasing window_tf makes bias more stable but reduces trigger frequency; decreasing it speeds bias changes and increases frequency.
  • Raising trendBarCount and trendScoreMin tightens the Strong Trend filter so only higher-quality pullbacks pass.
  • Increasing percentile_fact makes HTF intent thresholds stricter for volume/body, reducing bias flips.
  • Adjust liqLook and liqFactor to instrument volatility so liquidity zones highlight only meaningful participation.


Do and don’t
  1. Go against HTF Bias only when the Reason shows clear opposite-direction signals with structural confirmation; otherwise, prefer WAIT.
  2. Do not rely on breakout/expansion without volume confirmation, as the system validates them with 1.5×1.5× volume/ATR thresholds.
  3. Avoid assuming levels mid-swing; pivots need confirmation bars before S/R becomes reliable.


Workflow steps
  1. Switch useHTF = ON, select an appropriate window_tf, and read HTF Bias on the dashboard.
  2. On LTF, check Chart Action and Reason; if WAIT, skip.
  3. Validate location context with S/R labels, trendlines, and shaded zones; consider only structure-supported entries.
  4. Ensure at least one directional price–volume filter (Wick/Absorption/Breakout/Expansion) aligns with the HTF Bias.
  5. Favor pullbacks during Strong Trend; use conservative sizing in Chop/transitions.
  6. Place stops beyond pivots and manage partials or exits when Volume Sentiment/Reason shifts.


Notes
The indicator unifies “Chart Action + Reason + Context,” so avoid BUY/SELL without clear cause and location context to preserve system consistency.
Tune parameters to instrument and timeframe volatility to balance signal quality versus trade frequency.

Disclaimer
This indicator is an educational decision-support tool and not financial advice; market risk, slippage, and regime shifts can invalidate any setup, so independent research and risk management remain essential.
Past behavior in signals or dashboards does not guarantee future performance, and parameter choices should be adapted to instrument volatility and timeframe objectives.
Versionshinweise
color bar added
Versionshinweise
Update with new logic

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.