OPEN-SOURCE SCRIPT
Güncellendi Confidence Score – DAX & BUND (Auto) by G.I.N.e Trading

Confidence Score – DAX & BUND (Auto)
This indicator calculates a confidence score (0–5) to filter trade signals based on market conditions, adapting its parameters automatically for the DAX and the German Bund futures.
The score is built from five independent conditions:
ADX Strength – Measures trend directionality. Score point if ADX is above a defined threshold.
RSI Position – Avoids the neutral “no-trade zone” between two RSI levels. Score point if RSI is outside this range.
Price Range Expansion – Checks whether the recent price range (over N bars) is large enough relative to current price.
Candle Body Size – Ensures the current candle body is significant compared to the total high–low range (avoiding very small-bodied candles).
Volume Confirmation – Requires current volume to be above its moving average and higher than the previous bar.
Score Interpretation:
4–5 points → Green: strong, clear market conditions (high confidence).
2–3 points → Orange: moderate conditions (trade with caution).
0–1 points → Red: weak, choppy market (high noise).
DAX Logic:
Used for trend-following entries only.
Trades are allowed only if the score is above the DAX threshold and the price is aligned with the main trend (defined by HMA).
BUND Logic:
Used for trend-reversal entries only.
Trades are allowed only if the score is above the Bund threshold and the price is against the main trend, confirming a potential reversal setup.
Key Features:
Automatic instrument detection (DAX vs. BUND) with parameter adjustment.
Separate score thresholds for DAX (trend continuation) and Bund (reversals).
Visual columns showing score levels and optional bar coloring when score ≥ 4.
Context windows plotted as small markers to indicate when trade setups are allowed according to the instrument-specific rules.
This indicator should be used as a filter in combination with your core entry strategy (e.g., HARSI Cross, MACD, VSA) to avoid taking trades in low-confidence, noisy market conditions.
This indicator calculates a confidence score (0–5) to filter trade signals based on market conditions, adapting its parameters automatically for the DAX and the German Bund futures.
The score is built from five independent conditions:
ADX Strength – Measures trend directionality. Score point if ADX is above a defined threshold.
RSI Position – Avoids the neutral “no-trade zone” between two RSI levels. Score point if RSI is outside this range.
Price Range Expansion – Checks whether the recent price range (over N bars) is large enough relative to current price.
Candle Body Size – Ensures the current candle body is significant compared to the total high–low range (avoiding very small-bodied candles).
Volume Confirmation – Requires current volume to be above its moving average and higher than the previous bar.
Score Interpretation:
4–5 points → Green: strong, clear market conditions (high confidence).
2–3 points → Orange: moderate conditions (trade with caution).
0–1 points → Red: weak, choppy market (high noise).
DAX Logic:
Used for trend-following entries only.
Trades are allowed only if the score is above the DAX threshold and the price is aligned with the main trend (defined by HMA).
BUND Logic:
Used for trend-reversal entries only.
Trades are allowed only if the score is above the Bund threshold and the price is against the main trend, confirming a potential reversal setup.
Key Features:
Automatic instrument detection (DAX vs. BUND) with parameter adjustment.
Separate score thresholds for DAX (trend continuation) and Bund (reversals).
Visual columns showing score levels and optional bar coloring when score ≥ 4.
Context windows plotted as small markers to indicate when trade setups are allowed according to the instrument-specific rules.
This indicator should be used as a filter in combination with your core entry strategy (e.g., HARSI Cross, MACD, VSA) to avoid taking trades in low-confidence, noisy market conditions.
Sürüm Notları
This indicator is designed to confirm breakout events (“rotture”) by combining range expansion analysis, trend filtering, fractal breakouts, and volume-based confirmation. It automatically adapts its parameters depending on whether the current instrument is the DAX (including micro and mini contracts) or the Bund. The goal is to filter out false breakouts and highlight high-probability setups.Core Logic:
Instrument Auto-Profiling
Automatically detects if the chart is for DAX, Bund, or another instrument.
Adjusts all key parameters (thresholds, filters, ATR usage, volume multipliers) according to the selected profile.
Manual override is available.
REB – Range Expansion Breakout
Measures the current bar’s range compared to a dynamic base (average range or ATR).
A bar is considered a “Range Expansion Bar” if it exceeds a configurable multiple of this base.
Trend Filter (HMA Slope)
Uses the slope of the Hull Moving Average to confirm the trend direction.
Only allows long breakouts in uptrend conditions and short breakouts in downtrend conditions.
Fractal Breakout Condition
Optional requirement: breakout must occur beyond the most recent Bill Williams fractal level.
Can confirm at close or intra-bar.
Volume Filters
Simple Volume Filter: Requires volume to be above a multiplier of the moving average.
VSA Filter: Requires both a wide spread and high volume relative to average, capturing “strong” breakout bars.
Armed Trigger Mode (Two-Step Entry)
Step 1: Detect a valid REB setup (“armed” state).
Step 2: Confirm entry within a certain number of bars when price breaks beyond the REB candle’s high/low (or closes beyond it).
Designed to reduce premature entries and improve breakout confirmation.
Visual & Debug Tools
Plots REB signals (green for long, red for short).
Shows REB intensity ratio (current range / base range).
Displays armed state line (+0.5 for long, -0.5 for short).
Optional fractal level guide lines.
VSA confirmation markers.
Profile info label with active parameters.
Alerts:
Long REB
Short REB
Armed REB waiting for trigger
Use Case:
Ideal for breakout traders who want:
Automatic adaptation of parameters per instrument
Volume and volatility confirmation before entering
Protection against false breakouts via trend direction and fractal filtering
Option to delay entry until a post-breakout trigger occurs
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.