אינדיקטור

אסטרטגייה

אינדיקטור

Historical IQBy:MasterTonyTA
---
**Historical IQ— Track % Bull/Bear to gauge Historical Context of moves**
This indicator measures the historical reliability of key percentage levels derived from pivot highs and pivot lows. Rather than simply drawing support and resistance zones, it scores each level based on what price actually did when it arrived there — giving you a data-driven read on whether a level is worth trading or fading. CUSTOM PICK A % MOVE TO SEE HOW PRICE AS REACTED AT THAT %
---
**HOW IT'S CALCULATED**
The indicator operates in one of two modes — Bear or Bull — never both at once, keeping the chart clean and the analysis focused.
**Bear Mode (Pivot High → -N%)**
Every confirmed pivot high is identified using a configurable left/right bar lookback. From that pivot, a horizontal band is drawn at your chosen percentage below it — for example, -10% — with an adjustable tolerance creating a band rather than a single line. Once price enters a new pivot's range the previous band is closed off and locked for historical scoring.
On the final bar, every historical band is scanned bar by bar across its entire time window. Each band falls into one of three outcomes: price reached the band and closed above it (held as support — painted gold), price reached the band and closed below it (broke through — painted red), or price never reached the band at all (untouched — painted red but excluded from scoring).
**Bull Mode (Pivot Low → +N%)**
The same logic runs in reverse. Every confirmed pivot low generates a band at your chosen percentage above it. The three outcomes become: price reached the band and stalled without closing above it (resistance held — gold), price reached the band and closed above it (broke through — painted green), or price never reached the band (untouched — excluded from scoring).
**The Scoring**
Only bands that price actually tested are included in the stats. Untouched bands are deliberately excluded because a level that was never reached tells you nothing about whether it would have held. The gold hit rate is therefore a pure measure — out of every time price came to this level, how often did it respect it?
---
**HOW TO READ THE TABLE**
The stats table sits top-right and updates on every bar. It shows:
**🟡 Gold (held/stalled)** — the number of historical bands where price tested the level and respected it. In Bear mode this means closed above; in Bull mode this means stalled without closing above.
**🔴 Broke through / 🟢 Broke through** — the number of times price tested the level and pushed straight through. These are the failures.
**Times tested** — gold plus broke. This is the denominator for all calculations. Untouched bands are not included here.
**○ Not yet reached** — shown for context only. These bands exist on the chart but have no vote in the ratio since price never arrived.
**🎯 Gold hit rate** — the headline number. This is gold divided by times tested, expressed as a percentage. A reading above 60% lights up gold. Below 60% it turns red. This is the number to watch.
**Gold : Broke ratio** — the same relationship expressed as a simplified ratio. A 3:1 ratio means for every three times the level held, it broke once.
**Reading** — a plain-language verdict based on the gold hit rate:
- 70% and above → Strong support / Strong resistance
- 50–69% → Moderate support / Moderate resistance
- 30–49% → Weak support / Weak resistance
- Below 30% → Unreliable
---
**HOW TO USE IT** FIND HISTORICAL % AND WHAT HAPPENED TO SEE THE IMPLICATIONS OF MOVES
**Dialing in your target** — start by choosing a percentage that is meaningful for the asset you are trading. Volatile assets like crypto may show more meaningful clusters around larger moves such as 15–20%. Blue chip equities or indices often show cleaner structure at 8–12%. The goal is to find the percentage where the gold hit rate is consistently above 60% across history — that tells you the market has a genuine memory of that level.
**Using the tolerance** — the band width setting controls how precise price needs to be to count as a test. A tighter tolerance like 0.2% gives you a sharper level but fewer touches. A wider tolerance like 1% captures more wicks and approaches but may dilute the quality signal. Start tight and widen only if you are seeing very few tests.
**Bear mode use case** — after a significant high has formed and the market is declining, the gold bands ahead of price show levels where the market has historically found buyers at this same percentage distance from a prior peak. A high gold hit rate at your chosen decline level is a data-backed reason to watch for a bounce or entry there rather than guessing.
**Bull mode use case** — after a significant low has formed and the market is rallying, the gold bands show levels where price has historically stalled at this percentage distance from a prior trough. A high gold hit rate is a reason to consider taking profits, tightening stops, or watching for reversal signals as price approaches.
**Pivot sensitivity** — the left and right bar inputs control how significant a pivot needs to be to qualify. Higher values require a more dominant high or low with more bars confirming on either side, producing fewer but more meaningful pivots. Lower values produce more pivots and more bands but may include minor swings that add noise.
**The live label** — the percentage shown at the current bar tells you exactly where price sits relative to the most recent pivot. When price enters a band the label turns gold as a real-time visual alert that price is at a historically significant level right now.
--- אינדיקטור

