Pine Script® indicator
Indicators and strategies
Conflux Engine | AnonycryptousConflux Engine | Anonycryptous
Description & user manual
Why this indicator is different?
Most signal indicators work the same way. One condition triggers. One signal fires. The trader either takes it or does not.
The problem is that a single condition — a crossover, a level break, a momentum read — is almost never enough to define a genuinely high-quality trade. Markets are too complex and too noisy for that.
Conflux Engine works differently.
It does not fire on one condition. It requires multiple independent market forces to align simultaneously before a signal appears. Structure has to agree. Volume has to confirm. Momentum has to support. Volatility has to be in the right zone. Session positioning has to be favorable. And optionally, the higher timeframe trend and the ribbon have to be aligned too.
Only when enough of these forces agree — and agree clearly — does the indicator produce a signal.
This is what confluence means in practice. Not one thing being right. Multiple independent things being right at the same time.
The result is fewer signals. But the signals that do appear carry more weight than anything a single-condition system can produce.
Important notice
Conflux Engine generates trading signals based on a multi-factor scoring engine.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
They are a systematic read of current market conditions across multiple dimensions.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Conflux Engine is a scoring-based signal indicator for traders who want structured, high-conviction entries rather than frequent, noisy ones.
Six independent pillars evaluate the market continuously. Each pillar scores independently. The scores combine into a total out of 100. When the total exceeds the signal threshold — and the dominant direction leads the opposite direction by a minimum gap — a signal fires.
Additional hard gates can be enabled: an ADX noise filter to block signals during choppy markets, a VWMA filter to ensure macro trend alignment, a Supertrend filter for dynamic trend confirmation, and an Ultra Ribbon filter using 15 Hull Moving Averages for the fastest momentum read.
The result is an indicator that is selective by design. It is not built to fire constantly. It is built to fire well.
2. The six pillars
2.1 Structure
Evaluates market structure using swing pivot highs and lows. A higher high combined with a higher low defines a bullish structure. A lower high combined with a lower low defines a bearish structure.
This pillar answers the most fundamental question in trading: is the market making progress in a direction, or is it deteriorating?
Weight: up to 16 points.
2.2 Volume
Uses OBV slope via linear regression to determine whether volume is accumulating in the direction of price or diverging from it.
Rising OBV slope on a bullish signal means participation supports the move. Falling OBV slope on a bullish signal is a warning. This pillar separates moves with institutional backing from moves without it.
Weight: up to 16 points.
2.3 Momentum
Evaluates three independent momentum reads: KAMA position (a Kaufman adaptive moving average that adjusts its speed to market conditions), RSI relative to the 50 midline with slope direction, and Williams %R for price positioning within the recent range.
Two of three aligned scores partial points. All three aligned scores full points.
Weight: up to 16 points.
2.4 Liquidity
Detects sweep events — moments where price wicks beyond a recent swing high or low and closes back inside. These events mark liquidity grabs and often precede directional moves.
A confirmed bull sweep sets up a long bias context. A confirmed bear sweep sets up a short bias context. The context remains active for a configurable number of bars, decaying over time.
Weight: up to 16 points.
2.5 Volatility
Measures ATR relative to its own moving average to identify the volatility sweet spot. Signals during dead, flat markets carry less meaning. Signals during chaotically explosive moves are harder to execute cleanly. This pillar rewards the in-between: active, directional, manageable volatility.
Weight: up to 16 points.
2.6 Session
Evaluates price positioning within the current day's developing range. Price in the lower portion of the range (discount) favors long bias. Price in the upper portion (premium) favors short bias.
This pillar can be toggled independently from the session time filter — you can use session scoring without restricting signals to specific hours, or vice versa.
Weight: up to 20 points.
3. Hard gates
Beyond the six scoring pillars, Conflux Engine includes four optional hard gates. These do not add points. They block signals entirely when their condition is not met.
3.1 ADX noise filter
Blocks signals when ADX is below a configurable threshold. ADX measures trend strength. A low ADX means the market is ranging and directionless — exactly the environment where momentum signals fail most often. Default threshold: 35. Adjustable up to 100 for maximum selectivity.
3.2 VWMA filter
Price must be above the Volume Weighted Moving Average for long signals, and below it for short signals. The VWMA is slower than a standard EMA and reflects the average price weighted by volume — a more meaningful macro reference than a simple average. Default length: 200.
3.3 Supertrend filter
The Supertrend must confirm the signal direction. This is a dynamic trend line based on ATR bands that flips cleanly between bull and bear states. It acts as an additional structural confirmation that the trend environment supports the entry.
3.4 Ultra Ribbon filter
The fastest gate. Built from 15 Hull Moving Averages spanning a range of lengths. When the fastest HMA is above the slowest HMA, the ribbon is bullish. When below, bearish. Because Hull MAs minimize lag, this gate reacts to trend changes earlier than most moving average systems.
The ribbon also serves as a trailing stop option in the backtest — the slowest HMA tracks trend without being too reactive.
4. Signal scoring
Every bar, both a bullish and bearish score are computed from the six pillars. The scores are added together.
A signal fires when:
- The dominant score meets or exceeds the signal threshold (default 70)
- The dominant score exceeds the opposite score by at least the directional lead (default 20)
- All enabled hard gates are cleared
This two-condition check — threshold plus gap — prevents marginal signals from appearing when the market is ambiguous. Both bull and bear can score reasonably high during mixed conditions. The gap requirement ensures the dominant direction is meaningfully ahead.
Pillar weights are individually adjustable. The system allows traders to prioritize the factors most relevant to their trading style and instrument.
The Extreme Threshold (default 90) flags signals where the confluence score is exceptionally high. These are the highest-conviction setups in the system.
5. The Ultra Ribbon
The Ultra Ribbon is a 15-layer Hull Moving Average ribbon that sits on the chart as both a visual trend tool and a momentum gate. Three themes are available:
Classic — green and red. Clear, functional, no ambiguity.
Phantom — cyan and pink with purple exhaustion. A darker, stylized read of the same data. (the default)
Custom — full color control for bull, bear, and exhaustion states.
The ribbon color adapts dynamically. When the spread between the fastest and slowest HMA is wide relative to its historical average, the ribbon fades toward the exhaustion color — a visual signal that the trend may be overextended. When the spread is moderate, the ribbon shows its full trend color.
Candle coloring follows the ribbon's bull/bear state continuously, giving an immediate read of trend direction on every bar.
The dashboard accent color and signal indicators follow the active theme, giving the entire indicator a unified visual identity across chart and panel.
6. Multi-timeframe filter
When enabled, the MTF filter evaluates the trend on a higher timeframe using a 50-period EMA. If the higher timeframe trend agrees with the signal direction, a weight bonus is added to the total score. If it disagrees, no bonus is added — but the signal is not blocked unless the score falls below threshold as a result.
This behavior is intentional. The HTF filter adds weight to aligned signals without making every counter-trend setup impossible. It rewards confluence with the bigger picture without enforcing hard alignment.
Default timeframe: 240 (4-hour).
Default weight bonus: 20 points.
7. Backtest and performance tracking
Confluence Engine includes a built-in performance tracker that logs every signal, applies configurable stop and target multipliers based on the current regime, and tracks wins, losses, and win rate across the visible history.
Stop loss modes:
- ATR — a fixed multiple of ATR from the entry price. Simple and consistent.
- Pivot — stop placed at the most recent swing low (for longs) or swing high (for shorts). Respects structure.
- Supertrend — stop placed at the dynamic Supertrend level at the time of entry. Tighter and adaptive.
- Trailing (h15) — stop follows the slowest HMA of the Ultra Ribbon. Trends with the market and gives winners more room.
Target multipliers are adjustable for each regime: Scalp, Intraday, and Swing. The regime is determined by the current ADX value.
Recent log shows the last three trade results in R multiples. This gives a quick read on recent system performance without requiring a separate journaling tool.
Note: the backtest uses bar close logic and approximated fill prices. It is a directional performance reference, not a precise simulation. Session filtering does not retroactively apply to historical trades — enabling session filtering after a test period will affect forward signals but not past performance data.
8. Dashboard reference
The dashboard updates on every bar and shows:
- Header: indicator name and current timeframe
- Pillar rows 1–6: score per pillar, colored by direction
- HTF Trend: higher timeframe alignment and weight (when MTF enabled)
- Signal: LONG / SHORT / WAIT with direction color
- Win Rate: percentage of tracked signals that hit target
- Recent Log: last three results in R multiples
- Score: total confluence score out of 100
- Session: OPEN or FILTERED
The dashboard header and accent colors follow the active ribbon theme.
Tiny, Small, and Normal size options are available.
9. Settings reference
General Settings
- Signal Threshold: minimum score to trigger a signal (50–95, default 70)
- Extreme Threshold: score above which extreme confluence is flagged (80–100, default 90)
- Directional Lead: minimum gap between bull and bear score (default 20)
Multi-Timeframe Trend
- Enable MTF Filter
- HTF Timeframe (default 240)
- HTF Weight (default 20)
Quality Filters (Noise Reduction)
- Enable ADX Noise Filter
- Min ADX Value (0–100, default 35)
Trend Confirmation
- Enable VWMA Filter + length
- Enable Supertrend Filter + ATR length + multiplier
- Show/hide Supertrend and VWMA lines
Pillar Weights
- Individual weight for each of the six pillars
Session Filtering
- Filter Entries by Session (time gate)
- Enable Session Pillar Scoring (premium/discount scoring)
- Trading Session input
Trade Suggestions (ATR Multipliers)
- SL and TP multipliers for Scalp, Intraday, and Swing regimes
Ultra Ribbon
- Enable Ribbon Filter
- Show Ribbon on Chart
- Base Length and Length Step
- Theme: Classic / Phantom / Custom
- Custom color inputs (bull, bear, elite)
Backtest & UI
- Enable Performance Tracking
- Start Year
- Show Active Trade Lines
- Show Recent Trade Log
- Stop Loss Mode: ATR / Pivot / Supertrend / Trailing (h15)
UI Settings
- Show Dashboard
- Dashboard Position
- Dashboard Size: Tiny / Small / Normal
10. How to use
10.1 Initial setup
1. Load the indicator on your preferred chart and timeframe.
2. Select a ribbon theme that matches your visual preference.
3. Set the signal threshold based on your desired selectivity. Start at 70.
4. Set the directional lead. 15–20 is a balanced starting point.
5. Enable the hard gates relevant to your style. For intraday trading, ADX + Supertrend is a strong combination. For swing trading, VWMA + MTF adds macro context.
6. Configure the session scoring if you trade specific sessions. NY traders: set session to 1330–2000 UTC (or your local equivalent).
7. Set your backtest start year and stop mode preference.
10.2 Reading a signal
When a signal appears:
- Check the dashboard. Which pillars are active? A signal with Structure + Volume + Momentum all scoring is stronger than one carried primarily by Session and Volatility.
- Check the score. A signal at 72 with a 20-point gap is valid but tight. A signal at 88 with a 30-point gap is a high-conviction setup.
- Check the ribbon. Is it cleanly bullish or bearish? Is it near exhaustion color? Signals during ribbon exhaustion carry more risk.
- Check the hard gates. They cleared — but were they close? A signal that barely cleared ADX 35 is different from one with ADX at 55.
10.3 Managing entries
Confluence Engine does not tell you the exact entry price. It tells you when conditions align. Your entry technique — pullback, breakout, limit at structure — remains your decision.
Use the stop mode that fits your trade: ATR for consistency, Pivot for structure-respect, Supertrend for dynamic adaptation, Trailing h15 for trend trades you want to hold.
10.4 Interpreting win rate
The built-in win rate is a useful reference, not a guarantee of future performance. A 65% win rate over 50 signals on a specific asset and timeframe tells you the system has been profitable in that environment. It does not guarantee the next signal wins.
Win rate should always be evaluated alongside average RR. A 60% win rate at 2R average beats a 70% win rate at 0.8R average. Use the recent log and the trade lines together to assess both dimensions.
10.5 Optimizing settings
If you see too many signals: raise the threshold, raise the directional lead, raise the ADX minimum, or enable additional hard gates.
If you see too few signals: lower the threshold slightly, reduce the directional lead, or disable one or two hard gates.
Do not optimize purely for win rate without considering signal frequency. A system that fires once per week at 80% win rate is different in practice from one that fires daily at 65%. Both can be profitable. Choose what fits your trading style.
11. Timeframe guide
1m–5m — Ultra Ribbon filter on, ADX threshold 30–40, Supertrend on, session scoring on. Focus on fast momentum signals during active sessions.
15m–30m — Full filter stack recommended. Threshold 70–75. Strong balance of frequency and quality.
1H–4H — VWMA and MTF filter add significant value. Threshold 75–80. Fewer signals, higher conviction.
Daily — Disable session scoring. Enable VWMA and MTF only. Use as swing context, not scalp tool.
12. What this indicator does not do
- Does not predict price direction with certainty
- Does not guarantee profitability
- Does not replace your own risk management
- Does not account for news events, gaps, or liquidity voids
- Does not track open positions in real time
- Does not connect to any broker or execution system
- Does not replace the Risk Management Engine for position sizing and account compliance
For position sizing, drawdown compliance, and trade logging, pair with Risk Management Engine | Anonycryptous.
For complete session analysis and market context, pair with Environment | Anonycryptous.
Together, the three tools cover strategy context, signal generation, and risk execution — a complete framework for structured trading.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation.
All trading decisions are made entirely by the user. The indicator provides signal analysis based on configurable parameters — the relevance of any output depends on how those parameters are set and the market conditions in which the indicator is used.
Trading financial instruments involves substantial risk of loss. Past performance of the backtest function is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator or any content in this manual.
Pine Script® indicator
GFX Model🎯 Why Use This Indicator?
This tool is designed to give you:
-Clear market structure (CISD)
-Session-based context (Killzones)
-Trend + bias (EMAs + VWAP)
-Timing precision (timestamps & opens)
Instead of stacking multiple indicators, everything is combined into one clean system.
Made by Gerald Hildebrand
Pine Script® indicator
ATR Daily Time Frame Display BoxATR Display Box
A clean, minimal ATR display that sits in the corner of your chart without getting in the way.
The indicator pulls ATR from the daily timeframe regardless of what chart you're on — so whether you're on a 1 minute, 5 minute, or any intraday timeframe, you're always seeing the true daily ATR value. No more manually switching timeframes or calculating inflated period numbers to approximate a daily ATR on lower timeframes.
Features:
Always references the daily timeframe for accurate ATR readings
Adjustable ATR period (7, 9, 14 or any value you choose)
Compact table display — stays out of the way of your chart
Fully customisable: position, background colour, text colour, border colour
Adjustable decimal places to suit any instrument
Best used for:
Gauging daily range on futures (ES, NQ, CL, GC etc.)
Setting realistic profit targets and stop distances based on true daily range
Quick reference during intraday trading without cluttering your chart
Works on any instrument and any timeframe.
Pine Script® indicator
STOCHASTIC RSI v2.3 HYBRID ULTIMATE╔═══════════════════════════════════════════════════════════
║ ⚡ STOCHASTIC RSI v2.3 ULTIMATE — KAPSAMLI KULLANIM REHBERİ ║
║ Hybrid Otopilot, Akıllı Kalkan ve MTF Jackpot Sistemi ║
╚═══════════════════════════════════════════════════════════
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. GİRİŞ: BU SİSTEM NEDEN SIRADAN BİR STOCHASTIC DEĞİLDİR?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Klasik Stochastic RSI, yatay piyasalarda harika çalışırken trendli
piyasalarda sürekli "Aşırı Alım/Satım" bölgesinde kalarak yatırımcıyı
terste bırakır (sahte sinyal üretir).
StochRSI v2.3 Ultimate Edition; fiyat manipülasyonlarını (iğneleri)
filtreleyen Hybrid Otopilotu, trendin tersine işlem açmanı engelleyen
Akıllı Kalkanı ve 4 farklı zaman dilimini aynı anda okuyan MTF Matrisi
ile seni piyasa gürültüsünden tamamen izole eder.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. DİNAMİK PERİYOT VE HYBRID OTOPİLOT (Fiyat Kaynağı Zekası)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Sistem "Otomatik" moda alındığında, bulunduğun zaman dilimine (Timeframe)
göre en kusursuz RSI ve Stoch ayarlarını kendi seçer.
Örn: 15 dakikalık grafikte hızlı (14-14), 4 Saatlikte dengeli (30-21) çalışır.
Kripto gibi manipülatif piyasalardaki "Scam Wick" (Tasfiye İğneleri)
tuzaklarına düşmemek için tasarlanmıştır:
• İğneler (High/Low): Temiz piyasalar için klasik yöntem.
• Kapanışlar (Close): İğneleri yok sayar, sadece mum kapanışına bakar.
• Auto (ATR / BB Tabanlı): Sistem piyasayı izler. Volatilite veya Bollinger
bantları patladığında (kaos anında) iğnelerin manipülasyon olduğunu anlar
ve otomatik olarak "Kapanış (Close)" fiyatlarına geçer. Sizi korur.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. AKILLI KALKAN VE VOLATİLİTE SENSÖRÜ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Uyumsuzluklar (Divergence) güçlü trendlerde sürekli sahte dönüş sinyali
verebilir. Kalkan sizi bu tuzaklardan korur.
• Trend Filtresi (EMA/HMA/SMA): Fiyat belirlediğiniz ortalamanın (Örn:
EMA 55) üzerindeyse sistem sadece Bullish (Alım) sinyallerine izin verir.
"Bu bir düşüş değil, trend içi düzeltme" diyerek Ayı tuzaklarını engeller.
• ⚡ Volatilite (Lastik) Sensörü: Kalkanın tek istisnasıdır! Eğer fiyat
Bollinger Bantlarının dışına taşacak kadar şiddetli bir düşüş yaşadıysa
(lastik koptuysa), trend filtresi "Ayı" bölgesinde olsa bile sistem
Bullish uyumsuzluğa İZİN VERİR. Çünkü fiyat artık mantıksız derecede
ucuzlamıştır ve sert bir tepki sekmesi kaçınılmazdır.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4. HİBRİT UYUMSUZLUK (DIVERGENCE) MOTORU
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fiyat ile K çizgisi arasındaki çatlakları bulan bu motor, LonesomeTheBlue
altyapısıyla güçlendirilmiştir.
• Bullish Divergence (Boğa): Fiyat daha düşük dip yaparken, K çizgisi
daha yüksek dip yapar. Düşüş gücü bitmiştir, AL sinyalidir.
• Bearish Divergence (Ayı): Fiyat daha yüksek tepe yaparken, K çizgisi
daha düşük tepe yapar. Yükseliş yorulmuştur, SAT sinyalidir.
• Hafıza ve Çizgiler: Sistem geçmişteki 20 tepe/dibi hafızasında tutabilir
ve aynı anda 5 farklı uyumsuzluk çizgisini grafiğe çizebilir.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5. JACKPOT VE KESKİN NİŞANCI (SNIPER) SİSTEMİ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Sistem 4 farklı zaman dilimini tarayarak kusursuz hizalanmaları bulur.
• 🥇 Altın Jackpot: 4 Timeframe'in tümü < 20 seviyesinin altındadır.
Yılda birkaç kez görülür. Güvenilirlik %85'tir (Agresif Alım).
• 🥈 Gümüş Jackpot: 4 Timeframe'in tümü < 30 seviyesinin altındadır.
• 🥉 Bronz Jackpot: 4 Timeframe'in tümü < 40 seviyesinin altındadır.
Sistemin en ölümcül silahıdır. 4 Saatlik, Günlük ve Haftalık grafiklerin
üçünde birden StochRSI 20'nin altına indiğinde çalışır. Bu durum,
"Balinalar mal topluyor, yay maksimum gerildi" demektir. Orta/Uzun vade
için nesilsel bir dip fırsatıdır.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6. SCREENER (TARAYICI) STRATEJİLERİ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• 🏆 DİP AVCISI: K Yukarı Kesti D + K<30 + Fısıltı: Ralli Modu
(Dip bölgesinde yükselişi yeni başlayan hisseleri bulur)
• 💎 DÜZELTME AVCISI: Fısıltı: Düzeltme + Aşırı Satım (0-20)
(Büyük trendi çok güçlü olan ama kısa vadede silkelenen ucuz malları bulur)
• 🚀 UYUMSUZLUK KOMBO: Bullish Divergence + Fısıltı: Ralli Modu
(Uyumsuzluk ile trend onayının birleştiği kusursuz giriş noktalarıdır)
╔════════════════════════════════════════════════════════════
║ 📊 MTF MATRİSİ VE KOKPİT — HÜCRE HÜCRE ANALİZ ║
║ (Gösterge Panelindeki Veriler Tam Olarak Ne Anlatıyor?) ║
╚════════════════════════════════════════════════════════════
Sağ üst köşede yer alan bu tablo, sistemin beynidir. Arka plandaki adaptif
motorun o an ne düşündüğünü, trendin yönünü ve 4 farklı zaman diliminin
ortak kararını size tek bakışta özetler.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Örnek Tablo Görünümü (Ekranda Gördüğünüz Yapının Şeması)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┌────────────────────────────────────────────────────────────
│ 💎 ALTIN VURUŞ (DÜZELTME)! Patron arkanda, korkma topla! ├────────┬───────────┬───────────┬───────────┬───────────────
│ Period │ RSI: 14 │ Stoch: 14 │ K: 3 │ AUTO (Adaptasyon Modu) ├────────┼───────────┼───────────┼───────────┼─────────────── │ TF │ K Çizgisi │ D Çizgisi │ Bölge │ Durum
├────────┼───────────┼───────────┼───────────┼───────────────
│ 15 │ 12.45 ⬇️ │ 18.20 ⬇️ │ 💀 │ Zayıf │
│ 60 │ 35.10 ⬆️ │ 28.40 ⬆️ │ 🐋 │ Güçlü │
│ 240 │ 85.60 ⬆️ │ 78.10 ⬆️ │ 🔥 │ Çok Güçlü │
│ 1D │ 92.15 ⬆️ │ 88.50 ⬆️ │ 🔥 │ Çok Güçlü │ ├────────┴───────────┴───────────┴───────────┴───────────────
│ 🎯 OLASILIK ~%0.8: Nadir Swing Dip Fırsatı! │ └────────────────────────────────────────────────────────────
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SATIR SATIR VE HÜCRE HÜCRE AÇIKLAMALAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fısıltı Modu (Whisper)
• Tablonun en üstündeki ana başlıktır. 4 farklı zaman diliminin (TF)
ortak kararına bakarak size 8 farklı senaryodan birini söyler:
1. 🚀🚀 SÜPER RALLİ: Tüm TF'ler çok güçlü → Agresif AL
2. 🚀 RALLİ MODU: Büyük TF'ler güçlü → AL
3. 💎 ALTIN VURUŞ: Büyük TF güçlü, kısa vade düşüş → AL (En iyi fırsat)
4. 🎯 DÜZELTME: Süper trend, kısa vade düşüş → Agresif AL
5. ⚡ TEPKİ YÜKSELİŞİ: Büyük TF zayıf, kısa vade güçlü → Vur-Kaç (Tuzak!)
6. ⚠️ KARIŞIK SİNYAL: Bir TF güçlü, diğeri zayıf → Dikkatli AL
7. 🩸 BIÇAK DÜŞÜYOR: Tüm TF'ler zayıf → NAKİT KAL
8. 👀 KARARSIZ: Net yön yok → BEKLE
Period Bilgisi
• O anki grafikte sistemin kullandığı RSI Uzunluğu, Stoch Uzunluğu ve
K yumuşatma değerlerini gösterir. AUTO yazıyorsa bu değerleri sistem
grafiğin hızına göre kendi seçmiş demektir.
MTF Matrisi (Zaman Dilimleri Analizi)
Bu bölüm 4 farklı zaman dilimini (Örn: 15dk, 1S, 4S, 1G) tarar.
• TF: Taranan zaman dilimi (Timeframe).
• K & D Çizgisi: Çizgilerin o anki değerleridir. Yanındaki ok (⬆/⬇)
bir önceki muma göre yönünü gösterir.
• Bölge (Zone Emojileri): K çizgisinin bulunduğu konumu özetler:
💀 (Kuru Kafa) : 0-20 Bölgesi. Aşırı Satım (Dip fırsatı, kan banyosu)
🐋 (Balina) : 20-40 Bölgesi. Uyanış (Yükseliş başlıyor, güvenli)
⚖️ (Terazi) : 40-60 Bölgesi. Karar (Nötr bölge, bekle)
🚀 (Roket) : 60-80 Bölgesi. Ralli (Güçlü yükseliş, trendi sür)
🔥 (Ateş) : 80-100 Bölgesi. Turbo (Aşırı Alım, kar alma bölgesi)
• Durum: Renk kodlamasıyla trendin gücünü belirtir (Çok Güçlü, Güçlü, Zayıf).
Kantitatif Olasılık / Jackpot Motoru (En Alt Satır)
Sistemin istatistiksel zekasıdır. Yukarıdaki 4 zaman diliminin aynı anda
aşırı alım veya aşırı satım bölgesine girme ihtimalini hesaplar:
• 🥇 ALTIN JACKPOT: 4 TF birden 20'nin altında! (Mükemmel alım yeri)
• 📊 Olasılık ~%4.0: 2 zaman dilimi hizalandı (Düzeltme derinleşti).
• 🎯 Olasılık ~%0.8: 3 zaman dilimi hizalandı (Nadir Swing Dip/Tepe fırsatı).
• 🦄 Olasılık ~%0.1: 4 zaman dilimi hizalandı (SİYAH KUĞU). Binde bir
görülen nesilsel dip veya kusursuz tepe!
Pine Script® indicator
Previous Week Liquidity Sweep PW Liquidity Sweep (Multi-TF)
Concept:
This indicator identifies Liquidity Sweeps (Stop Hunts) occurring at the Previous Week High (PWH) and Previous Week Low (PWL). These levels are major liquidity pools where "Smart Money" often traps retail traders before reversing the price.
How it works:
Previous Week Levels: Automatically fetches and plots the High (Red) and Low (Green) from the last week.
Bullish Sweep (Green Triangle): Triggered when the price dips below the PWL but manages to close back above it. This suggests a "Bear Trap" or a cleanup of Sell-side liquidity.
Bearish Sweep (Red Triangle): Triggered when the price breaks above the PWH but closes back below it. This suggests a "Bull Trap" or a cleanup of Buy-side liquidity.
How to Use:
Entry: Look for the triangle signals when the price reacts to the dashed lines.
Context: Works best on Intraday timeframes (M15 to H1) for precise entries.
Confirmation: Most effective when these "sweeps" occur at key support/resistance zones or moving averages (like SMA 100/200).
Risk Management: Place your Stop Loss (SL) just beyond the "wick" (high/low) of the sweep candle.
Pine Script® indicator
Tether PrinterTether Printer — Stablecoin Mint/Burn Histogram
Tether Printer tracks changes in USDT market cap and displays them as a histogram. Green bars mean Tether minted new USDT — fresh liquidity entering the crypto ecosystem. Red bars mean USDT was burned or redeemed — capital leaving. The height of each bar shows the size of the print. When the printer runs hot, crypto tends to follow.
The logic is simple. The indicator pulls the USDT market cap via CRYPTOCAP:USDT and calculates the bar-over-bar change. A positive delta means more USDT exists now than it did one bar ago — that's a mint. A negative delta means supply contracted — that's a burn. No complicated math, no lagging signals, just raw supply changes visualized as a histogram.
A gold SMA line smooths the noise to reveal the trend. When the SMA is above zero and rising, Tether is net printing over time — a tailwind for crypto prices. When the SMA dips below zero, net redemptions are underway and liquidity is draining. The SMA length is configurable (default 14 periods) so you can tune it to your preferred timeframe.
The configurable threshold lets you filter for significant prints only. Set it to 100M on a daily chart and only mints or burns above $100 million will appear at full brightness — everything below gets dimmed. Triangle markers flag significant events so they're visible at a glance even when scrolling through history. Set it to zero to see every change.
The info table in the corner shows the current state at a glance: whether the last bar was a MINT or BURN and the dollar amount, current market cap, SMA trend value, consecutive mint or burn streak count, and net flow over the last 30 bars. A 12-bar mint streak with +3.8B net 30-day flow tells a very different story than a 5-bar burn streak with negative net flow.
The indicator is not limited to USDT. Change the ticker input to CRYPTOCAP:USDC to track Circle's stablecoin, or CRYPTOCAP:FDUSD for First Digital. Any stablecoin with a market cap ticker on TradingView works.
Four alert conditions are included: significant mint, significant burn, any mint, and any burn. Set up alerts on a daily chart and you'll get notified the moment Tether fires up the printer.
Best used on a daily or 4-hour chart overlaid below BTC. When the histogram goes green and stays green, pay attention — the money printer is telling you something the price chart hasn't shown yet.
Pine Script® indicator
VWAP Mensuel Auto-Ancre (3 Deviations)Monthly Auto-Anchored VWAP (3 Deviations) – Indicator Overview
Name: Monthly Auto-Anchored VWAP (3 Deviations)
Short Title: Monthly VWAP 3D
Type: Overlay Indicator (Plotted on Price Chart)
Key Features
This indicator calculates a Volume-Weighted Average Price (VWAP) anchored to the start of each month, providing a dynamic reference point for intramonth trading. It includes three customizable standard deviation bands, allowing traders to assess volatility, mean reversion zones, and potential support/resistance levels.
Customization Options
1. Calculation Settings
Source: Choose the price input (default: HLC/3).
Break Lines at New Month: Toggle whether to reset the VWAP and deviation lines at the start of each month.
2. Main VWAP Line
Visibility: Show/hide the primary VWAP line.
Appearance: Adjust color, line width (1–5), and style (solid, dashed, or dotted).
3. Deviation Bands (1–3)
Each deviation band is fully configurable:
Visibility: Show/hide individual bands.
Multiplier: Set the standard deviation multiplier (e.g., 1.0, 2.0, 3.0).
Appearance: Customize color, line width, and style (solid, dashed, or dotted).
How It Works
VWAP Calculation: Computes the volume-weighted average price from the start of the month, resetting automatically at month-end (or continuing seamlessly if disabled).
Standard Deviation Bands: Plots upper/lower bands based on the selected multipliers, helping identify overbought/oversold conditions relative to the monthly VWAP.
Auto-Anchoring: Eliminates manual anchor point selection, ideal for swing trading or intramonth analysis.
Use Cases
Trend Confirmation: Price above/below VWAP may signal bullish/bearish bias.
Mean Reversion: Deviations act as dynamic support/resistance zones.
Volatility Assessment: Wider bands indicate higher volatility; tighter bands suggest consolidation.
Why This Indicator?
Adaptive: Automatically adjusts to new monthly data.
Flexible: Customize bands to fit your trading strategy (e.g., tighter for scalping, wider for swing trading).
Clarity: Clean, non-cluttered visualization with user-defined styling.
Ideal for: Traders seeking a structured, volume-aware tool to gauge monthly trends and volatility without manual adjustments.
Personal Note :
"This indicator is like a wise old trader—it doesn’t just show you the average; it maps the battlefield of price and volume. Use it to spot when the market is stretching too far (deviations) or when it’s coiling for a move (VWAP as magnet). But remember: even the best tools need context. Combine it with volume spikes or momentum oscillators for higher-probability setups. And if the bands are too wide? The market’s whispering ‘caution’—listen."
Pine Script® indicator
VWAP Mensuel Auto-Ancre (3 Deviations)Monthly Auto-Anchored VWAP (3 Deviations) – Indicator Overview
Name: Monthly Auto-Anchored VWAP (3 Deviations)
Short Title: Monthly VWAP 3D
Type: Overlay Indicator (Plotted on Price Chart)
Key Features
This indicator calculates a Volume-Weighted Average Price (VWAP) anchored to the start of each month, providing a dynamic reference point for intramonth trading. It includes three customizable standard deviation bands, allowing traders to assess volatility, mean reversion zones, and potential support/resistance levels.
-Customization Options-
1. Calculation Settings
Source: Choose the price input (default: HLC/3).
Break Lines at New Month: Toggle whether to reset the VWAP and deviation lines at the start of each month.
2. Main VWAP Line
Visibility: Show/hide the primary VWAP line.
Appearance: Adjust color, line width (1–5), and style (solid, dashed, or dotted).
3. Deviation Bands (1–3)
Each deviation band is fully configurable:
Visibility: Show/hide individual bands.
Multiplier: Set the standard deviation multiplier (e.g., 1.0, 2.0, 3.0).
Appearance: Customize color, line width, and style (solid, dashed, or dotted).
-How It Works-
VWAP Calculation: Computes the volume-weighted average price from the start of the month, resetting automatically at month-end (or continuing seamlessly if disabled).
Standard Deviation Bands: Plots upper/lower bands based on the selected multipliers, helping identify overbought/oversold conditions relative to the monthly VWAP.
Auto-Anchoring: Eliminates manual anchor point selection, ideal for swing trading or intramonth analysis.
-Use Cases
Trend Confirmation: Price above/below VWAP may signal bullish/bearish bias.
Mean Reversion: Deviations act as dynamic support/resistance zones.
Volatility Assessment: Wider bands indicate higher volatility; tighter bands suggest consolidation.
-Why This Indicator?
Adaptive: Automatically adjusts to new monthly data.
Flexible: Customize bands to fit your trading strategy (e.g., tighter for scalping, wider for swing trading).
Clarity: Clean, non-cluttered visualization with user-defined styling.
Ideal for: Traders seeking a structured, volume-aware tool to gauge monthly trends and volatility without manual adjustments.
Personal note:
"This indicator is like a wise old trader—it doesn’t just show you the average; it maps the battlefield of price and volume. Use it to spot when the market is stretching too far (deviations) or when it’s coiling for a move (VWAP as magnet). But remember: even the best tools need context. Combine it with volume spikes or momentum oscillators for higher-probability setups. And if the bands are too wide? The market’s whispering ‘caution’—listen."
Pine Script® indicator
Pine Script® indicator
6 EMA 20 EMA Crossover Alert6 EMA 20 EMA Crossover Alert
The 6 EMA / 20 EMA setup is a simple trend-following tool using two exponential moving averages on a chart in TradingView.
The 6 EMA reacts quickly to price and tracks short-term momentum. The 20 EMA moves slower and represents the broader, short-term trend.
When the 6 EMA crosses above the 20 EMA, it suggests momentum is turning bullish. When it crosses below, it signals potential bearish momentum.
In plain English, it’s a quick way to see when short-term price action is starting to overpower the current trend.
Pine Script® indicator
Pine Script® indicator
PGS - Pareto-Gaussian Skew [Zofesu]PGS - Pareto-Gaussian Skew is a trend gravity indicator built on two mathematical principles: the Gaussian distribution for detecting statistically significant price moves, and the Pareto principle for isolating the minority of moves that drive the majority of directional displacement.
The result is a single adaptive line that acts as a gravitational center — pulling toward institutional price displacement while filtering out the noise that makes standard moving averages lag or whipsaw.
─────────────────────────────────────
01 — What is PGS?
─────────────────────────────────────
PGS plots a gravity line that tracks where price is being pulled by significant institutional moves. Unlike a standard moving average, it does not react to all price movement equally. It reacts only when price moves beyond one standard deviation from its mean — the threshold where statistically normal noise ends and directional displacement begins.
Below that threshold, the line stays anchored to the mean. Above it, the Pareto Skew Factor shifts the gravity line toward the extreme, capturing the 20% of moves that drive 80% of the trend.
─────────────────────────────────────
02 — How it works
─────────────────────────────────────
The engine runs in three steps:
Step 1 — Mean and standard deviation
SMA and standard deviation are calculated over the lookback window (default 100 bars). This defines the Gaussian baseline — the statistical center of recent price behavior.
Step 2 — Extreme detection
The distance between current close and the mean is measured. If that distance exceeds 1x standard deviation, the move is classified as extreme. Moves within 1 standard deviation are treated as noise and ignored.
Step 3 — Pareto displacement
Extreme moves are multiplied by the Pareto Skew Factor (default 0.8). This skewed value is then smoothed with an EMA over a quarter of the lookback period and added back to the mean — producing the final gravity line.
Formula:
gravity = SMA(close, n) + EMA(d × extreme × skew, n/4)
where d = close − SMA(close, n), extreme = 1 if |d| > StDev else 0
─────────────────────────────────────
03 — Visuals
─────────────────────────────────────
Blue line — Pareto-Gaussian gravity line
Tension Cloud — fill between price and the gravity line.
Green fill = price above gravity line (bullish tension).
Pink fill = price below gravity line (bearish tension).
Note: Price Reference and PGS Reference appear in the indicator's plot list but are invisible on the chart. They are internal anchors required by Pine Script's fill() function and serve no visual or analytical purpose for the user.
─────────────────────────────────────
04 — Settings
─────────────────────────────────────
Smith's Memory (Lookback) — default 100
Number of candles used for the Gaussian baseline. Higher = slower, more stable line. Lower = faster, more reactive.
Pareto Skew Factor — default 0.8
Weight applied to extreme moves. Higher = gravity line shifts more aggressively toward institutional displacement. Lower = more conservative, stays closer to the mean.
─────────────────────────────────────
05 — How To Use
─────────────────────────────────────
Step 1 — Read the Tension Cloud
Green fill = price is above the gravity line. Bullish context — look for longs or hold existing positions.
Pink fill = price is below the gravity line. Bearish context — look for shorts or avoid longs.
Step 2 — Watch for gravity line crossings
Price crossing the gravity line from below = potential bullish shift.
Price crossing from above = potential bearish shift.
Step 3 — Use as dynamic support and resistance
In trending markets the gravity line acts as a dynamic S/R level. Price pulling back to the line in a green cloud = potential long entry zone.
Step 4 — Combine with higher timeframe context
PGS works best as a trend context filter alongside entry tools. It defines the direction — your entry indicator defines the moment.
Works on all asset classes: Indices, Forex, Gold, Oil, Crypto.
Best timeframes: H1, H4, D1.
Pine Script® indicator
PNF2325-Bot-V3-FIXED-Without-Volume-Guard-DMPPoint & figure trading indicator with alert sysytem pnf method high low.
Pine Script® indicator
DMP-PnFBot-Ghost-V3-UpdatePoint & figure daily High low tarditional, box 0.25, rev 3, analyse cndlestick chart 1hr
Pine Script® indicator
Volume Profile + LVNVolume Profile + Low Volume Nodes
A clean institutional-grade volume profile built for intraday traders. This indicator maps exactly where volume was traded across price levels during the session and automatically identifies the thin areas — the Low Volume Nodes — where price moves fast and institutions are likely to react.
What it does:
Volume Profile — displays a horizontal bar chart to the right of price showing how much volume traded at each price level. Green bars where buyers dominated, red bars where sellers dominated, yellow bar at the Point of Control — the single price level with the most volume traded.
Low Volume Nodes (LVN) — automatically detects the price zones where volume is significantly thinner than surrounding levels. These are the gaps in the market where price moved too fast for participants to trade much — creating imbalances that price tends to revisit and react to.
🟢 Green zones — LVN below current price = support. Price tends to bounce here or accelerate through on high volume.
🔴 Red zones — LVN above current price = resistance. Price tends to reject here or break through with momentum.
🟡 POC line — Point of Control extends left across the chart. The most important intraday reference level — price gravitates toward this level throughout the day.
How to use it:
When price approaches a green or red zone you have two scenarios — a bounce or a clean break.
Bounce — price touches the zone and closes back outside it. Look for a buy at green zones and a sell at red zones.
Break — price closes through the zone with volume. Trade the continuation in the direction of the break — buy above a broken red zone, sell below a broken green zone.
The thinner the zone the faster price will move through it. The POC acts as a magnet — if price is far from it expect it to get pulled back during the session.
Settings:
Profile Mode — Session resets each day for intraday use. Lookback uses a fixed bar count
Node Detection % — Controls how sensitive the LVN detection is. Higher finds more zones
Max LVN Nodes — Maximum number of zones shown — always displays the closest ones to current price
Zone Expand — Makes each zone slightly thicker to capture neighboring thin levels
Profile Offset — Controls the space between price and the profile
session mode - best for 1-5 minute timeframe
lookback mode - best for higher timeframe
Pine Script® indicator
GFX CISDThis indicator is designed to identify CISD (Change in State of Delivery) with precision and clarity, helping traders visualize shifts in market structure and potential directional bias in real time.
Built with a focus on simplicity and accuracy, GFX CISD highlights key moments where price delivery changes, allowing traders to anticipate continuation or reversal setups with confidence.
🔹 Key Features:
-Automatic detection of CISD (Change in State of Delivery)
-Clean and minimal visual plotting directly on candle opens
-Optimized for indices, forex, and commodities
-Helps confirm entries alongside displacement and structure
-Designed for intraday and scalping strategies
🔹 How to Use:
Use CISD signals in confluence with your existing strategy (e.g., VWAP, EMAs, kill zones, or higher timeframe bias). A valid CISD can indicate a shift in delivery, often leading to high-probability setups when aligned with market structure.
🔹 Philosophy:
This tool is not meant to be used in isolation. It is built to enhance decision-making, improve timing, and bring clarity to price action.
Pine Script® indicator
Candle Fingerprint [TradingIQ]Hello Traders!
🔹 Candle Fingerprint
Candle Fingerprint is a pattern-based analysis tool designed to study how price has typically behaved after specific candle structures.
Instead of treating candles as isolated events, this tool compares current candles to historical ones and shows what has usually happened next in similar situations .
Think of it as a way to find historical matches and outcomes for the current candle , not as a fixed prediction engine.
finds candles with similar structure in the past
compares body size, wicks, volatility, and close position
tracks whether price typically continued or reversed
shows continuation vs reversal rates
displays typical move after similar candles
optional streak-based behavior analysis
🔹 What the tool shows
🔸 Candle similarity matching
The script analyzes the current candle and searches historical data for candles with similar structure.
It compares multiple components such as body size, wick proportions, volatility, and where the candle closed within its range.
This helps reveal:
which past candles looked similar to the current one
how those candles behaved afterward
whether similar setups tended to continue or reverse
Instead of assuming what a candle means, you get a historical reference for how similar structures have behaved before .
🔸 Continuation vs reversal behavior
Once similar candles are found, the script tracks what happened next.
It calculates how often price continued in the same direction versus reversing.
This allows you to see:
whether continuation or reversal has been more common
the relative strength of that tendency
how consistent the behavior has been across samples
This provides context around the current candle, rather than a guaranteed outcome.
🔸 Typical move after the candle
In addition to direction, the script measures how far price typically moved after similar candles.
It calculates median moves for both continuation and reversal scenarios.
This helps show:
the typical size of follow-through moves
the difference between continuation and reversal magnitude
how strong or weak reactions have been historically
This is not about predicting an exact move, but about understanding what has commonly happened in the past .
🔸 Visual similarity mapping
The script highlights the most similar historical candles directly on the chart.
This gives a visual reference for how past setups formed and evolved.
This helps you:
see real examples of similar price behavior
compare structure side by side
understand how the current setup fits into historical context
🔸 Candle streak model
In addition to similarity, the script includes a streak-based model that tracks sequences of consecutive up or down closes.
This allows you to analyze:
what has typically happened after multiple up closes
what has typically happened after multiple down closes
how continuation vs reversal tendencies shift with streak length
This provides a different lens focused on momentum sequences rather than structure .
🔸 Confidence context
The tool evaluates how reliable the observed behavior is based on sample size and consistency.
This helps you understand:
whether the data is meaningful or limited
how much weight to give the observation
when patterns appear more or less stable
🔹 How to read it
Each component gives a different layer of insight:
Candle structure → what the current candle looks like
Similarity matches → where this pattern appeared before
Continuation rate → how often price continued
Reversal rate → how often price reversed
Typical move → how far price typically moved afterward
Streak context → how sequences of candles have behaved
🔹 Why this tool is useful
It gives you:
a structured way to compare current candles to historical ones
context for whether a setup has tended to continue or reverse
typical move expectations based on past behavior
a data-driven alternative to subjective candle interpretation
multiple perspectives using both structure and streak behavior
🔹 Best use cases
analyzing individual candle behavior
comparing current setups to historical patterns
studying continuation vs reversal tendencies
understanding momentum through candle streaks
adding contextual data to price action analysis
🔹 Important note
This tool is based entirely on historical observations and pattern matching.
That means:
it reflects past behavior, not guaranteed outcomes
it should not be treated as a predictive or deterministic model
similar candles can still produce different results
outputs are best used as context, not certainty
🔹 Inputs you can customize
The script includes flexible controls such as:
model selection (similarity or streak)
candle selection method
table display and positioning
similarity weighting (body, wicks, volatility, close)
history table settings
visual offset and layout
Closing Notes
Candle Fingerprint is built to shift the focus from what a candle looks like to how similar candles have behaved historically .
It does not attempt to predict the future, but instead provides a structured view of what has typically happened in comparable situations , allowing you to make more informed, contextual decisions.
Thank you for checking it out!
Pine Script® indicator
Power TrendIdentifies power trend conditions.
1. Buy Signal:
- Low has been above the Fast EMA for >= 10 consecutive bars.
- Fast EMA has been above the Slow EMA for >= 5 consecutive bars.
- Slow EMA is in an uptrend (current slow EMA > previous slow EMA).
- Current bar is bullish (close > open).
2. Soft Warning Signal:
- Occurs after a buy signal if price closes below the Slow EMA.
3. Sell Signal:
- Occurs if Fast EMA < Slow EMA.
Pine Script® indicator
Artemis Volatility Bands PRO🟦 Artemis Volatility Bands PRO is a price-overlay volatility indicator built on the KernelLens Nadaraya–Watson regression library (a_jabbaroff/KernelLens/1). A single kernel estimate — selectable from eight classical kernel families — anchors the Basis line. Around it, two outer bands fan outward by a fixed multiple of the residual standard deviation, creating an envelope whose width is model-consistent with the kernel. The interior is washed with a 6-layer neon halo that mirrors the statistical density of price residuals under normality. A signal engine detects basis-breaks with confirming slope direction, guarded by Confirmed (zero-repaint) or Realtime mode. Twelve cohesive color themes, a theme-aware Dark / Light dashboard, and four opt-in alert conditions complete the indicator.
🟦 HOW IT WORKS
Artemis Volatility Bands PRO fuses two mathematical operations on every bar — a single kernel regression pass and a residual standard deviation calculation:
basis = kl.estimate(type, src, ℓ, α, period, phase, filter)
sigma = kl.confidenceBand(src, basis, window)
upper = basis + k · σ
lower = basis − k · σ
where ℓ is the Primary Bandwidth, k is the Band Multiplier, and window is the Residual σ Window. The kernel regression produces the Basis line, and the residual standard deviation (σ of price − basis) produces the per-σ band half-width.
This architecture collapses classical Bollinger band duality: in Bollinger bands, the moving average and volatility estimate live in different statistical universes. In Artemis, both emerge from a single kernel pass, so the envelope is internally consistent by construction. The Basis is always non-parametric, and the band width always measures deviation relative to the Basis, never to a disconnected moving average.
The library handles all weighted-sum computation, kernel weight evaluation, NA-safe iteration, division-by-zero guards, and input validation internally. Artemis Volatility Bands PRO does not reimplement any kernel math — every bug fix or optimization in the library automatically propagates to this indicator.
🟦 KERNEL LIBRARY INTEGRATION
Artemis Volatility Bands PRO imports the published KernelLens library and uses the following exports:
| Library Export | Used For |
|---|---|
| `kl.estimate()` | Unified dispatcher — routes to the correct kernel based on the user's Kernel Type dropdown. Called once per bar to produce the Basis line. |
| `kl.confidenceBand()` | Rolling residual standard deviation — computes σ of (source − basis) over the specified window. |
| `kl.trendState()` | Ternary trend detector — returns +1 (rising), 0 (flat), or −1 (falling) based on a 1-bar finite difference of the Basis. |
Every regression computation — kernel weight evaluation, NA-safe summation, bandwidth-aware loop termination — is delegated to the library. The indicator itself contains zero kernel math; it only orchestrates three library calls and aggregates their outputs into the band envelope and signal logic.
🟦 KERNEL REGRESSION & RESIDUAL VOLATILITY
**The Basis line** — A non-parametric kernel regression anchored to the user's choice of price source (default: close; also supports hl2, ohlc4, custom). Eight kernel families available:
| Kernel | Behavior | Best For |
|---|---|---|
| Rational Quadratic | Multi-scale mixer; α controls stretch | Default, balanced responsiveness |
| Gaussian / RBF | Canonical smoother, infinitely differentiable | Smooth trend, minimize noise |
| Periodic | Resonates with a known repetition distance p | Cyclic markets, seasonal patterns |
| Locally Periodic | Periodic × gaussian blend | Seasonal + trend drift |
| Epanechnikov | MSE-optimal, compact support | Minimal tail contamination |
| Tricube | LOWESS standard, near-Gaussian profile | Fast computation, robust |
| Triangular | Simplest compact kernel | Lightweight, real-time responsiveness |
| Cosine | Raised-cosine, smooth boundary transition | Smooth rolloff, professional appearance |
Three filter modes applied on top of the raw kernel estimate:
| Filter | Description | Use Case |
|---|---|---|
| No Filter | Single-pass Nadaraya–Watson | Rawest output, maximum responsiveness |
| Smooth | Double-pass: kernel applied to its own output | Cleaner, slightly more lag |
| Zero Lag | Ehlers de-lagging: 2·raw − smooth | Sharpens edges without increasing lag |
**Residual volatility** — Once the Basis is computed, the per-bar residual is (source − basis). The residual standard deviation is the rolling σ of this residual over a configurable window (default: 14 bars). This is the model-consistent volatility estimate — price deviations are measured relative to the kernel Basis, guaranteeing alignment between trend and volatility.
**Band levels** — upper = basis + k · σ and lower = basis − k · σ, where k is the Band Multiplier (default: 2.0, Bollinger-style). The multiplier is user-adjustable from 0.5 (tight) to 5.0 (wide).
🟦 SIGNAL ENGINE
Artemis fires Long / Short signals when price breaks the Basis with a confirming slope direction:
Long → close > basis AND basis rising
Short → close < basis AND basis falling
The signal state is persistent — once a direction flips, it remains latched until the opposite condition fires. This state machine (vii ∈ {−1, 0, +1}) ensures the Basis hue stays coherent across bars even when the raw trigger is a single-bar event.
Signal markers fire ONLY on the bar the state flips, not on every bar that satisfies the raw condition. This keeps the chart uncluttered and mirrors how discretionary traders consume trend-flip information.
**Signal Mode** — Two gating options:
| Mode | Behavior | Repaint |
|---|---|---|
| Confirmed | Signals fire ONLY after the bar closes via `barstate.isconfirmed` | Zero repaint, fully reliable for live trading |
| Realtime | Signals fire on the current (open) bar as soon as the condition is met | Fastest reaction; signal may vanish if price reverses before bar closes |
Historical repainting never occurs at any Signal Mode value. The library's `_phase` parameter shifts every kernel center into the past by that many bars, so historical bars' plotted values are final once confirmed.
🟦 6-LAYER NEON HALO VISUALIZATION
The interior between the Basis and each outer band is filled with a 6-layer gradient: 5 interior step plots plus the outer band, creating a stepped transparency schedule that mirrors the statistical density of price residuals under normality.
**Transparency schedule:**
| Layer | Transparency | Meaning |
|---|---|---|
| Outer band ↔ 1st interior | 70 % | Densest layer |
| 1st ↔ 2nd | 78 % | |
| 2nd ↔ 3rd | 85 % | |
| 3rd ↔ 4th | 90 % | |
| 4th ↔ 5th | 95 % | |
| 5th ↔ Basis | 98 % | Nearly invisible fade to centerline |
Every transparency value is scaled by the Gradient Intensity input (0–100 %), so the user can dial the visual density from invisible (0) to heavy fills (100).
**Color assignment:**
- Upper band + gradient: Bearish theme hue (short signal color)
- Lower band + gradient: Bullish theme hue (long signal color)
- Basis line: Slope-adaptive color (thBull when rising, thBear when falling, previous color on flat bars)
**Signal markers** — Two-layer neon glow plotshapes:
- Halo: size.small, 40 % opaque theme hue (glow layer)
- Core: size.tiny, 100 % opaque theme hue (bright center)
🟦 THEME SYSTEM
Twelve cohesive color palettes tuned to every trading aesthetic. One selection drives every visual component — Basis line, outer bands, gradient halos, long / short signal markers, dashboard accents — all sharing the same bull / bear / neutral color axes:
| Theme | Bull | Bear | Usage |
|---|---|---|---|
| Tropic | Cyan steel | Deep orange | Default, electric contrast |
| Amber | Warm amber | Indigo blue | Fire tones |
| Pastel | Sky blue | Soft lavender | Cool arctic glow |
| Cyber | Neon lime | Hot crimson | Cyber terminal aesthetic |
| Helios | Bright gold | Scarlet | Solar warmth |
| Electric | Electric aqua | Magenta | High-voltage neon |
| Candy | Neon green | Hot pink | Dark energy pop |
| Bloomberg | Terminal orange | Cyan | Wall Street finance heritage (PRO) |
| Solar | Solarized olive | Crimson | Developer palette, easy on eyes (PRO) |
| Royal | Imperial gold | Deep purple | Luxury signature (PRO) |
| Midnight | Deep navy | Dark crimson | Dark depth |
| Graphite | Near-black | Silver grey | Monochrome minimal |
**Dashboard display modes** — Dark (black background, bright accents) or Light (white background, darker accents), auto-adapting visual contrast regardless of chart background.
🟦 DASHBOARD
A 2-column, 9-row theme-aware status panel that updates only on the last bar (zero historical overhead). Supports Dark and Light display modes, six docking positions, and four text sizes. Renders via `force_overlay = true` on the main price chart.
| Row | Label | Content |
|---|---|---|
| Header | ARTEMIS PRO | DARK / LIGHT |
| Theme | Theme | Active palette name |
| Divider | KERNEL | — |
| Type | Type | Selected kernel type |
| Bandwidth ℓ | Bandwidth ℓ | Primary bandwidth + Phase φ |
| Basis | Basis | Current Basis value in chart mintick format |
| Divider | VOLATILITY | — |
| Residual σ | Residual σ | Current residual standard deviation |
| Signal | Signal | ▲ LONG / ▼ SHORT / ━ FLAT (direction-colored) |
🟦 ALERT CONDITIONS
Four opt-in alert conditions, each gated by its own toggle:
| Alert | Fires When |
|---|---|
| Long Signal | Price breaks above the Basis with a rising slope (confirmed state flip) |
| Short Signal | Price breaks below the Basis with a falling slope (confirmed state flip) |
| Upper Band Touch | Price touches or exceeds the upper outer band (raw crossover) |
| Lower Band Touch | Price touches or falls below the lower outer band (raw crossunder) |
Band touch alerts are useful as pre-signal early warnings in trending markets. Signal alerts are gated by the Signal Mode setting, so Confirmed mode ensures zero-repaint alerts suitable for live trading.
All alerts use `alertcondition()` for maximum compatibility with TradingView's alert system including webhooks. Messages are structured as `"Artemis Volatility Bands: "` for easy parsing in downstream automation.
🟦 RECOMMENDED PRESETS
| Trading Style | Bandwidth ℓ | Filter | Residual σ Window | Phase |
|---|---|---|---|---|
| Scalper | 10–20 | No Filter | 8–10 | 1 |
| Day Trader | 20–40 | Smooth | 14 | 2 |
| Swing | 30–60 | Smooth | 20–40 | 2 |
| Position | 60–120 | Smooth | 40–60 | 3 |
**Bandwidth tuning** — Smaller ℓ produces a tighter fit to price and faster reaction; larger ℓ produces smoother curves and more stability. Experiment with ℓ in your preferred style's range, then adjust the Residual σ Window and Filter mode for visual smoothness.
**Phase tuning** — Phase = 0 is live (flickers on the current bar); Phase = 2 is the recommended balance; Phase = 3+ adds margin against noise at the cost of lag. Historical charts are immutable at any phase value.
🟦 KERNEL-ONLY DESIGN PHILOSOPHY
Artemis Volatility Bands PRO contains zero classical technical analysis bolt-ons. No Bollinger Bands, no Keltner Channels, no linear regression, no ATR, no moving averages — only kernel regression and residual volatility. This kernel-only architecture guarantees that:
1. **Internal consistency** — The Basis and band width emerge from a single statistical model, not from mixing independent techniques.
2. **Unified parameterization** — All visual outputs (Basis, bands, gradient) are controlled by a single set of kernel-theoretic parameters.
3. **No analytical compromise** — Every choice in the indicator is mathematically motivated; no ad-hoc decorations.
The philosophy is defensive: traders who layer Artemis on top of their own edge strategies get a pure kernel-regression envelope that will not conflict with classical-TA signals already in use. Traders seeking a standalone kernel-based indicator get a complete, coherent system.
🟦 COMPATIBILITY
- Pine Script v6
- All exchanges, all asset classes (crypto, forex, equities, commodities, indices)
- All timeframes (1 minute through Monthly)
- Both Dark and Light chart themes — visual elements auto-adapt to chart background
- No exchange-specific logic — fully deterministic
Indicator renders on the main overlay chart with `force_overlay = true`. No secondary panes, no subplot logic.
🟦 TECHNICAL NOTES
- **Library dependency** — `import a_jabbaroff/KernelLens/1` — all kernel regression math is delegated to the published library
- **Plot budget** — 2 outer bands + 10 gradient interior plots + 1 Basis + 1 transparent anchor + 4 signal shapes + 12 fills + 4 alertconditions = 34 outputs, well under Pine's 64-output hard limit (50 % margin)
- **Table** — Single `var table` created once on `barstate.islast` with `force_overlay = true`; dashboard renders on the main chart pane, zero historical overhead
- **No persistent drawing objects** — no `box.new`, `line.new`, no `array.new`; all visuals are plots and fills
- **Opacity convention** — every user-facing opacity / transparency input follows `0 = invisible, 100 = fully opaque`; conversion to Pine's native transparency is centralized in a single helper function (`f_opac`)
- **Non-repainting** — inherits from the library's `_phase` parameter; no `request.security`, no lookahead, no future-bar leakage at any phase value
- **Residual consistency** — The residual σ is computed as `ta.stdev(source − basis, window)`, ensuring the band width always measures deviation relative to the kernel Basis
🟦 DISCLAIMER
Artemis Volatility Bands PRO is a technical analysis indicator built on the KernelLens Nadaraya–Watson regression library. It is provided solely for educational and research purposes and does not constitute financial, investment, or trading advice.
Kernel regression is a local smoothing technique. It estimates the mean of a source series in the neighborhood of the current bar based on historical data, but it does not predict future prices, does not generate trading signals on its own, and does not guarantee the profitability of any strategy built on top of its output. The signal engine is a mechanical detector of basis breaks and slope direction — not a forecast — and should always be combined with broader context: higher-timeframe structure, volatility regime, liquidity, news, and risk management.
Past performance of any model does not guarantee future results. Markets contain systemic risks that cannot be eliminated by any amount of mathematical rigor. Responsibility for any trading decisions rests entirely with the user. Always apply sound capital management, conduct your own independent analysis, and never risk capital you are not prepared to lose.
The author assumes no liability for direct or indirect losses incurred through the use of Artemis Volatility Bands PRO or the underlying KernelLens library.
Pine Script® indicator
Adaptive Confluence Engine [CLEVER]📌 Overview
Adaptive Confluence Engine is a structured, multi-layer technical analysis framework built to evaluate market conditions through weighted confluence rather than single-indicator signals.
The script integrates trend alignment, momentum structure, volatility conditions, participation metrics, and higher timeframe context into a unified scoring model. Instead of treating indicators as isolated tools, each component contributes a defined weight toward an overall directional bias. A signal is generated only when multiple independent conditions align and a structural trigger confirms participation.
This design reduces reliance on any one variable and emphasizes contextual agreement across:
Long-term trend positioning
Medium-term directional structure
Momentum continuation or exhaustion zones
Volatility expansion conditions
Volume confirmation
Higher timeframe bias alignment
Basic price action structure (engulfing behavior)
The engine uses a transparent scoring system where each condition adds measurable value to either bullish or bearish pressure. When the total score exceeds a defined threshold (based on selected signal mode), and a structural EMA crossover occurs, a trade signal is produced.
Importantly, all calculations are performed using confirmed bar data with no forward-looking references. Higher timeframe values are requested with lookahead_off, ensuring non-repainting behavior.
The system does not attempt to forecast price direction. Instead, it identifies moments where market structure, momentum, and volatility conditions are statistically aligned within the current chart environment. The goal is to provide a structured decision-support framework that helps traders evaluate confluence strength and manage risk using adaptive ATR-based projections.
Additionally, the script includes:
Dynamic ATR-based stop loss and multi-target mapping
Optional higher timeframe trend filter
Fair Value Gap (3-candle imbalance) visualization with mitigation tracking
Real-time performance tracking dashboard
Clean visual presentation with minimal chart clutter
This framework is designed as a modular confluence model, allowing traders to adjust signal sensitivity while maintaining consistent internal logic.
📐 Core Concepts
1️⃣ Multi-Factor Confluence Framework
This script is built on the principle of multi-factor condition alignment rather than single-indicator triggering. Instead of generating signals from isolated crossovers or oscillator thresholds, the system evaluates multiple independent analytical dimensions simultaneously. These dimensions include trend structure, momentum state, volatility expansion, participation behavior, directional strength, and higher timeframe alignment. The objective is not to predict price movement, but to measure how many independent technical conditions agree at the same time and quantify that agreement through a structured framework.
2️⃣ Weighted Scoring Architecture
At the core of the engine is a weighted scoring system. Each validated technical condition contributes a predefined numerical value toward a directional bias. When multiple components align in the same direction, their weights accumulate into a total score. That score is then compared against a configurable threshold. Only when the required level of alignment is reached does the system recognize directional bias as structurally valid. This transforms qualitative confluence into a measurable and rule-based evaluation model.
3️⃣ Trend Structure Evaluation
Trend structure within the script is evaluated through moving average positioning and relational hierarchy. Instead of defining trend purely from price direction, the system analyzes the relationship between short-, mid-, and long-term exponential moving averages. It evaluates their order, spacing, and crossover behavior to determine whether the market is in expansion, compression, or transition. This approach treats trend as a dynamic structural condition rather than a fixed directional assumption.
4️⃣ Momentum Confirmation Logic
Momentum is used as a confirmation layer rather than a standalone trigger. Oscillator behavior and crossover states are analyzed in relation to the broader trend structure. Instead of interpreting extreme values as reversal signals, the system evaluates whether momentum supports the existing structural direction. This ensures momentum acts as reinforcement of trend alignment rather than an independent signal source.
5️⃣ Volatility State Measurement
Volatility is measured using the relationship between current Average True Range (ATR) values and their historical average. This allows the system to identify whether the market is in a compression phase or an expansion phase. The measurement does not attempt to predict directional outcomes; it simply classifies the current volatility environment to provide context for price behavior.
6️⃣ Volume Participation Context
Volume is evaluated relative to its moving average baseline to determine whether current participation is above or below recent norms. Instead of assigning directional meaning to volume changes, the system uses it as a contextual filter. It helps identify whether price movement is occurring under increased or reduced market participation conditions.
7️⃣ Higher Timeframe Alignment
The system optionally incorporates higher timeframe trend context by comparing price with higher timeframe EMA structure. This allows lower timeframe signals to be filtered based on broader directional alignment. Higher timeframe data is retrieved using non-forward-looking methods to ensure historical consistency and avoid repainting behavior.
8️⃣ Structural Trigger Dependency
Signal generation requires both scoring alignment and a structural trigger condition. Even when the weighted score meets the required threshold, a structural event such as a moving average crossover is needed for activation. This separation ensures that signals only appear when both internal agreement and structural transition occur simultaneously.
9️⃣ Volatility-Adjusted Risk Projection
Risk levels, including stop loss and target projections, are calculated using ATR-based multipliers. This allows all distance measurements to adapt dynamically to current market volatility. Instead of using fixed values, the system scales projections according to changing market conditions, ensuring consistency across different volatility regimes.
🔒 Data Integrity Principle
All calculations are based on confirmed historical bar data. No future price references are used, and higher timeframe requests are configured without lookahead. Signal generation occurs only after all conditions are fully confirmed, ensuring consistent and non-repainting behavior.
🎯 Key Features
1️⃣ Multi-Condition Confluence Engine
This script is designed around a multi-condition evaluation system where multiple technical components are assessed simultaneously. Instead of relying on a single indicator signal, it combines trend, momentum, volatility, volume, and structural behavior into one unified framework. Each condition contributes independently to the overall directional assessment, allowing the system to evaluate market context through layered confirmation rather than isolated signals.
2️⃣ Weighted Scoring-Based Signal Logic
Signal generation is driven by a weighted scoring model. Each technical condition is assigned a predefined contribution value based on its role in market structure interpretation. These values are accumulated into a total score for both bullish and bearish scenarios. A signal is only considered valid when the accumulated score exceeds a defined threshold, ensuring that multiple independent confirmations are required before any directional output is produced.
3️⃣ Structural Trend Identification
Trend direction is determined through a structured evaluation of exponential moving averages and Supertrend positioning. The relationship between short-term, mid-term, and long-term averages is analyzed to classify market direction and structure. This approach focuses on relative alignment between trend components rather than relying on price alone, allowing clearer identification of directional bias conditions.
4️⃣ Momentum Alignment Layer
Momentum is incorporated as a supporting confirmation layer rather than a standalone signal source. Indicators such as MACD, RSI, and stochastic behavior are evaluated in relation to trend direction. The purpose of this layer is to verify whether internal market momentum aligns with the broader structural direction, helping filter conditions where trend and momentum are inconsistent.
5️⃣ Volatility-Based Dynamic Risk Levels
Risk parameters are calculated using Average True Range (ATR) to adapt to current market volatility. Stop loss and take profit levels are derived using ATR multipliers, allowing distance levels to adjust automatically according to market conditions. This ensures that risk and reward projections remain consistent across both high and low volatility environments.
6️⃣ Higher Timeframe Context Filtering
The system includes an optional higher timeframe filter that evaluates broader market direction using EMA-based structure. This filter helps ensure that lower timeframe signals are aligned with higher timeframe bias when enabled. The higher timeframe data is requested in a non-repainting manner to preserve historical consistency and prevent future data influence.
7️⃣ Structural Signal Trigger Mechanism
Signals are not generated solely from score conditions. A structural trigger, such as an EMA crossover, is required to activate a trade signal. This separation between “condition agreement” and “execution trigger” ensures that signals only appear when both momentum alignment and structural transition occur together.
8️⃣ Fair Value Gap (FVG) Detection & Tracking
The script identifies Fair Value Gaps based on three-candle price imbalance structures. These zones are visualized on the chart and extended dynamically until price interacts with them. Once a gap is fully mitigated by price movement, it is automatically removed. This feature provides structural imbalance visualization without making predictive assumptions.
9️⃣ Trade Level Mapping System
Upon signal generation, the system automatically maps entry, stop loss, and three target levels based on ATR multiples. These levels are plotted on the chart and updated dynamically according to the active trade direction. This creates a structured visual framework for risk and reward reference points.
🔒 Non-Repainting Data Processing
All calculations are based strictly on confirmed bar data. The script does not use future values in any calculation or signal generation. Higher timeframe requests are configured with lookahead disabled to maintain historical accuracy and ensure consistent behavior across all timeframes.
⚙️ How It Works
1️⃣ Data Collection Layer
The script begins by collecting real-time market data from price, volume, and higher timeframe sources. It calculates multiple foundational indicators including exponential moving averages, RSI, MACD, stochastic values, ATR, ADX, Supertrend, and volume averages. Each of these components represents a different aspect of market behavior such as trend direction, momentum strength, volatility state, and participation level. Higher timeframe data is also optionally retrieved to provide broader market context.
2️⃣ Independent Condition Evaluation
After data collection, each technical component is evaluated independently against predefined conditions. For example, moving averages are checked for alignment, momentum indicators are analyzed for directional bias, volatility is compared against its historical average, and volume is assessed relative to its moving average. Each condition produces a logical outcome that contributes to either bullish or bearish interpretation.
3️⃣ Confluence Scoring Process
All evaluated conditions are then passed into a weighted scoring system. Each valid condition adds a specific numerical value to either the bullish or bearish score. These values are accumulated separately for both directions. The system does not rely on a single dominant indicator; instead, it measures the combined agreement of multiple conditions. The final score represents the overall strength of directional alignment at that moment.
4️⃣ Threshold Validation System
Once scoring is completed, the total values are compared against a configurable threshold. The threshold is based on the selected signal mode (Aggressive, Balanced, or Conservative). Only when the accumulated score meets or exceeds the required threshold does the system consider the market condition strong enough for potential signal activation. This step ensures that weak or partial alignment conditions are filtered out.
5️⃣ Structural Trigger Confirmation
Even after passing the scoring threshold, a signal is not generated immediately. The system requires a structural trigger, such as an EMA 21 and EMA 50 crossover or crossunder, to confirm directional transition. This step ensures that signals are only activated when both internal strength (score) and structural movement (trend shift) occur together.
6️⃣ Higher Timeframe Validation (Optional)
If enabled, the system checks higher timeframe trend alignment using EMA-based structure. This step ensures that lower timeframe signals are aligned with broader market direction. If the higher timeframe filter does not support the current direction, signal generation is restricted. This layer acts as a contextual filter rather than a primary trigger.
7️⃣ Risk Level Calculation
Once a valid signal is confirmed, the script calculates entry, stop loss, and take profit levels using Average True Range (ATR). ATR acts as a volatility measurement, allowing risk levels to adjust dynamically based on current market conditions. This ensures that distance between entry and risk/reward levels expands or contracts according to market volatility.
8️⃣ Trade State Management
After signal generation, the system tracks active trade state internally. It records entry price, stop loss level, and three separate target levels. As price moves, the system monitors whether each target or stop level has been reached. This tracking allows structured visualization of trade progression without manual intervention.
9️⃣ Fair Value Gap Monitoring
In parallel with signal logic, the system continuously scans for Fair Value Gaps using three-candle imbalance structures. When such gaps are detected, they are plotted and extended until price revisits the zone. Once price fully interacts with the imbalance area, the gap is removed from the chart. This process runs independently of the main signal system.
🔒 Execution Principle Summary
Overall, the system operates in a sequential flow:
data collection → condition evaluation → score aggregation → threshold validation → structural confirmation → risk mapping → trade tracking.
Each layer functions independently but contributes to a unified decision framework. The design ensures that signals are only generated when multiple analytical conditions align and are confirmed through structural market behavior.
🧭 How to Use This Script
1️⃣ Chart Setup and Activation
To use this script, it should be added directly to a TradingView chart as an overlay indicator. Once applied, it automatically begins analyzing live market data based on the selected symbol and timeframe. The system does not require manual calculation inputs, as all indicators, scoring logic, and structural conditions are computed internally.
After activation, users can optionally enable or disable visual components such as moving averages, Supertrend, and candle coloring. These settings are designed to allow customization of visual clarity without affecting the underlying logic of signal generation.
2️⃣ Selecting Signal Mode
The script provides three signal sensitivity modes: Aggressive, Balanced, and Conservative. These modes control the minimum score required for signal consideration.
Aggressive mode requires lower confirmation levels and produces more frequent signals
Balanced mode uses a moderate confirmation threshold
Conservative mode requires stronger multi-condition alignment before a signal is displayed
This setting does not change indicator behavior; it only adjusts how strict the confirmation requirement is before signal activation.
3️⃣ Understanding Signal Conditions
Signals are generated only when two conditions are met simultaneously: a structural trend change and sufficient multi-factor score alignment. A trend change is identified through EMA crossover logic, while the score represents the combined strength of multiple technical conditions such as momentum, trend alignment, volatility state, and volume behavior.
Users should understand that signals are not based on a single indicator but on the combined agreement of multiple analytical layers. Therefore, signals appear only when multiple conditions align in the same directional bias.
4️⃣ Reading Buy and Sell Signals
Buy signals appear when bullish conditions align and are confirmed by structural crossover logic. Sell signals appear under the opposite conditions. These signals are displayed directly on the chart using labeled markers.
Each signal represents a point where multiple conditions agree on directional bias and structural confirmation has occurred. Signals should be interpreted as analytical outputs rather than automatic trade instructions.
5️⃣ Using Entry, Stop Loss, and Targets
After a signal is generated, the system automatically plots an entry reference level along with stop loss and three take profit levels. These levels are calculated using ATR-based multipliers, which means they adjust dynamically according to market volatility.
Entry represents the reference price level at signal activation
Stop loss is calculated below or above entry depending on direction
TP1, TP2, and TP3 represent staged target levels based on volatility expansion
These levels are visual guides for structured risk and reward planning and are not fixed price predictions.
6️⃣ Monitoring Trade Progress
Once a signal is active, the system tracks price movement relative to defined levels. If price reaches any target or stop level, it is recorded internally and displayed on the chart. This allows users to observe how price interacts with predefined structure over time.
The system does not automatically execute trades; it only tracks conditions and displays outcomes based on price interaction with levels.
7️⃣ Using Higher Timeframe Filter
If enabled, the higher timeframe filter adds an additional layer of confirmation by checking broader market direction. When this filter is active, signals that conflict with higher timeframe trend are restricted.
This feature is useful for aligning lower timeframe signals with overall market structure, reducing conflicting directional bias across timeframes.
8️⃣ Interpreting Fair Value Gaps
The script also highlights Fair Value Gaps (FVGs), which represent price imbalance areas formed between candles. These zones are displayed on the chart and extended forward until price revisits them.
When price fully interacts with a gap zone, it is automatically removed. These zones are used for structural context only and do not represent guaranteed reversal or continuation areas.
🔒 Practical Usage Summary
In practical use, the workflow is simple:
apply indicator → select signal mode → observe signals → monitor risk/target levels → use higher timeframe filter for context → reference FVG zones for structure.
The system is designed to provide structured technical analysis by combining multiple market factors into a single visual and rule-based framework, without requiring manual calculations.
⚙️ Settings & Customization
1️⃣ Signal Mode Customization
The script provides a Signal Mode option that controls how strict the confirmation logic is before a signal is displayed. This setting adjusts the internal score threshold required for signal validation, without changing the underlying calculations.
Aggressive Mode lowers the confirmation requirement, allowing signals to appear with fewer aligned conditions.
Balanced Mode applies a moderate threshold and represents a middle-ground filtering approach.
Conservative Mode increases the confirmation requirement, meaning more conditions must align before a signal is generated.
This setting is used to control signal sensitivity based on user preference and market style.
2️⃣ Moving Average Visibility Settings
Users can enable or disable different moving averages to customize chart clarity.
EMA 200 represents broader structural trend and can be enabled for long-term context
EMA 50 provides mid-term trend structure reference
EMA 21 is used internally for signal logic and crossover detection
These options are visual only and do not affect internal calculations or signal generation logic.
3️⃣ Supertrend Display Control
The Supertrend line can be toggled on or off depending on user preference. When enabled, it provides an additional visual representation of directional trend structure. This setting is designed purely for chart visualization and does not modify the scoring or signal logic.
4️⃣ Candle Coloring Option
The script includes an optional candle coloring feature based on trend direction relative to EMA 200. When enabled, candles are visually colored to reflect broader market bias.
This feature is only for visual assistance and does not influence signal generation or internal decision-making.
5️⃣ Risk and Reward Configuration (ATR Multipliers)
The script allows full customization of risk and reward structure using ATR-based multipliers:
Stop Loss multiplier controls how far stop levels are placed relative to entry
TP1, TP2, and TP3 multipliers define progressive target distances
Higher values increase distance between entry and levels, while lower values reduce spacing. These settings adapt automatically to volatility because they are based on ATR rather than fixed price points.
6️⃣ Higher Timeframe Filter Settings
Users can enable or disable higher timeframe confirmation. When enabled, the script compares current price structure with a higher timeframe EMA 200 trend.
If enabled, signals are filtered based on broader directional alignment
If disabled, only current timeframe conditions are used
The timeframe itself can also be adjusted, allowing flexibility in how broader market structure is evaluated.
7️⃣ Fair Value Gap (FVG) Settings
The FVG module includes customization options for imbalance detection and visualization.
Bullish and bearish FVG colors can be adjusted for clarity
Maximum active FVG limit controls how many zones remain visible on the chart
This ensures chart performance remains stable even during high activity conditions.
8️⃣ Dashboard Position Customization
The analytics dashboard can be placed in different chart areas:
Top Left
Top Right
Bottom Left
Bottom Right
This allows users to adjust layout based on chart space and personal preference. The dashboard itself displays live system data and does not affect calculations.
🔒 Customization Principle Summary
All settings in the script are designed to control visual appearance, signal sensitivity, and risk structure, without modifying the core analytical engine.
The internal logic always remains consistent, while customization options allow users to adjust how signals are filtered, displayed, and interpreted.
⚙️ Mashup Design Justification (House Rules Safe Explanation)
This script combines multiple technical components, but it is not a simple “indicator stacking” or random merge. It is structured as a single analytical framework where each component has a defined role inside a unified decision model. The purpose of combining these tools is to evaluate different dimensions of market behavior in a controlled and rule-based manner.
1️⃣ Why the Scoring Model Exists
The scoring model exists to convert multiple independent market conditions into a single structured evaluation output. In traditional single-indicator systems, signals are generated when one condition is met, which can lead to inconsistent behavior across different market environments.
In this framework, each indicator does not act as a standalone signal generator. Instead, each one contributes a weighted value representing a specific market dimension such as trend alignment, momentum strength, volatility state, or participation level. These values are accumulated into a total score.
The purpose of this design is to measure confluence strength, meaning how many independent technical conditions are aligned at the same time. A signal is only considered valid when enough conditions agree, which is why scoring is used instead of binary logic.
2️⃣ Why EMA Crossover is Used as a Trigger
The EMA 21 and EMA 50 crossover is used as a structural trigger mechanism, not as a standalone trading signal.
The scoring model identifies whether market conditions are aligned, but it does not define when the market is actually transitioning. The EMA crossover is used to detect this transition point in structure.
This separation is important:
Scoring = evaluates market condition strength
EMA crossover = confirms directional structural change
A signal is only generated when both conditions occur together. This prevents signals from appearing during weak or sideways alignment where no structural shift has occurred.
3️⃣ Why Higher Timeframe (HTF) Filter is Used
The higher timeframe filter is included to provide multi-layer market context. Markets behave differently across timeframes, and lower timeframe signals can sometimes conflict with broader directional structure.
The HTF filter compares current price structure with higher timeframe EMA-based trend direction. When enabled, it ensures that lower timeframe signals are only considered when they are not opposing the broader trend environment.
The purpose of this filter is not prediction, but context alignment, ensuring that signals are consistent across multiple timeframes instead of being isolated to a single chart view.
4️⃣ Why ATR-Based Risk Model is Used
ATR (Average True Range) is used to define dynamic risk levels because market volatility is not constant. Fixed stop loss and target values do not adapt to changing market conditions, which can lead to inconsistent risk structure across different volatility phases.
In this script, ATR is used to calculate:
Stop loss distance
Take profit levels (TP1, TP2, TP3)
This ensures that all risk and reward levels automatically adjust based on current market volatility. During high volatility, levels expand; during low volatility, they contract.
The purpose of this design is to maintain volatility-adjusted consistency, not to predict price movement.
5️⃣ Why Multiple Indicators Are Combined
Each included indicator serves a different analytical function:
EMA system → trend structure
Supertrend → directional confirmation
MACD → momentum alignment
RSI → relative strength positioning
Stochastic → short-term momentum shifts
ADX → trend strength measurement
Volume filter → participation context
ATR → volatility scaling
HTF filter → higher timeframe structure
FVG detection → imbalance visualization
These are not combined to create multiple signals. Instead, they are used to evaluate different dimensions of the same market condition.
The system only generates output when multiple independent conditions agree, which is why it is structured as a confluence-based analytical model, not a simple indicator mashup.
🔒 Final Compliance Summary
This script is designed as a unified decision framework where:
Indicators do not function independently as signal generators
Scoring system evaluates confluence strength
EMA crossover defines structural transition
HTF filter ensures contextual alignment
ATR ensures volatility-adjusted risk mapping
The combination is structured to represent a single rule-based system for market condition evaluation rather than multiple disconnected indicators.
📝 Final Notes (House Rules Safe)
This script is designed as a structured analytical framework that combines multiple technical components into a single unified evaluation system. Each included element serves a specific role within the overall logic, such as trend identification, momentum evaluation, volatility measurement, structural confirmation, and contextual filtering.
The system does not rely on any single indicator to generate signals. Instead, it uses a rule-based confluence approach where multiple independent conditions must align before a signal is considered valid. This reduces dependence on isolated market readings and ensures that outputs are generated only when broader technical agreement is present.
All indicators used in the script are applied in a supporting role within a scoring and confirmation structure. They are not interpreted individually as standalone buy or sell signals. The scoring model ensures that each condition contributes proportionally to a combined directional assessment.
Signal generation is further controlled through a structural trigger mechanism, such as moving average crossover logic. This ensures that signals only appear when both condition alignment and structural transition occur together, rather than from static or partial alignment.
Risk and target levels are calculated using ATR-based volatility measurement, allowing all distance-based projections to adjust dynamically according to current market conditions. This ensures consistency across different volatility environments without relying on fixed values.
Higher timeframe filtering is optionally included to provide broader market context and ensure alignment with larger structural direction when enabled. This helps maintain consistency between lower timeframe signals and overall trend environment.
Fair Value Gap detection is used as a structural visualization tool to highlight price imbalance areas. These zones are tracked dynamically and removed when mitigated by price interaction, providing additional context without influencing signal logic.
Overall, the system operates as a rule-based confluence engine where multiple market dimensions are evaluated together. The goal is to present structured, condition-based analysis rather than isolated indicator outputs, while maintaining consistent, non-repainting behavior based on confirmed data only.
⚠️ Final Notes
This indicator is designed as a multi-layer confluence engine that combines trend, momentum, volatility, and market structure into a single scoring-based decision system. It is important to understand that no trading system guarantees accuracy in all market conditions, and this tool should be treated as a decision-support framework, not a standalone trading guarantee.
The strength of this model comes from its confluence logic, where multiple independent signals (trend direction, momentum strength, volume activity, and higher timeframe bias) must align before a valid trade signal is generated. This reduces random entries and focuses only on structured market conditions where probability is higher.
The built-in ATR-based risk system (SL/TP) ensures that trade management adapts dynamically to volatility rather than using fixed pip values. However, risk levels should always be adjusted according to account size and personal risk tolerance.
The dashboard and scoring system are intended to provide transparency, helping traders understand why a signal is generated rather than blindly following entries. Users are encouraged to test and optimize settings based on their own trading style and market conditions.
⚠️ Disclaimer
This script is developed for educational and informational purposes only. It does not provide financial advice, investment recommendations, or guaranteed trading outcomes.
Trading in financial markets (Forex, crypto, indices, or stocks) involves high risk, and you may lose part or all of your capital. Past performance of this indicator does not guarantee future results.
Users are solely responsible for their trading decisions. It is strongly recommended to:
Use proper risk management
Test the strategy on demo accounts first
Avoid over-leveraging
Combine with personal analysis before execution
The developer holds no responsibility for any financial losses incurred from the use of this indicator.
Pine Script® indicator
Adaptive HalfTrend+ [MAB]Adaptive HalfTrend+ is a self-optimizing trend-following indicator that dynamically selects the most effective amplitude
Instead of relying on a fixed amplitude like the traditional HalfTrend, this indicator continuously evaluates multiple amplitude settings and automatically selects the one that has been performing best on recent price action — delivering a smoother, more responsive trend structure that adapts to changing market conditions.
🔶 HOW IT WORKS
The classic HalfTrend indicator depends on a fixed amplitude value to determine trend structure, which can lead to lag in fast markets or noise in choppy conditions. Adaptive HalfTrend+ solves this by running multiple HalfTrend calculations in parallel across a defined amplitude range.
Each amplitude:
Generates its own trend state and channel structure
Tracks price behavior using a performance scoring system
Is evaluated based on how well it aligns with directional movement
On every bar:
The highest-performing amplitude is selected
Its corresponding trend line and ATR-based channel are applied
The active amplitude is displayed for transparency
This creates a trend-following system that continuously adapts its sensitivity to match current market structure — reducing lag while maintaining stability.
🔶 USAGE
🔹 Trend & Structure
Blue HalfTrend line — Bullish trend active. Price is in an upward structure, with the line acting as dynamic support.
Red HalfTrend line — Bearish trend active. Price is in a downward structure, with the line acting as dynamic resistance.
The line adjusts based on the selected optimal amplitude, allowing it to stay tight during strong trends and widen during volatile phases.
🔹 Channels & Volatility Context
Upper and lower dotted bands — ATR-based channel around the HalfTrend line.
Blue fill — Bullish zone, indicating support-driven movement.
Red fill — Bearish zone, indicating resistance-driven movement.
These channels help visualize volatility expansion and potential reversal zones.
🔹 Trade Signals
Blue triangle / “Buy” label — Bullish signal. Trend flips from bearish to bullish.
Red triangle / “Sell” label — Bearish signal. Trend flips from bullish to bearish.
Signals are generated when the adaptive trend state changes, reflecting a shift in market structure validated by the selected amplitude.
🔶 SETTINGS
🔹 Calculation Settings
Min Amplitude — The smallest amplitude included in the test range. Produces more sensitive, faster signals.
Max Amplitude — The largest amplitude included in the test range. Produces smoother, slower trend detection.
Channel Deviation — Controls the width of the ATR-based channel around the trend line. Higher values expand the channel.
🔹 Visual Settings
Show Arrows — Toggle triangle signals on/off.
Show Channels — Toggle ATR channel bands and fills.
Show Buy/Sell Labels — Toggle text labels for signals.
🔶 NOTES
Suitable for all markets and timeframes.
Works best as a trend-following tool and structure identifier.
Adaptive amplitude selection helps reduce noise in ranging markets while staying responsive in trends.
Channels provide additional context for volatility and potential reversal zones.
The displayed amplitude reflects the currently optimal setting based on recent performance.
Past performance of any selected amplitude does not guarantee future results — always apply proper risk management.
Pine Script® indicator
Fair Value Gap Auto-Fill Tracker [DefinedEdge]This indicator detects Fair Value Gaps (3-candle imbalances) and automatically tracks whether they get filled — replacing guesswork with hard data. A built-in dashboard shows fill rate, average fill speed, and active gap count in real time.
Most FVG indicators just draw boxes. This one tells you how reliable those gaps actually are on your chart.
How It Works:
A bullish FVG forms when the current candle's low is above the candle-two-bars-ago's high, creating an upside imbalance. Bearish is the mirror. Each gap is sized as a percentage of price and filtered by min/max thresholds to remove noise and news spikes. Gaps that overlap older active gaps replace them to keep the chart clean.
Once detected, every gap is tracked bar-by-bar until one of three things happens: it gets filled, it expires, or it stays active.
Fill Modes:
Touch (Wick) — counts as filled when price touches the gap edge
CE / 50% — filled when price reaches the Consequent Encroachment (midpoint), the standard ICT target
Full (100%) — only counts when the entire gap is closed
Switch between modes to see how fill behavior changes on your chart.
Features
Fill Rate Dashboard — live bull/bear/total fill %, avg fill speed in bars, active count
CE Midline — dashed line at the gap midpoint
TP Projections — 1x and 2x gap-height targets from the gap edge
Gradient Intensity — larger gaps are more opaque for visual weight
Gap % Label — imbalance size printed inside each zone
Session Filter — only detect FVGs during a specific session window
State Lifecycle — Active (bright, solid border) → Filled (faded, dashed) → Expired (gray, dotted)
Overlap Dedup — newer gaps that overlap older ones clean up automatically
Recommended Settings
Swing (4H/Daily): Min 0.3%, Max 8%, Expire 200 bars, CE mode
Intraday (15m/1H): Min 0.1%, Max 5%, Expire 100 bars, CE mode
Scalping (1m/5m): Min 0.05%, Max 3%, Expire 50 bars, Touch mode
Works on any asset and any timeframe.
Pine Script® indicator






