אינדיקטור

אינדיקטור

אינדיקטור

volatility new Volatility Filtering (The "VIX" Brain)
The code constantly monitors the India VIX (Volatility Index).
Dynamic Bands: Instead of fixed levels, the Buy/Sell bands expand or contract based on VIX. If the market is "nervous" (High VIX), the bands widen to protect you from "noise" and fake breakouts.
Safety Switch: It uses a VIX EMA 25 to determine if volatility is stable. If VIX spikes too high (sudden panic), it may block a "Buy" signal to keep you safe from a potential trap.
2. Trade Signals
BUY (Bullish): Triggered when the price breaks above the Upper Band while the VIX is relatively stable (no sudden spike).
SELL (Bearish): Triggered when the price breaks below the Lower Band while VIX is showing strength (above its average).
SIDEWAYS (Grey): When the price is trapped between the bands or the trend has ended, the background turns Grey, indicating a "No Trade" zone.
3. Trend Management & Exit
Trailing Stop: The Orange Line (EMA 25) acts as your exit trigger.
In a Buy trade, if the price closes below the Orange line, the trend is over.
In a Sell trade, if the price closes above the Orange line, the trend is over.
4. Real-Time Dashboard
The table in the top-right corner gives you a "Quick Look" at:
Trend: Shows BULLISH, BEARISH, or SIDEWAYS.
VIX Status: Tells you if the market is STABLE or in HIGH VOL mode.
Entry Price: Remembers exactly where the signal started so you can track your potential profit/loss.
In short: It is a smart trend-follower that "widens" its filters when the market gets crazy and "tightens" them when the market is calm. אינדיקטור

אסטרטגייה

אינדיקטור

אינדיקטור

אינדיקטור

אסטרטגייה

אינדיקטור

Intraday Regime ClassifierIntraday Regime Classifier helps traders identify whether the current market is trending, rotating, or choppy so they can better match strategy to conditions. It is designed as a context and trade-filtering tool for intraday trading, not as a standalone entry system.
The goal is to improve decision-making by matching strategy to conditions. Trend-following setups tend to work better in directional environments, while fade, reversal, or LVN-based setups often work better in rotational or two-sided sessions. This indicator helps traders avoid forcing the wrong setup in the wrong regime.
It is not meant to predict exact highs or lows. It is a context tool. Think of it as a market filter that helps answer a simple question: what kind of day am I dealing with right now?
What the indicator does
The script evaluates intraday price behavior and classifies the market into a regime based on factors such as:
directional movement
trend strength
expansion vs compression
volatility conditions
whether price is behaving more like a breakout market or a rotational market
In practical terms, it helps with three things:
Strategy selection
It helps you decide whether to trade continuation, mean reversion, break-and-retest, or just stay patient.
Trade filtering
It can keep you out of low-quality conditions where your setup usually underperforms.
Expectations
It helps you frame the day correctly. On a trend day, you expect pullbacks to hold. On a rotational day, you expect breakouts to fail more often.
How to use it
The best way to use the indicator is as a market filter, not as a standalone entry signal.
A simple framework:
When the indicator shows a trend regime, favor breakout, pullback, and continuation setups.
When the indicator shows a mean reversion or rotational regime, favor fades, reversals, LVN reactions, and range trades.
When the indicator shows neutral or mixed conditions, reduce size, be more selective, or wait for cleaner structure.
This can be especially useful intraday because market behavior often shifts during the session. The open may trend, mid-session may chop, and the afternoon may expand again. The indicator is there to help you adapt rather than assume the same playbook works all day.
Trend
A trend regime means price is moving directionally with enough strength and consistency to favor continuation-style trades. In this environment, pullbacks are more likely to be pauses than full reversals.
Best suited for:
breakouts, pullbacks, trend continuation, break-and-retest setups
Mean reversion / rotational
A mean reversion regime means price is rotating, trading two-sided, or returning toward value rather than accepting higher or lower prices cleanly. Breakouts are more likely to fail and reversals tend to work better.
Best suited for:
fades, reversals, LVN reactions, support/resistance bounces, scalp-style rotation trades
Neutral / mixed / chop
A neutral regime means the market is not showing a strong directional edge or a clean rotational structure. These conditions often produce false starts and lower-quality setups.
Best suited for:
patience, reduced size, waiting for confirmation, or standing aside
Input settings explained:
Lookback length
This controls how much recent data the indicator uses to classify market conditions.
Lower values make the indicator more responsive, but also more sensitive and noisy.
Higher values make it smoother and more stable, but slower to react.
Use shorter settings if you want faster intraday shifts. Use longer settings if you want a steadier read on the session.
Trend threshold
This controls how strong price movement must be before the market is classified as trending.
Lower threshold = easier to label conditions as trend
Higher threshold = requires stronger directional evidence
If the indicator is flipping into trend mode too often, raise this setting. If it feels too slow to recognize real trend days, lower it slightly.
Mean reversion / chop threshold
This controls how easily the script classifies the market as balanced, rotational, or non-trending.
Lower values may classify more sessions as rotational
Higher values may reduce chop signals and keep the script more selective
This is useful if you want to better separate true trend from noisy two-sided trading.
Volatility filter
This adjusts how much the script accounts for current range or expansion conditions.
Higher volatility settings usually demand more movement before a regime shift
Lower settings usually make the script react faster during quieter sessions
This helps normalize the classifier across different types of days.
Smoothing
Smoothing reduces noise and prevents the classification from changing too quickly.
More smoothing = cleaner output, slower changes
Less smoothing = faster output, more flips
If you are using the indicator for higher-confidence context, more smoothing usually helps. If you want fast adaptation, reduce smoothing.
Session filter
If your script includes a session input, this limits calculations to a specific trading session, such as New York hours.
This is useful because intraday behavior often changes a lot outside the main session. Restricting calculations to the primary session can produce more relevant classifications.
Display options
These settings usually control things like:
background colors
labels
regime text
plots
alerts
These do not change the underlying logic. They only affect how the information is displayed on the chart.
אינדיקטור

אינדיקטור

אינדיקטור

AI SuperTrend Strength Forecasting Engine [TraderZen]The question that matters most in real time: "How confident should I be in this setup right now?"
The ML Trend Strength Forecasting Engine was built to answer that question directly. Instead of drawing lines on a chart and leaving interpretation to the trader, it computes a numerical confidence score for every potential bull and bear setup as it forms. It evaluates the quality of the setup context, the strength of the trigger bar, the state of the broader market regime, and whether similar setups in the recent past actually worked. The output is a percentage — how likely is this signal to follow through.
The indicator does not generate buy or sell signals in the traditional sense. It provides a calibrated confidence reading that helps the trader decide whether to act, wait, or pass entirely.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Differences and Advantages
What KNN Predicts
Generally: "Will the trend direction be right?"
This Indicator: "Will this setup hold or expand?"
Training Labels
Generally: Past indicator directions (circular — predicting itself)
This Indicator: Actual price outcomes (self-validating — did the trade work?)
Signal Source
Generally: Single trend line or oscillator
This Indicator: 7-anchor cluster consensus (VWAP, VWMA, EMA, SMA, RMA, HMA, Donchian)
Features
Generally: RSI + MA deviation at multiple timeframes
This Indicator: Context + Trigger + Volume + ADX + Trend Distance — Kalman-filtered
Confidence Meaning
Generally: "How similar to past indicator wins"
This Indicator: "How likely to follow through based on setup quality + historical analogs"
Accountability
Generally: No rejection tracking, no performance feedback
This Indicator: Rejection markers on failed signals + live win rate dashboard
Adaptivity
Generally: Fixed normalization window, static thresholds
This Indicator: Adaptive ceilings, vol regime scaling, running stats, memory decay
How It Works
The engine runs five interconnected layers , each feeding into a final confidence score.
Layer 1 — The Anchor Cluster
Seven moving averages are computed simultaneously: VWAP, VWMA, EMA, SMA, RMA, HMA, and the Donchian midpoint. These are grouped into four families:
Institutional — VWAP and VWMA
Trend — EMA, SMA, RMA
Fast — HMA
Structural — Donchian midpoint
The high, low, and midpoint of this entire cluster define where the market's center of gravity sits. A bullish candidate is detected when price crosses above the cluster midpoint from below. A bearish candidate is detected when price crosses below from above. The crossing is the trigger event. Everything else evaluates the quality of that cross.
Layer 2 — Context Scoring
Before the cross happens, the engine has been watching:
How long price spent on the other side ( duration )
How far it traveled away from the cluster ( excursion )
How tightly the anchors are compressed ( compression )
How much slope agreement exists across anchor families ( coherence )
Where price sits relative to the cluster edges ( clearance )
These components combine into a context score that answers: "Was the setup that led to this cross a good one?"
Context scoring is weighted — side positioning and slope carry the most influence, followed by compression and clearance, with duration and excursion providing secondary confirmation.
Layer 3 — Trigger Scoring
The crossing bar itself is evaluated for quality. A strong trigger bar:
Has a solid body (not a doji)
Closes near the directional extreme (close near the high for bulls, near the low for bears)
Shows force momentum aligned in the right direction
Has meaningful distance from the cluster
Represents a genuine cross rather than a wick touch
Each dimension is scored and blended into a trigger score.
Layer 4 — Regime and Features
The broader environment is assessed through Kalman-filtered features : relative volume versus its baseline, relative ATR versus its baseline, ADX trend strength, and price distance from the trend moving average. These are smoothed to reduce noise while preserving directional shifts.
Volatility regime awareness scales key thresholds automatically. In low-volatility environments, the engine tightens its excursion and distance requirements. In high-volatility environments, it loosens them. This prevents the indicator from being too sensitive in calm markets and too restrictive in active ones.
Layer 5 — Adaptive Analog Memory (KNN)
This is the differentiator. Every time a candidate signal is generated, the engine stores its five feature values (context, trigger, volume, ADX, trend distance) along with what actually happened over the following evaluation window. Did price hold above the cluster? Did it expand meaningfully? The outcome is recorded as a success or failure.
When a new candidate appears, the engine searches its memory for the most similar historical setups using a k-nearest-neighbors algorithm. Key details:
Features are normalized to equal scales using running statistics
Older samples receive exponentially decaying weights so the memory adapts as market behavior shifts
The KNN prediction is blended with the base confidence score
The memory learns and improves as it accumulates data on the specific instrument and timeframe
The memory requires a warmup period. Until enough resolved candidates have been recorded, the engine relies solely on the base scoring.
Putting It Together
The final confidence score blends the base score (context, trigger, regime, trend alignment) with the KNN analog prediction. The result is displayed as a percentage for both the bull and bear side. When confidence exceeds the threshold and beats the opposite side by a directional edge, a signal label appears on the price chart.
If a signal later fails to hold or expand, a small rejection marker ("x") appears on the chart — providing direct visual accountability.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How To Use It
Reading the Pane
The indicator occupies its own pane below the price chart. Five elements are displayed:
Ribbon (top bar) — shows current state by color:
Gray = idle, Yellow = watching bull, Purple = watching bear, Aqua = armed bull, Fuchsia = armed bear, Green = bull signal, Red = bear signal
Dominant confidence line (thicker) — tracks the higher of the two side scores. When it rises above the confidence threshold line, a signal is likely imminent.
Bull and bear confidence lines (thinner) — show each side independently. Watching these diverge helps anticipate which direction will win.
Bias line — oscillates around 50. Above 50 = bull dominant. Below 50 = bear dominant.
Reading the Chart Labels
Green label with % — bull signal fired with confidence above threshold
Red label with % — bear signal fired
Dimmed green "x" — a bull signal was rejected (failed to hold or expand)
Dimmed red "x" — a bear signal was rejected
Higher percentages indicate stronger setups. Every signal is eventually graded pass or fail.
Reading the Dashboard
The dashboard in the bottom-right corner shows:
Bull and bear signal counts and win rates
Memory status (warming up or active with sample counts)
Current volatility regime (low, normal, or high)
Session status and bar count
Context and trigger score breakdown
Family coherence percentage
Force momentum direction
The win rate is the most important dashboard metric. Above 60% = well-calibrated. Below 45% = thresholds may need adjustment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Important Settings
Confidence Threshold (default: 65%)
The minimum confidence required for a signal label to appear. This is the primary sensitivity control . Lower = more signals with weaker setups. Higher = fewer, more selective signals.
Armed Threshold (default: 45%)
Minimum confidence for the ribbon to show an armed state (aqua/fuchsia). Acts as a pre-signal alert — when the ribbon transitions from watch to armed, a signal may be imminent.
Watch Threshold (default: 45%)
Minimum context score to enter watch mode (yellow/purple). Lower values start tracking setups earlier.
Directional Edge (default: 5.0)
Minimum gap between bull and bear confidence required for a signal. Prevents signals in ambiguous conditions where both sides score similarly.
Resolution Bars (default: 8)
How many bars after a signal the engine waits before grading it pass or fail. Shorter = more responsive grading. Longer = more forgiving.
Hold Outcome Ratio (default: 0.60)
Fraction of resolution bars price must stay on the correct side for a success grade. At 0.60 with 8 bars, price must hold for at least 5 of 8 bars.
Expansion Outcome Target (default: 1.00 ATR)
Minimum price expansion required for an alternative success grade. A signal can succeed by either holding position or expanding sufficiently .
Memory Decay Rate (default: 0.005)
How quickly older memory samples lose influence. Higher = more recency-biased. At default, recent samples carry roughly 2x the weight of samples from 140 bars ago.
History Size (default: 120)
Maximum resolved samples in analog memory. Larger = more context but more computation.
Session Settings
Configure to match the instrument's primary trading session. Default is 0930-1600 America/New_York (US equities and futures).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What This Indicator Is Not
It does not predict price direction. It evaluates setup quality and follow-through probability.
It does not replace risk management . A 75% confidence signal can and will fail. The rejection markers exist to make this visible.
It does not work equally on all instruments without adjustment. The adaptive mechanisms handle much of the calibration automatically, but the confidence threshold may need tuning. The dashboard win rate provides the feedback loop.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, and it does not constitute a recommendation to buy, sell, or hold any financial instrument.
All trading involves risk. Past performance of any signal, scoring system, or pattern recognition mechanism does not guarantee future results. The confidence percentages represent a statistical assessment based on the scoring model and historical analogs available within the loaded chart data. They are not predictions and should not be treated as certainties.
The adaptive analog memory learns from the chart data currently loaded in TradingView. Its effectiveness depends on having sufficient resolved samples, and its learned patterns may not generalize to future market conditions, different instruments, or different timeframes.
The win rate displayed in the dashboard reflects performance on the loaded chart history only and is subject to survivorship bias, lookback bias, and data limitations inherent to backtesting on historical bars.
No indicator, algorithm, or model can account for all market variables including liquidity events, news-driven gaps, exchange outages, or sudden regime changes. Traders should always use independent risk management, position sizing, and their own judgment before entering any trade.
By using this indicator, you acknowledge that you are solely responsible for your own trading decisions and that the authors accept no liability for any losses incurred.
אינדיקטור

Astro confluenceAstro Confluence is a time-only composite indicator that translates planetary cycles into a single actionable score from 0 to 100. It requires no price data — every value is computed purely from astronomical periodicities, which means the score can be projected deterministically into the future.
How it works
The indicator models 12 planetary forces as sinusoidal proxies of real orbital periods:
Lunar cycle (~29.5 days) — new moon / full moon risk-on/off rhythm, combined with the half-lunar quarter cycle.
Eclipse seasons (~173 days) — periods of elevated geopolitical and volatility risk.
Mercury retrograde & stations (~116 days) — choppy, reversal-prone windows where directional conviction drops.
Venus synodic (~584 days) + 8-year cycle — favorable or unfavorable conditions for accumulation and value.
Mars synodic (~780 days) — energy, momentum, and conflict-driven corrections.
Jupiter (~4,333 days) — expansion, speculation, growth phases.
Saturn (~10,759 days) — contraction, regulation, structural pressure.
Jupiter-Saturn synodic (~7,254 days) — the 20-year "Great Conjunction" cycle that governs secular bull/bear regimes.
Solar Inertial Motion (SIM) — a barycentric proxy combining Jupiter and Saturn. Turning points in SIM historically coincide with major trend regime changes.
Outer planet stacking — alignment of Jupiter through Pluto. When all five outer planets pull in the same direction, it creates a broad macro tailwind (or headwind).
Solar declination (~365.25 days) — annual seasonality baked into market structure.
Each force is multiplied by an asset-specific weight and summed into a raw composite, which is then normalized to a 0–100 scale and double-EMA smoothed.
Asset class profiles
Different markets respond to different planets. The indicator ships with seven tuned profiles:
Crypto — Uranus-dominant (technology, disruption). Jupiter amplified for speculation. Saturn strongly bearish (regulation).
Gold & Silver — Venus and Lunar dominant. Saturn is positive here — scarcity and store-of-value are gold's nature.
Oil & Gas — Mars dominant (energy, conflict). Neptune via Outer stack (liquids, hydrocarbons). High eclipse sensitivity.
Tech Stocks — Mercury dominant (data, networks). Uranus via SIM (innovation cycles). Mercury retrograde especially disruptive.
Equities (broad) — Balanced profile. Jupiter-Saturn 20-year cycle is the primary secular driver.
Forex — Mercury and Lunar dominant (trade, sentiment). Saturn heavily weighted (central bank policy).
Bonds — Saturn dominant and positive (stability, duration). Mars is inverted — conflict drives flight to safety.
Natal transit scoring
Each asset has a "birth date" — the genesis block, IPO, index inception, or futures launch. The indicator computes how current planetary positions relate to the positions at that birth moment. Harmonious aspects (conjunction, trine, sextile) boost the score; tense aspects (square, opposition) reduce it.
Pre-set birth dates are included for BTC, ETH, SOL, XRP, S&P 500, NASDAQ, AAPL, TSLA, Gold, Crude Oil, and EUR/USD. You can also enter a custom date for any asset.
The Transit influence slider (0.0–1.0) controls how strongly natal transits affect the final score. Set to 0 to disable.
Future projection
Because the model is purely time-based, future scores are fully deterministic. The Future projection toggle draws the score line up to 24 months ahead, using the same double-EMA smoothing seeded from the current bar. This lets you see upcoming bullish and bearish windows, Mercury retrograde dips, eclipse risk zones, and SIM turning points before they arrive.
Reading the indicator
The score line is color-coded:
Lime — strong bullish (score above 80)
Green — bullish / long zone (above 69)
Muted green — lean bullish (above 56)
Gray — neutral (44–56)
Muted red — lean bearish (below 44)
Red — bearish / short zone (below 31)
Orange — risk-off override (eclipse + Mercury retrograde overlap, or SIM turn + outer stack stress)
Fuchsia — rare compression window (multiple stress factors aligned — expect high volatility)
The background heatmap mirrors the score with a smooth gradient from red through transparent to green. Intensity increases as the score moves further from 50.
Three horizontal reference lines at 69, 50, and 31 mark the long zone, neutral, and short zone boundaries.
Legend table
The top-right table shows a real-time breakdown of six force groups (Lunar, Mercury, Venus, Mars, SIM, Outer) with signed values, visual bar meters, and heat-map cells.
This indicator is an experimental tool based on astronomical cycle theory. It does not use price, volume, or any market data — it is a pure time model. Planetary periods are approximated with fixed sinusoidal frequencies, not live ephemeris data. Use it as a supplementary timing layer alongside your primary technical and fundamental analysis, not as a standalone trading system. אינדיקטור

Precision Exit Planner
This indicator provides traders with a complete visual framework for planning trade exits before entering a position. Rather than generating buy or sell signals, this tool focuses on the critical post-entry phase: defining stop-loss placement, setting multiple take-profit targets, and calculating position size based on risk parameters.
What This Indicator Does
The Precision Exit Planner displays horizontal price levels representing your entry, stop-loss, and up to three take-profit targets. These levels are shown as colored lines extending to the right of the current price action, with accompanying price labels and optional colored zones that visually map your risk and reward areas. An information panel provides real-time calculations including risk-reward ratios and, when enabled, position sizing metrics.
How It Works
-Entry Price Determination
The entry price can be set through multiple methods. Manual mode allows you to input a specific price, useful for planning trades at anticipated levels before the market reaches them. Candle Open uses the current bar's opening price for real-time planning immediately after entry. Previous Bar modes (Close, High, Low) anchor to the prior bar's price points, which suits breakout strategies using the previous bar's high or pullback entries using the previous low.
-Stop-Loss Calculation
Three stop-loss methods are available. Percent mode places the stop at a fixed percentage distance from entry, providing consistent risk regardless of volatility. ATR mode uses the Average True Range indicator multiplied by a configurable factor, automatically adapting to current market volatility. Fixed Points mode uses an absolute price distance measured in the instrument's minimum tick units, suitable for futures or when you need precise tick-based stops.
-Take-Profit Calculation
Take-profit levels can be calculated using four methods. Percent mode mirrors the stop-loss percent approach. ATR mode uses separate ATR multipliers for each target, allowing volatility-adjusted profit targets. Fixed Points mode uses absolute distances like the stop-loss equivalent. Risk Multiple mode defines take-profits as multiples of your stop-loss distance, directly targeting specific risk-reward ratios (e.g., 2.0 creates a 2:1 reward-to-risk at that level).
-Position Sizing (Optional)
When enabled, the position sizing calculator determines optimal trade size based on your account balance and chosen risk percentage per trade. The formula divides your dollar risk (account balance multiplied by risk percent) by the risk per unit (stop-loss distance multiplied by contract value), yielding the position size that risks exactly your specified percentage.
-Partial Exit Allocation (Optional)
This feature calculates projected dollar profits when scaling out of a position at different take-profit levels. You define what percentage of your position to exit at each target (e.g., 33% at TP1, 33% at TP2, 34% at TP3), and the panel displays expected profit from each partial exit plus the total projected profit if all targets are reached.
-Break-Even Stop Level (Optional)
Displays a separate price level showing where to move your stop-loss after the first target is hit, typically to your entry price plus a small offset to cover commissions. This level appears as a dashed orange line when enabled.
-Pip/Point Display (Optional)
Converts all distance measurements from price units to pips or points using a configurable multiplier. Standard forex pairs use 10000, JPY pairs use 100, and stock indices typically use 1. This allows traders who think in pip terms to see familiar units.
Visual Representation
The indicator draws colored background zones between price levels. Green zones (with configurable opacity) appear between entry and take-profit levels, visually representing reward potential. The red zone between entry and stop-loss represents risk. The opacity gradient (default 85, 65, 55 for TP zones) creates visual emphasis on extended targets.
How To Use It
Trade Planning Workflow
1. Set your Trade Side (Long or Short) based on your directional bias
2. Input your Entry Price using manual mode for planned trades, or select an anchor mode for real-time entries
3. Configure Stop-Loss using your preferred method (percentage for simplicity, ATR for volatility adaptation, fixed points for precision)
4. Set Take-Profit targets using the same method consistency or Risk Multiple mode to target specific risk-reward ratios
5. Enable Position Sizing if you need to calculate lot/share size based on account risk parameters
6. Enable Partial Exits to plan scaling out of the trade
Alert Usage
The indicator includes alerts for when price touches or crosses any of your defined levels. Set alerts on TP1, TP2, TP3, Stop Loss, Entry Level, or Break-Even to receive notifications without watching the chart. The "Any Exit Level Hit" alert triggers on any TP or SL touch.
What Makes This Tool Original
Unlike simple TP/SL line drawers, this tool integrates multiple calculation methods (percent, ATR, fixed points, risk multiples) for both stops and targets within a unified interface. The position sizing calculator transforms abstract percentage risk into concrete position sizes. The partial exit allocation shows projected dollar outcomes for scaled exits, helping traders plan position management before entering. The Risk Multiple mode directly targets risk-reward ratios rather than requiring manual percentage calculations. All components work together: change your stop-loss distance and your position size, partial profit projections, and risk-multiple-based targets all recalculate automatically.
The Wait for Bar Close option ensures all calculations are based on confirmed prices, eliminating any repainting behavior when backtesting or analyzing historical setups.
Suitable Markets and Timeframes
This indicator works on any market including forex, stocks, futures, indices, and cryptocurrencies. Since it calculates relative distances and risk percentages, instrument type does not limit functionality. The pip multiplier setting accommodates different decimal conventions.
For day trading (5-minute to 1-hour charts), ATR mode with shorter ATR lengths (7-10) provides responsive stop-loss and target placement. For swing trading (4-hour to daily charts), standard ATR length (14) or percentage-based levels work effectively. For scalping (1-minute to 5-minute charts), fixed points mode or tight ATR multipliers (0.5-1.0) suit rapid-fire trade planning.
Settings Reference
General Settings
- Wait for Bar Close: Prevents repainting by updating only on confirmed bars
Entry Settings
- Entry Mode: Manual, Candle Open, Previous Bar Close/High/Low
- Manual Entry Price: Custom entry when using Manual mode
- Trade Side: Long or Short
Stop Loss Configuration
- Stop Loss Mode: Percent, ATR, or Fixed Points
- Stop Loss Percent: Distance as percentage of entry
- ATR Length: Lookback period for ATR calculation
- ATR Multiplier: Factor applied to ATR for stop distance
- Stop Loss Fixed Points: Absolute tick/pip distance
Take Profit Targets
- Take Profit Mode: Percent, ATR, Fixed Points, or Risk Multiple
- TP1/TP2/TP3 values for each mode
- Show TP2/TP3: Toggle visibility of extended targets
Position Sizing
- Enable Position Sizing Calculator: Toggle the feature
- Account Balance: Total account value
- Risk Per Trade %: Percentage willing to lose per trade
- Contract/Lot Value: Value per unit (100000 for forex standard lot, 1 for stocks)
Partial Exit Allocation
- Enable Partial Exit Allocation: Toggle the feature
- TP1/TP2/TP3 Exit %: Percentage of position to close at each level
Break-Even Stop
- Enable Break-Even Stop Level: Toggle the feature
- Break-Even Offset: Points beyond entry for the break-even stop
Pip/Point Display
- Enable Pip/Point Display: Toggle the feature
- Pip/Point Multiplier: Conversion factor for the instrument
Extended Labels
- Show RR Ratio on Labels: Display risk-reward ratio on price labels
- Show Pips on Labels: Display pip distance on labels
Visual Settings
- Show Information Panel: Toggle the data panel
- Panel Position: Choose from 9 chart positions (Top/Middle/Bottom + Left/Center/Right)
- Enable Background Zones: Toggle colored risk/reward zones
- Zone colors and opacity settings for visual customization
Disclaimer
This indicator is a trade planning and visualization tool. It does not predict future price movements or guarantee trade outcomes. All trading involves risk. Past performance of any trading methodology does not guarantee future results. Users should conduct their own analysis and risk assessment before entering any trade. Position sizes calculated by this tool are suggestions based on user inputs and should be verified against broker requirements and personal risk tolerance.
אינדיקטור

Dynamic HTF FVG / 50% Level Dynamic HTF FVG - Multi-Symbol Correlation, is a comprehensive institutional trading tool designed specifically for ICT (Inner Circle Trader) and SMC (Smart Money Concepts) methodologies.
It combines multi-timeframe liquidity analysis, inter-market correlation, and daily range equilibrium into a single visual interface. Here is a detailed breakdown of its core components:
1. Dynamic HTF Fair Value Gaps (FVGs)
Unlike standard FVG indicators that just draw boxes, this script uses Dynamic Shrinking Logic:
Multi-Timeframe: It monitors 15m, 30m, 1h, 4h, and Daily timeframes simultaneously.
Mitigation Tracking: When price enters an FVG, the box dynamically "shrinks" to show only the remaining unmitigated portion.
Session-Aware Invalidation: During your specified London or NY Killzones, the indicator tracks if price "wicks" through a gap but waits for a session close or an HTF bar close to fully invalidate it. This helps you see "Draws on Liquidity" even after they've been tapped.
2. Multi-Symbol Correlation (SMT Analysis)
This is a powerful feature for identifying SMT Divergence:
You can track a second ticker (e.g., ES while trading NQ).
The indicator checks if the second ticker is also delivering from a Bullish or Bearish HTF FVG.
If NQ is bullish but ES is failing to reach its FVG (or vice versa), it signals potential institutional divergence.
3. The 50% Equilibrium Level (EQ)
Integrated from your specific request, this tracks the Daily Range:
True Day Open: It starts tracking the high and low at 17:00 Chicago time (the institutional start of the day).
Premium vs. Discount: By plotting the 50% line of the current daily range, it helps you identify if price is in Premium (above 50% - look for sells) or Discount (below 50% - look for buys).
4. Confluence Checklist & Status HUD
To prevent "analysis paralysis," the indicator provides a clean visual summary:
Status Labels: Floating text on the right side of the chart tells you exactly which timeframes are "ACTIVE" (e.g., NQ BULLISH ACTIVE (1H / 4H)).
Confluence Table: A table in the corner (Top Right by default) shows a "YES/NO" grid for both symbols, allowing you to see at a glance if the market is in sync.
Alerts: It includes automated alerts for when an HTF FVG becomes active or is "Invalidated" during a Killzone.
5. FVG Clustering
When multiple timeframes overlap (e.g., a 1h FVG inside a 4h FVG), the script clusters them:
Overlapping gaps are highlighted with a stronger "Combined" color.
The labels list all timeframes involved in that specific zone (e.g., 1H / 4H / D).
How to use it:
Identify the HTF Trend: Look for the Status HUD to say "ACTIVE" for higher timeframes (1H, 4H, D).
Check Correlation: Ensure the Correlation Ticker (ES) is also "ACTIVE" in the same direction.
PD Array Entry: Wait for price to enter a "Discount" (below the 50% line) for longs, or "Premium" (above the 50% line) for shorts, specifically targeting one of the Dynamic FVG boxes.
Killzone Timing: Execute your trades during the London or NY sessions highlighted by the indicator. אינדיקטור

אינדיקטור

אינדיקטור
