indicator("MouNoOkite_InitialMove_Screener", overlay=true)//@version=5
indicator("猛の掟・初動スクリーナー(5EMA×MACD×出来高×ローソク)", overlay=true, max_labels_count=500)
// =========================
// Inputs
// =========================
emaSLen = input.int(5, "EMA Short (5)")
emaMLen = input.int(13, "EMA Mid (13)")
emaLLen = input.int(26, "EMA Long (26)")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
volLookback = input.int(5, "出来高平均(日数)", minval=1)
volMinRatio = input.float(1.3, "出来高倍率(初動点灯)", step=0.1)
volStrong = input.float(1.5, "出来高倍率(本物初動)", step=0.1)
volMaxRatio = input.float(2.0, "出来高倍率(上限目安)", step=0.1)
wickBodyMult = input.float(2.0, "ピンバー判定: 下ヒゲ >= (実体×倍率)", step=0.1)
pivotLen = input.int(20, "直近高値/レジスタンス判定のLookback", minval=5)
pullMinPct = input.float(5.0, "押し目最小(%)", step=0.1)
pullMaxPct = input.float(15.0, "押し目最大(%)", step=0.1)
showDebug = input.bool(true, "デバッグ表示(条件チェック)")
// =========================
// EMA
// =========================
emaS = ta.ema(close, emaSLen)
emaM = ta.ema(close, emaMLen)
emaL = ta.ema(close, emaLLen)
plot(emaS, color=color.new(color.yellow, 0), title="EMA 5")
plot(emaM, color=color.new(color.blue, 0), title="EMA 13")
plot(emaL, color=color.new(color.orange, 0), title="EMA 26")
emaUpS = emaS > emaS
emaUpM = emaM > emaM
emaUpL = emaL > emaL
// 26EMA上に2日定着
above26_2days = close > emaL and close > emaL
// 黄金隊列
goldenOrder = emaS > emaM and emaM > emaL
// =========================
// MACD
// =========================
= ta.macd(close, macdFast, macdSlow, macdSignal)
// ヒストグラム縮小(マイナス圏で上向きの準備)も見たい場合の例
histShrinking = math.abs(macdHist) < math.abs(macdHist )
histUp = macdHist > macdHist
// ゼロライン上でGC(最終シグナル)
macdGCAboveZero = ta.crossover(macdLine, macdSig) and macdLine > 0 and macdSig > 0
// 参考:ゼロ直下で上昇方向(勢い準備)
macdRisingNearZero = (macdLine < 0) and (macdLine > macdLine ) and (math.abs(macdLine) <= math.abs(0.5))
// =========================
// Volume
// =========================
volMA = ta.sma(volume, volLookback)
volRatio = volMA > 0 ? (volume / volMA) : na
volumeOK = volRatio >= volMinRatio and volRatio <= volMaxRatio
volumeStrongOK = volRatio >= volStrong
// =========================
// Candle patterns
// =========================
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
// 長い下ヒゲ(ピンバー系): 実体が小さく、下ヒゲが優位
pinbar = (lowerWick >= wickBodyMult * body) and (lowerWick > upperWick) and (close >= open)
// 陽線包み足(前日陰線を包む)
bullEngulf =
close > open and close < open and
close >= open and open <= close
// 5EMA・13EMA を貫く大陽線(勢い)
bigBull =
close > open and
open < emaM and close > emaS and
(body > ta.sma(body, 20)) // “相対的に大きい”目安
candleOK = pinbar or bullEngulf or bigBull
// =========================
// 押し目 (-5%〜-15%) & レジブレ後
// =========================
recentHigh = ta.highest(high, pivotLen)
pullbackPct = recentHigh > 0 ? (recentHigh - close) / recentHigh * 100.0 : na
pullbackOK = pullbackPct >= pullMinPct and pullbackPct <= pullMaxPct
// “レジスタンスブレイク”簡易定義:直近pivotLen高値を一度上抜いている
// → その後に押し目位置にいる(現在が押し目)
brokeResistance = ta.crossover(close, recentHigh ) or (close > recentHigh )
afterBreakPull = brokeResistance or brokeResistance or brokeResistance or brokeResistance or brokeResistance
breakThenPullOK = afterBreakPull and pullbackOK
// =========================
// 最終三点シグナル(ヒゲ × 出来高 × MACD)
// =========================
final3 = pinbar and macdGCAboveZero and volumeStrongOK
// =========================
// 猛の掟 8条件チェック(1つでも欠けたら「見送り」)
// =========================
// 1) 5EMA↑ 13EMA↑ 26EMA↑
cond1 = emaUpS and emaUpM and emaUpL
// 2) 5>13>26 黄金隊列
cond2 = goldenOrder
// 3) ローソク足が26EMA上に2日定着
cond3 = above26_2days
// 4) MACD(12,26,9) ゼロライン上でGC
cond4 = macdGCAboveZero
// 5) 出来高が直近5日平均の1.3〜2.0倍
cond5 = volumeOK
// 6) ピンバー or 包み足 or 大陽線
cond6 = candleOK
// 7) 押し目 -5〜15%
cond7 = pullbackOK
// 8) レジスタンスブレイク後の押し目
cond8 = breakThenPullOK
all8 = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7 and cond8
// =========================
// 判定(2択のみ)
// =========================
isBuy = all8 and final3
decision = isBuy ? "買い" : "見送り"
// =========================
// 表示
// =========================
plotshape(isBuy, title="BUY", style=shape.labelup, text="買い", color=color.new(color.lime, 0), textcolor=color.black, location=location.belowbar, size=size.small)
plotshape((not isBuy) and all8, title="ALL8_OK_but_noFinal3", style=shape.labelup, text="8条件OK (最終3未)", color=color.new(color.yellow, 0), textcolor=color.black, location=location.belowbar, size=size.tiny)
// デバッグ(8項目チェック結果)
if showDebug and barstate.islast
var label dbg = na
label.delete(dbg)
txt =
"【8項目チェック】 " +
"1 EMA全上向き: " + (cond1 ? "達成" : "未達") + " " +
"2 黄金隊列: " + (cond2 ? "達成" : "未達") + " " +
"3 26EMA上2日: " + (cond3 ? "達成" : "未達") + " " +
"4 MACDゼロ上GC: " + (cond4 ? "達成" : "未達") + " " +
"5 出来高1.3-2.0: "+ (cond5 ? "達成" : "未達") + " " +
"6 ローソク条件: " + (cond6 ? "達成" : "未達") + " " +
"7 押し目5-15%: " + (cond7 ? "達成" : "未達") + " " +
"8 ブレイク後押し目: " + (cond8 ? "達成" : "未達") + " " +
"最終三点(ヒゲ×出来高×MACD): " + (final3 ? "成立" : "未成立") + " " +
"判定: " + decision
dbg := label.new(bar_index, high, txt, style=label.style_label_left, textcolor=color.white, color=color.new(color.black, 0))
// アラート
alertcondition(isBuy, title="猛の掟 BUY", message="猛の掟: 買いシグナル(8条件+最終三点)")
Indicatori e strategie
11-MA Institutional System (ATR+HTF Filters)11-MA Institutional Trading System Analysis.
This is a comprehensive Trading View Pine Script indicator that implements a sophisticated multi-timeframe moving average system with institutional-grade filters. Let me break down its key components and functionality:
🎯 Core Features
1. 11 Moving Average System. The indicator plots 11 customizable moving averages with different roles:
MA1-MA4 (5, 8, 10, 12): Fast-moving averages for short-term trends
MA5 (21 EMA): Short-term anchor - critical pivot point
MA6 (34 EMA): Intermediate support/resistance
MA7 (50 EMA): Medium-term bridge between short and long trends
MA8-MA9 (89, 100): Transition zone indicators
MA10-MA11 (150, 200): Long-term anchors for major trend identification
Each MA is fully customizable:
Type: SMA, EMA, WMA, TMA, RMA
Color, width, and enable/disable toggle
📊 Signal Generation System
Three Signal Tiers: Short-Term Signals (ST)
Trigger: MA8 (EMA 8) crossing MA21 (EMA 21)
Filters Applied:
✅ ATR-based post-cross confirmation (optional)
✅ Momentum confirmation (RSI > 50, MACD positive)
✅ Volume spike requirement
✅ HTF (Higher Timeframe) alignment
✅ Strong candle body ratio (>50%)
✅ Multi-MA confirmation (3+ MAs supporting direction)
✅ Price beyond MA21 with conviction
✅ Minimum bar spacing (prevents signal clustering)
✅ Consolidation filter
✅ Whipsaw protection (ATR-based price threshold)
Medium-Term Signals (MT)
Trigger: MA21 crossing MA50
Less strict filtering for swing trades
Major Signals
Golden Cross: MA50 crossing above MA200 (major bullish)
Death Cross: MA50 crossing below MA200 (major bearish)
🔍 Advanced Filtering System1. ATR-Based ConfirmationPrice must move > (ATR × 0.25) beyond the MA after crossover
This prevents false signals during low-volatility consolidation.2. Momentum Filters
RSI (14)
MACD Histogram
Rate of Change (ROC)
Composite momentum score (-3 to +3)
3. Volume Analysis
Volume spike detection (2x MA)
Volume classification: LOW, MED, HIGH, EXPL
Directional volume confirmation
4. Higher Timeframe Alignment
HTF1: 60-minute (default)
HTF2: 4-hour (optional)
HTF3: Daily (optional)
Signals only trigger when current TF aligns with HTF trend
5. Market Structure Detection
Break of Structure (BOS): Price breaking recent swing highs/lows
Order Blocks (OB): Institutional demand/supply zones
Fair Value Gaps (FVG): Imbalance areas for potential fills
📈 Comprehensive DashboardReal-Time Metrics Display: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}MetricDescriptionPriceCurrent close priceTimeframeCurrent chart timeframeSHORT/MEDIUM/MAJORTrend classification (🟢BULL/🔴BEAR/⚪NEUT)HTF TrendsHigher timeframe alignment indicatorsMomentumSTR↑/MOD↑/WK↑/WK↓/MOD↓/STR↓VolatilityLOW/MOD/HIGH/EXTR (based on ATR%)RSI(14)Color-coded: >70 red, <30 greenATR%Volatility as % of priceAdvanced Dashboard Features (Optional):
Price Distance from Key MAs
vs MA21, MA50, MA200 (percentage)
Color-coded: green (above), red (below)
MA Alignment Score
Calculates % of MAs in proper order
🟢 for bullish alignment, 🔴 for bearish
Trend Strength
Based on separation between MA21 and MA200
NONE/WEAK/MODERATE/STRONG/EXTREME
Consolidation Detection
Identifies low-volatility ranges
Prevents signals during sideways markets
⚙️ Customization OptionsFilter Toggles:
☑️ Require Momentum
☑️ Require Volume
☑️ Require HTF Alignment
☑️ Use ATR post-cross confirmation
☑️ Whipsaw filter
Min bars between signals (default: 5)
Dashboard Styling:
9 position options
6 text sizes
Custom colors for header, rows, and text
Toggle individual metrics on/off
🎨 Visual Elements
Signal Labels:
ST▲/ST▼ (green/red) - Short-term
MT▲/MT▼ (blue/orange) - Medium-term
GOLDEN CROSS / DEATH CROSS - Major signals
Volume Spikes:
Small labels showing volume class + direction
Example: "HIGH🟢" or "EXPL🔴"
Market Structure:
Dashed lines for Break of Structure levels
Automatic detection of swing highs/lows
🔔 Alert Conditions
Pre-configured alerts for:
Short-term bullish/bearish crosses
Medium-term bullish/bearish crosses
Golden Cross / Death Cross
Volume spikes
💡 Key Strengths
Institutional-Grade Filtering: Multiple confirmation layers reduce false signals
Multi-Timeframe Analysis: Ensures alignment across timeframes
Adaptive to Market Conditions: ATR-based thresholds adjust to volatility
Comprehensive Dashboard: All critical metrics in one view
Highly Customizable: 100+ input parameters
Signal Quality Over Quantity: Strict filters prioritize high-probability setups
⚠️ Usage Recommendations
Best for: Swing trading and position trading
Timeframes: Works on all TFs, optimized for 15m-Daily
Markets: Stocks, Forex, Crypto, Indices
Signal Frequency: Conservative (quality over quantity)
Combine with: Support/resistance, price action, risk management
🔧 Technical Implementation Notes
Uses Pine Script v6 syntax
Efficient calculation with minimal repainting
Maximum 500 labels for performance
Security function for HTF data (no lookahead bias)
Array-based MA alignment calculation
State variables to track signal spacing
This is a professional-grade trading system that combines classical technical analysis (moving averages) with modern institutional concepts (market structure, order blocks, multi-timeframe alignment).
The extensive filtering system is designed to eliminate noise and focus on high-probability trade setups.
NeoChartLabs TrixxOne of our Favorite Indicators - The Trixx - The Trix with K & J lines for extra crossovers and trend analysis. Best when used on the 4hr and above.
Shout out to fauxlife for the original script, we updated to v6.
The TRIX indicator (Triple Exponential Average) is a momentum oscillator used in technical analysis to show the percentage rate of change of a triple-smoothed exponential moving average, helping traders identify overbought/oversold conditions and potential trend reversals by filtering out minor price fluctuations. It plots as a line oscillating around a zero line, often with a signal line (an EMA of TRIX) for crossovers, and traders look for divergence with price or signal line crosses for buy/sell signals
Risk & Position CalculatorThis indicator is called "Risk & Position Calculator".
This indicator shows 4 information on a table format.
1st: 20 day ADR% (ADR%)
2nd: Low of the day price (LoD)
3rd: The percentage distance between the low of the day price and the current market price in real-time (LoD dist.%)
4th: The calculated amount of shares that are suggested to buy (Shares)
The ADR% and LoD is straightforward, and I will explain more on the 3rd and 4th information.
__________________________________________________________________________________
The Lod dist.% is a useful tool if you are a breakout buyer and use the low of the day price as your stop loss, it helps you determine if a breakout buy is at a risk tight area (~1/2 ADR%) or it is more of a chase (>1 ADR%).
I use four different colors to visualize this calculation results (green, yellow, purple, and red).
Green: Lod dist.% <= 0.5 ADR%
Yellow: 0.5 ADR% < Lod dist.% <= 1 ADR%
Purple: 1 ADR% < Lod dist.% <= 1.5 ADR%
Red: 1.5 ADR% < Lod dist.%
(e.g., if Lod dist.% is colored in Green, it means your stop loss is <= 0.5 ADR%, therefore if you buy here, the risk is probably tight enough)
__________________________________________________________________________________
The Shares is a useful tool if you want to know exactly how many shares you should buy at the breakout moment. To use this tool, you first need to input two information in the indicator setting panel: the account size ($) and portfolio risk (%).
Account Size ($) means the dollar value in your total account.
Portfolio Risk (%) means how much risk you are willing to take per trade.
(e.g. a 1% portfolio risk in a 5000$ account is 50$, which is the risk you will take per trade)
After you provide these two inputs, the indicator will help you calculate how many shares you should buy based on the calculated Dollar Risk ($), real-time market price, and the low of the day price.
(e.g. Dollar Risk (50$), real-time market price (100$), Lod price (95$) -> then you will need to buy 50/(100-95) = 10 shares to meet your demand, so it will display as Shares { 10 } )
In addition, I also introduce a mechanism that helps you avoid buying too big of a position relative to your overall account . I set the limit to 25%, which means you don't put more than 25% of your account money into a single trade, which helps prevent single stock risk.
By introducing this mechanism, it will supervise if the suggested Shares to buy exceed max position limit (25%). If it actually exceeds, instead of using Dollar Risk ($) to calculate Shares, it will use position limit to calculate and display the max Shares you should buy.
__________________________________________________________________________________
That's it. Hope you find this explanation helpful when you use this indicator. Have a great day mate:)
takeshi GPT//@version=5
indicator("猛の掟・初動スクリーナーGPT", overlay = true, timeframe = "", timeframe_gaps = true)
// ======================================================
// ■ 1. パラメータ設定
// ======================================================
// EMA長
emaFastLen = input.int(5, "短期EMA (5)", minval = 1)
emaMidLen = input.int(13, "中期EMA (13)", minval = 1)
emaSlowLen = input.int(26, "長期EMA (26)", minval = 1)
// 出来高
volMaLen = input.int(5, "出来高平均期間", minval = 1)
volMultInitial = input.float(1.3, "出来高 初動ライン (×)", minval = 1.0, step = 0.1)
volMultStrong = input.float(1.5, "出来高 本物ライン (×)", minval = 1.0, step = 0.1)
// 押し目・レジスタンス
pullbackLookback = input.int(20, "直近高値の探索期間", minval = 5)
pullbackMinPct = input.float(5.0, "押し目下限 (%)", minval = 0.0, step = 0.1)
pullbackMaxPct = input.float(15.0, "押し目上限 (%)", minval = 0.0, step = 0.1)
// ピンバー判定パラメータ
pinbarWickRatio = input.float(2.0, "ピンバー下ヒゲ/実体 比率", minval = 1.0, step = 0.5)
pinbarMaxUpperPct = input.float(25.0, "ピンバー上ヒゲ比率上限 (%)", minval = 0.0, step = 1.0)
// 大陽線判定
bigBodyPct = input.float(2.0, "大陽線の最低値幅 (%)", minval = 0.1, step = 0.1)
// ======================================================
// ■ 2. 基本テクニカル計算
// ======================================================
emaFast = ta.ema(close, emaFastLen)
emaMid = ta.ema(close, emaMidLen)
emaSlow = ta.ema(close, emaSlowLen)
// MACD
= ta.macd(close, 12, 26, 9)
// 出来高
volMa = ta.sma(volume, volMaLen)
// 直近高値(押し目判定用)
recentHigh = ta.highest(high, pullbackLookback)
drawdownPct = (recentHigh > 0) ? (recentHigh - close) / recentHigh * 100.0 : na
// ======================================================
// ■ 3. A:トレンド(初動)条件
// ======================================================
// 1. 5EMA↑ 13EMA↑ 26EMA↑
emaUpFast = emaFast > emaFast
emaUpMid = emaMid > emaMid
emaUpSlow = emaSlow > emaSlow
condTrendUp = emaUpFast and emaUpMid and emaUpSlow
// 2. 黄金並び 5EMA > 13EMA > 26EMA
condGolden = emaFast > emaMid and emaMid > emaSlow
// 3. ローソク足が 26EMA 上に2日定着
condAboveSlow2 = close > emaSlow and close > emaSlow
// ======================================================
// ■ 4. B:モメンタム(MACD)条件
// ======================================================
// ヒストグラム縮小+上向き
histShrinkingUp = (math.abs(histLine) < math.abs(histLine )) and (histLine > histLine )
// ゼロライン直下〜直上での上向き
nearZeroRange = 0.5 // ゼロライン±0.5
macdNearZero = math.abs(macdLine) <= nearZeroRange
// MACDが上向き
macdTurningUp = macdLine > macdLine
// MACDゼロライン上でゴールデンクロス
macdZeroCrossUp = macdLine > signalLine and macdLine <= signalLine and macdLine > 0
// B条件:すべて
condMACD = histShrinkingUp and macdNearZero and macdTurningUp and macdZeroCrossUp
// ======================================================
// ■ 5. C:需給(出来高)条件
// ======================================================
condVolInitial = volume > volMa * volMultInitial // 1.3倍〜 初動点灯
condVolStrong = volume > volMa * volMultStrong // 1.5倍〜 本物初動
condVolume = condVolInitial // 「8掟」では1.3倍以上で合格
// ======================================================
// ■ 6. D:ローソク足パターン
// ======================================================
body = math.abs(close - open)
upperWick = high - math.max(close, open)
lowerWick = math.min(close, open) - low
rangeAll = high - low
// 安全対策:0除算回避
rangeAllSafe = rangeAll == 0.0 ? 0.0000001 : rangeAll
bodyPct = body / close * 100.0
// ● 長い下ヒゲ(ピンバー)
lowerToBodyRatio = (body > 0) ? lowerWick / body : 0.0
upperPct = upperWick / rangeAllSafe * 100.0
isBullPinbar = lowerToBodyRatio >= pinbarWickRatio and upperPct <= pinbarMaxUpperPct and close > open
// ● 陽線包み足(bullish engulfing)
prevBearish = close < open
isEngulfingBull = close > open and prevBearish and close >= open and open <= close
// ● 5EMA・13EMAを貫く大陽線
crossFast = open < emaFast and close > emaFast
crossMid = open < emaMid and close > emaMid
isBigBody = bodyPct >= bigBodyPct
isBigBull = close > open and (crossFast or crossMid) and isBigBody
// D条件:どれか1つでOK
condCandle = isBullPinbar or isEngulfingBull or isBigBull
// ======================================================
// ■ 7. E:価格帯(押し目位置 & レジスタンスブレイク)
// ======================================================
// 7. 押し目 -5〜15%
condPullback = drawdownPct >= pullbackMinPct and drawdownPct <= pullbackMaxPct
// 8. レジスタンス突破 → 押し目 → 再上昇
// 直近 pullbackLookback 本の高値をレジスタンスとみなす(現在足除く)
resistance = ta.highest(close , pullbackLookback)
// レジスタンスブレイクが起きたバーからの経過本数
brokeAbove = ta.barssince(close > resistance)
// ブレイク後に一度レジ上まで戻したか
pulledBack = brokeAbove != na ? ta.lowest(low, brokeAbove + 1) < resistance : false
// 現在は再上昇方向か
reRising = close > close
condBreakPull = (brokeAbove != na) and (brokeAbove <= pullbackLookback) and pulledBack and reRising
// ======================================================
// ■ 8. 最終 8条件 & 三点シグナル
// ======================================================
// 8つの掟
condA = condTrendUp and condGolden and condAboveSlow2
condB = condMACD
condC = condVolume
condD = condCandle
condE = condPullback and condBreakPull
all_conditions = condA and condB and condC and condD and condE
// 🟩 最終三点シグナル
// 1. 長い下ヒゲ 2. MACDゼロライン上GC 3. 出来高1.5倍以上
threePoint = isBullPinbar and macdZeroCrossUp and condVolStrong
// 「買い確定」= 8条件すべて + 三点シグナル
buy_confirmed = all_conditions and threePoint
// ======================================================
// ■ 9. チャート表示 & スクリーナー用出力
// ======================================================
// EMA表示
plot(emaFast, color = color.orange, title = "EMA 5")
plot(emaMid, color = color.new(color.blue, 10), title = "EMA 13")
plot(emaSlow, color = color.new(color.green, 20), title = "EMA 26")
// 初動シグナル
plotshape(
all_conditions and not buy_confirmed,
title = "初動シグナル(掟8条件クリア)",
style = shape.labelup,
color = color.new(color.yellow, 0),
text = "初動",
location = location.belowbar,
size = size.small)
// 三点フルシグナル(買い確定)
plotshape(
buy_confirmed,
title = "三点フルシグナル(買い確定)",
style = shape.labelup,
color = color.new(color.lime, 0),
text = "買い",
location = location.belowbar,
size = size.large)
// スクリーナー用 series 出力(非表示)
plot(all_conditions ? 1 : 0, title = "all_conditions (8掟クリア)", display = display.none)
plot(buy_confirmed ? 1 : 0, title = "buy_confirmed (三点+8掟)", display = display.none)
Trend detection zero lag Trend Detection Zero-Lag (v6)
Trend Detection Zero-Lag is a high-performance trend identification indicator designed for intraday traders, scalpers, and swing traders who require fast trend recognition with minimal lag. It combines a zero-lag Hull Moving Average, slope analysis, swing structure logic, and adaptive volatility sensitivity to deliver early yet stable trend signals.
This indicator is optimized for real-time decision-making, particularly in fast markets where traditional moving averages react too slowly.
Core Features
🔹 Zero-Lag Trend Engine
Uses a Zero-Lag Hull Moving Average (HMA) to reduce lag by approximately 40–60% versus standard moving averages.
Provides earlier trend shifts while maintaining smoothness.
🔹 Multi-Factor Trend Detection
Trend direction is determined using a hybrid engine:
HMA slope (momentum direction)
Rising / falling confirmation
Swing structure detection (HH/HL vs LH/LL)
ATR-adjusted dynamic sensitivity
This approach allows fast flips when conditions change, without excessive noise.
Adaptive Volatility Sensitivity
Sensitivity dynamically adjusts based on ATR relative to price
In high volatility: faster reaction
In low volatility: smoother, more stable trend state
This ensures the indicator adapts across:
Trend days
Range days
Volatility expansion or contraction
Trend Duration Intelligence
The indicator tracks historical trend durations and maintains a rolling memory of recent bullish and bearish phases.
From this, it calculates:
Current trend duration
Average historical duration for the active trend direction
This helps traders gauge:
Whether a trend is early, mature, or extended
Probability of continuation vs exhaustion
Strength Scoring
A normalized Trend Strength Score (0–100) is calculated using:
Zero-lag slope magnitude
ATR normalization
This provides a quick read on:
Weak / choppy trends
Healthy trend continuation
Overextended momentum
Visual Design
Color-coded Zero-Lag HMA
Bullish trend → user-defined bullish color
Bearish trend → user-defined bearish color
Designed for dark mode / neon-style charts
Clean overlay with no clutter
Trend Detection Zero-Lag is built for traders who need:
Faster trend recognition
Adaptive behavior across market regimes
Structural confirmation beyond simple moving averages
Clear, actionable visual signals
Quarterly Theory The Quarterly Theory indicator is a refined analytical tool that applies the ICT (Inner Circle Trader) framework and fractal time principles. It divides market time into structured quarterly cycles, anchored by the True Open of each period, to provide precise signals for trade entry and exit. This approach is consistently effective across all timeframes—from yearly and monthly charts down to 90-minute sessions.
The core model defines four distinct market phases within each cycle:
Q1 – Accumulation: A consolidation phase where the market builds a base for the next move.
Q2 – Manipulation (Judas Swing): Characterized by deceptive, rapid price action designed to trap traders before a true trend emerges.
Q3 – Distribution: A period of high volatility as positions are unwound and transferred.
Q4 – Continuation/Reversal: The cycle concludes with the established trend either extending or reversing.
By leveraging smart algorithms, the indicator analyzes these phases to detect critical market structures such as liquidity zones, stop-runs, and high-probability price patterns. This synthesis of Quarterly Theory, fractal timing, and liquidity analysis delivers a data-driven edge, empowering traders to decode complex market behavior and execute informed, strategic trades.
GoldHook Reversal ProGoldHook Reversal Pro v7 is an advanced market structure indicator designed to identify high-probability turning points. It automatically detects where price is accumulating—and monitors for specific momentum shifts that signal a valid Breakout or Reversal. By filtering out market noise with its "Smart Adaptive" logic, it helps traders distinguish between false moves and genuine trend opportunities, providing clear entry signals with built-in risk management targets.
IFVGs [NINE]Overview
The IFVG Indicator is a precision-engineered tool designed to identify and display Inversion Fair Value Gaps (IFVGs), a powerful price action concept rooted in ICT (Inner Circle Trader) methodology. This indicator automatically detects when price closes through an existing Fair Value Gap, causing the zone to "invert" and flip its directional bias, signaling potential areas of institutional interest for future price reactions.
What is an Inversion Fair Value Gap?
A Fair Value Gap (FVG) is a three-candle pattern where a gap exists between the wicks of the first and third candles, representing an imbalance in price delivery. These zones often act as magnets for price to return and "fill" the inefficiency.
An Inversion Fair Value Gap (IFVG) occurs when price doesn't just tap into an FVG, it closes through it with a candle body. This "inversion" transforms the zone:
A Bullish FVG that gets closed through becomes a Bearish IFVG (potential resistance/supply zone)
A Bearish FVG that gets closed through becomes a Bullish IFVG (potential support/demand zone)
IFVGs represent areas where the market has shown its hand — institutional order flow has aggressively moved through a prior inefficiency, and the inverted zone now becomes a point of interest for potential reversals or continuations.
Key Features
Automatic IFVG Detection
The indicator continuously monitors for Fair Value Gaps and automatically converts them to IFVGs when price body closes through the zone. No manual identification required.
Multiple Display Styles
Choose from four distinct visualization modes to match your chart aesthetic:
Level — Clean, minimal single line at the IFVG extreme (top for bullish, bottom for bearish)
Normal — Filled zone with dashed borders and dot label
Minimalist — High/low boundary lines with connecting link
Classic — Filled box with 50% midline only
Full Customization
Independent colors for bullish and bearish IFVGs
Adjustable transparency for zone fills
Optional 50% midline (Consequent Encroachment level)
Flexible label styles: "IFVG" or "+/−" notation
Multiple label sizes: Tiny, Small, Normal, Large
Smart Extension Options
Extend to Current Bar — Zones dynamically extend as price progresses
Extend to Confirmation — Zones end at the bar where inversion occurred
Manual Offset — Fine-tune extension length in bars
Clustered IFVG Filter
Prevents chart clutter by ensuring only one IFVG per direction forms within a 5-bar cooldown period. When a single candle closes through multiple FVGs, only the first IFVG of that directional series is displayed — eliminating redundant signals and keeping your chart clean.
FVG Lookback Control
Limit which FVGs can become IFVGs based on their age. Options include 10, 50, 100, 200, or 300 bars. This filters out old, stale FVGs that may create less relevant inversions.
Session Time Filters
Optional time-based filtering allows you to focus on specific trading sessions:
Configurable session windows (e.g., 9:30 AM - 12:00 PM)
Support for two independent session filters
Multiple timezone options including New York, London, Tokyo, and more
Volume Imbalance Detection
Optionally include Volume Imbalances (VIs) — gaps between candle bodies rather than wicks — expanding the scope of detectable inefficiencies.
Invalidation Tracking
IFVGs are automatically invalidated when price closes back through the zone in the opposite direction, with optional display of invalidated zones.
How to Use
Entry Confirmation
IFVGs serve as areas for trade entries. When price returns to a confirmed IFVG:
Bullish IFVG — Look for long entries as price taps the zone from above
Bearish IFVG — Look for short entries as price taps the zone from below
Settings Reference
Inversion Fair Value Gaps
Show IFVGs? — Master toggle for IFVG display
Style — Level, Normal, Minimalist, or Classic
Transparency % — Zone fill opacity (0-100)
Historical Display — Maximum IFVGs to show per direction
Bullish/Bearish Colors — Independent color selection
Show Invalidated? — Display IFVGs that have been invalidated
Extend IFVGs? — Enable dynamic zone extension
Extension Mode — Current Bar or Confirmation
Manual Offset — Additional bars to extend
High/Low Lines — Show boundary lines (Minimalist style)
50% Midline — Show Consequent Encroachment level
Show Labels? — Display zone labels
Label Style — IFVG or +/− notation
FVG Lookback — Maximum age of FVGs that can invert
Clustered Filter — Prevent multiple same-direction IFVGs in quick succession
Volume Imbalances — Include body gaps in detection
Session Filters
Enable 1st/2nd Time Filter — Activate session filtering
Session Times — Define active trading windows
Timezone — Reference timezone for session calculations
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, and nothing contained herein constitutes a recommendation, solicitation, or offer to buy or sell any securities, options, or other financial instruments.
Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should carefully consider your investment objectives, level of experience, and risk appetite before making any trading decisions.
The developer of this indicator makes no representations or warranties regarding the accuracy, completeness, or reliability of the information provided. You are solely responsible for your own trading decisions and any profits or losses that may result.
Always conduct your own research and consider seeking advice from a licensed financial professional before trading.
MWTI Introduction onChartMarket Wave TransIndex (MWTI)
Colors show when to attack and when to rest.
• Background = current market wave
• Masked zones = low momentum (rest)
• Upper dots = higher timeframe bias
No symbols, no predictions.
Just read the market state.
Works on any market, any timeframe.
Introduction (sample) is optimized for the 15m chart.
Try it on any market in 15m.
-------------------------------------------------------
Neural Markets [Institutional]Neural Markets is a proprietary technical analysis algorithm designed for structural trend identification and volatility filtering.
The script combines two core engines to generate high-probability market insights:
1. Volatility Engine:
Uses dynamic standard deviation bands (Volatility Bands) adjusted by a proprietary multiplier to filter out market noise. The logic adapts to expanding or contracting market phases to reduce false signals during consolidation.
2. Trend Filter (Smart Mode):
Integrates an Institutional EMA-based logic (Exponential Moving Average) to determine the macro-bias. Signals are only generated when price action aligns with the dominant trend, filtering out counter-trend noise.
KEY FEATURES:
- Non-Repainting Logic: All signals are permanent once the candle closes.
- Military Dashboard (HUD): Real-time display of Trend, Volatility, and Algorithm Status.
- Visual Cloud: Instant identification of the support/resistance zones based on volatility.
- Clean Chart: Optimized for professional use, minimizing visual clutter.
WARNING:
This is an Invite-Only script. Access is restricted to authorized members for educational and analytical purposes only. It does not constitute financial advice.
Clean chart visualization suitable for professional trading.
WARNING: This is a restricted access tool (Invite-Only). It is strictly for educational and analytical purposes.
Daily OpenThis is a protected/private script. To request access, please provide:
TradingView username (required)
Your main market(s) and timeframe(s)
Intended use (education / backtesting / live trading)
(Optional) Any proof of eligibility if applicable
Once your request is reviewed, access will be granted to the username provided.
Usage Terms:
No copying, modifying, distributing, publishing, or reselling of this script or its logic
Access is granted to approved accounts only
This script is a tool for analysis and not financial advice; you assume all trading risks
The author reserves the right to update the script or revoke access at any time
CFO Y+QOperating Cash Flow (CFO) – Annual + Quarterly
This indicator plots a company’s Operating Cash Flow (CFO) for both Annual (FY) and Quarterly (FQ) reporting periods in a single pane. CFO represents the net cash generated (or used) by the firm’s core operations during the period, as reported in the cash flow statement.
How to read it:
Positive CFO generally indicates the business is generating cash from operations.
Negative CFO may indicate cash burn from operations, often due to operating losses or adverse working-capital movements.
Viewing FY and FQ together helps you compare long-term operating cash generation with shorter-term quarterly volatility.
Scaling:
The indicator includes an optional scaling setting (Raw / Millions / Billions / Auto) to improve readability. In Auto mode, both series are displayed using the same scale for consistent comparison.
Sideways Zone Breakout 📘 Sideways Zone Breakout – Indicator Description
Sideways Zone Breakout is a visual market-structure indicator designed to identify low-volatility consolidation zones and highlight potential breakout opportunities when price exits these zones.
This indicator focuses on detecting periods where price trades within a tight range, often referred to as sideways or consolidation phases, and visually marks these zones directly on the chart for clarity.
🔍 Core Concept
Markets often spend time moving sideways before making a directional move.
This indicator aims to:
Detect price compression
Visually highlight the sideways zone
Signal when price breaks above or below the zone boundaries
Instead of predicting direction, it simply reacts to range expansion after consolidation.
⚙️ How the Indicator Works
1️⃣ Sideways Zone Detection
The indicator looks back over a user-defined number of candles
It calculates the highest high and lowest low within that window
If the total price range remains within a defined percentage of the current price, the market is considered sideways
This helps filter out trending and highly volatile conditions.
2️⃣ Visual Zone Representation
When a sideways condition is detected:
A clear price zone is drawn between the recent high and low
The zone is displayed using a soft gradient fill for better visibility
Outer borders are added to enhance zone clarity without cluttering the chart
This makes consolidation areas easy to spot at a glance.
3️⃣ Breakout Identification
Once a sideways zone is active:
A bullish breakout is marked when price closes above the upper boundary
A bearish breakout is marked when price closes below the lower boundary
Directional arrows and labels are plotted directly on the chart to indicate these events.
📊 Visual Elements Included
Sideways consolidation zones with gradient fill
Upper and lower zone boundaries
Buy and Sell arrows on breakout
Optional text labels for clear interpretation
All visuals are designed to remain lightweight and readable on any chart theme.
🔧 User Inputs
Sideways Lookback (candles): Controls how many past candles are used to define the range
Max Range % (tightness): Determines how tight the range must be to qualify as sideways
Adjusting these inputs allows users to adapt the indicator to different instruments and timeframes.
📈 Usage Guidelines
Can be applied to any market or timeframe
Works well as a context or confirmation tool
Best used alongside volume, trend, or risk management tools
Signals should be validated with proper trade planning
⚠️ Disclaimer
This indicator is provided as open-source for educational and analytical purposes only.
It does not generate trade recommendations or guarantee outcomes.
Market conditions vary, and users are responsible for their own trading decisions.
Institutional Supply/Demand (Unmitigated)Title: Institutional Supply/Demand (Unmitigated)
What it does: This indicator automatically detects and highlights Fresh Institutional Supply and Demand Zones based on market structure (Swing Highs and Swing Lows). It is designed to keep your chart clean by only showing levels that have not yet been tested.
Key Features:
Auto-Detection:
Red Boxes (Supply): Appear at major Swing Highs. These represent potential Sell Limit orders from institutions.
Green Boxes (Demand): Appear at major Swing Lows. These represent potential Buy Limit orders.
Mitigation Logic (The "Clean-Up"):
The script actively monitors price action.
If price touches a box, the box is instantly deleted.
This ensures you are never looking at "old" or "used" levels. If a box is visible on your chart, it means price has never returned to that level since it was created.
Customizable Structure:
Structure Lookback: Adjusts how sensitive the detection is.
Setting 5 (Default): Finds major, significant structure points.
Setting 3: Finds smaller, internal structure points (more zones).
How to Trade:
Wait for Price to Return: Watch for price to approach a visible Red or Green box.
Reaction: Since these are "Fresh" levels, look for a rejection (wick) or a reversal pattern as soon as price taps the zone.
No Clutter: You don't need to manually delete old lines; the script does it for you.
Quantum X StrategyQuantum X Strategy is a structured market-behavior based trading model developed for Midcap Nifty on the 15-minute timeframe.
It focuses on identifying directional strength, momentum alignment, and price participation using a multi-factor confirmation approach.
Rather than relying on a single indicator, the strategy evaluates multiple dimensions of price movement to determine whether the market environment is favorable for participation. This helps in avoiding random entries during low-quality or sideways conditions.
🔍 Conceptual Framework
The strategy dynamically observes:
Momentum expansion and contraction
Trend participation strength
Directional consistency over recent price action
Each market condition contributes to an internal decision process, allowing trades only when sufficient alignment is present. This approach helps filter out noise and improves trade selectivity.
📊 Trade Execution Philosophy
Trades are initiated only when market structure shows clear directional intent
Both bullish and bearish opportunities are evaluated independently
Positions are exited when momentum balance weakens or returns to a neutral state
No over-trading during indecisive phases
The system is designed to stay inactive during uncertain market conditions, which is a key part of its risk-aware behavior.
🕒 Backtesting Scope
For consistency and reliability, the strategy logic is activated only from January 2024 onward, ensuring analysis is focused on recent market behavior rather than outdated volatility patterns.
⚙️ Usage Guidelines
Instrument: MIDCAPNIFTY
Timeframe: 15 Minutes
Suitable for intraday and short-term positional observation
Works best when combined with disciplined risk management
⚠️ Disclaimer
This strategy is provided strictly for educational and research purposes.
Market conditions change, and past performance does not guarantee future results. Users should always forward-test and apply their own risk management before live use.
Suspension Blocks [TakingProphets]-----------------------------------------------------------------------------------------------
SUSPENSION BLOCKS
-----------------------------------------------------------------------------------------------
Suspension Blocks are a new ICT concept designed to highlight price inefficiencies created by displacement and body-to-body gaps across a precise 3-candle sequence. These structures represent areas where price was temporarily “suspended” before continuation, often acting as high-probability reaction zones on future revisits.
This indicator automatically detects, visualizes, manages, and invalidates Suspension Blocks in real time, while intelligently limiting chart clutter to only the most relevant structures near current price.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
- Detect ICT-style Bullish and Bearish Suspension Blocks using strict 3-candle body relationships
- Require measurable body-to-body separation defined in true ticks (instrument-aware)
- Automatically draw and extend Suspension Blocks forward in time
- Invalidate blocks only when price decisively closes beyond the defining boundary
- Optionally display Consequent Encroachment (50% equilibrium) within each block
- Limit on-chart visibility to the closest N blocks per side relative to current price
- Provide session-based, directional alerting for new block formations
-----------------------------------------------------------------------------------------------
WHAT IS A SUSPENSION BLOCK
-----------------------------------------------------------------------------------------------
A Suspension Block is a 3-candle displacement pattern defined by body gaps on both sides of a middle candle.
Bullish Suspension Block logic:
- Candle 1 close is BELOW Candle 2 open by at least the Minimum Body Separation
- Candle 3 open is ABOVE Candle 2 close by at least the Minimum Body Separation
- Candle 3 open is ABOVE Candle 1 close to ensure a valid vertical range
- The block spans from Candle 1 close (low) to Candle 3 open (high)
- The block remains valid until price CLOSES below Candle 1 close
Bearish Suspension Block logic (mirror conditions):
- Candle 1 close is ABOVE Candle 2 open by at least the Minimum Body Separation
- Candle 3 open is BELOW Candle 2 close by at least the Minimum Body Separation
- Candle 3 open is BELOW Candle 1 close to ensure a valid vertical range
- The block spans from Candle 1 close (high) to Candle 3 open (low)
- The block remains valid until price CLOSES above Candle 1 close
All calculations are performed using true tick values via `syminfo.mintick` to ensure precision across instruments.
-----------------------------------------------------------------------------------------------
GENERAL SETTINGS
-----------------------------------------------------------------------------------------------
- Minimum Body Separation (ticks)
- Defines the minimum required body-to-body gap between candles
- Measured in true ticks (0.25 = quarter tick, 1.0 = full tick, etc.)
- Max Visible Blocks per Side
- Limits the number of bullish and bearish blocks displayed
- Only the closest blocks to current price remain visible
-----------------------------------------------------------------------------------------------
VISUALIZATION SETTINGS
-----------------------------------------------------------------------------------------------
- Bullish Suspension Blocks
- Toggle bullish block visibility
- Custom fill color with adjustable transparency
- Optional border with selectable line style (Solid / Dashed / Dotted)
- Bearish Suspension Blocks
- Toggle bearish block visibility
- Custom fill color with adjustable transparency
- Optional border with selectable line style (Solid / Dashed / Dotted)
- Consequent Encroachment (CE)
- Optional 50% equilibrium line drawn inside each block
- Custom color and line style
- Automatically extends with the block
Blocks dynamically extend to the current bar and are hidden or shown based on proximity to price to keep the chart clean and actionable.
-----------------------------------------------------------------------------------------------
BLOCK MANAGEMENT & INVALIDATION
-----------------------------------------------------------------------------------------------
- Each block is stored persistently and extended forward bar-by-bar
- Bullish blocks are invalidated only when price CLOSES below the block low
- Bearish blocks are invalidated only when price CLOSES above the block high
- Invalidated blocks and their CE lines are automatically removed
- Visibility logic ensures only the most relevant structures are emphasized
-----------------------------------------------------------------------------------------------
ALERT SYSTEM
-----------------------------------------------------------------------------------------------
- Optional alerts when new Suspension Blocks form
- Independent toggles for bullish and bearish alerts
- Fully customizable alert messages
- Alerts can be restricted to specific trading sessions:
- Session 1 (default: 09:30–16:00 NY)
- Session 2 (optional)
- Session 3 (optional)
- Alerts include ticker and timeframe context automatically
-----------------------------------------------------------------------------------------------
BEST USE CASES
-----------------------------------------------------------------------------------------------
- High-probability reaction zones after displacement
- Confluence with liquidity, PD arrays, and market structure
- Execution refinement within ICT-based models
- Intraday and higher-timeframe contextual bias
- Clean, rules-based identification of inefficiency zones
-----------------------------------------------------------------------------------------------
DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results.
© TakingProphets
-----------------------------------------------------------------------------------------------
Time Syndicate: Prop Firm SpecialTime Syndicate – Prop-Firm Special (Exit-Focused Edition)
Overview
Time Syndicate – Master Strategy is a non-repainting, cycle-aware execution framework designed to trade structured market phases rather than random price movement.
This version has been specifically updated to focus on exit efficiency , trade management, and controlled trade churn.
The strategy is built to align trades with time-based market behavior and liquidity expansion, without relying on indicator stacking or repainting logic.
What This Version Is Optimized For
This update emphasizes:
• More structured exits
• Increased trade churning
• Improved realized profitability
• Mechanical trailing stop execution
The goal is not to increase entries, but to extract more value from correct ones .
Recommended Markets
• EUR/USD
• NASDAQ (NQ / US100 Cash CFD)
This strategy is primarily designed and tested for these instruments.
Recommended Cycles & Timeframes
90-Minute Cycle → Use 1-Minute chart
Session Cycle → Use 5-Minute chart
Do not mismatch cycle selection and chart timeframe.
Important Settings (Do Not Over-Optimize)
• Exit Mode: Trailing Stop (Default & Recommended)
• Max Trades Per Cycle: 1
• Target: 1 : 1.5
• Most other settings should remain unchanged
This is not a parameter-tuning strategy.
Trade Behavior
• Trade Status remains FLAT until a valid trade is triggered
• After entry, the dashboard displays:
– Entry Price
– Initial Stop Loss
– Trailing Trigger Level
– Live Trailing Stop (once activated)
In most cases, the entry candle’s low/high will act as the initial stop loss.
Exit Logic
Trailing Stop Mode
• Trailing activates only after price reaches the required expansion level
• Trailing is mechanical and non-emotional
• Live trailing stop updates are shown clearly on the chart
Fixed Target Mode
• Available for testing purposes
• Not recommended for live execution
Non-Repainting Logic
• All zones, cycles, and trade logic are non-repainting
• No historical shifting
• What appears live is final
Known Limitations (Current Version)
• Quantity calculation can be aggressive, especially on 1-minute charts
• Manual quantity is recommended for now
• Not every valid signal should be traded
These will be refined in future updates.
Recommended Trading Window
For US100 Cash CFD:
4:00 PM – 8:00 PM IST
Outside this window, liquidity behavior becomes inconsistent.
Advanced Usage Tip
Download strategy trade data and analyze:
• Time of day
• Cycle performance
• Trade outcomes
Use this data to determine the most effective trading hours for your instrument.
Purpose of This Strategy
This is not a signal-spamming indicator.
It is a professional execution framework built to:
• Enforce discipline
• Improve exit quality
• Reduce emotional decision-making
• Align trades with structured market phases
Final Note
This strategy does not predict the market.
It waits, reacts, and extracts.
Use it with patience, proper risk control, and respect for time-based structure.
Smart Money Bot [MTF Confluence Edition]Uses multi-time frame analysis and supply and demand strategy.
Best used when swing trading.
GNC Trading - Corr FinderGNC Trading - Correlation Finder lets you easily find the correlation between currency pairs.
Indicator Settings:
Series 1 Symbol: Fixed currency pair to compare
Series 2 Symbol: Leading currency pair to compare
Time Resolution: 1 day (Do not change)
Return Window: How many bars of logarithmic change will be calculated. 30, 60, or 90 attempts can be made. If 30 is selected, the change to the last candle 30 days prior will be calculated.
Correlation Window: How many bars will be scanned. 155 (Short term) or 365 (Long term) can be used.
Example: Scans 155 bars according to the entered return. 155 bars represents the 30-day change of each bar compared to the past.
Series 2 Lag: Does the added symbol in Series 2 have a leading character? You can add entries 0 - 30 - 60 - 90 - 120 - 180 here and use the 2nd symbol as a leading character.
- - - - - - - - - - - - - - - - - - - - - - -
MNQ Quant Oscillator Lab v2.1MNQ Quant Oscillator Lab v2.1 — Clean Namespaces
Adaptive LinReg Oscillator + Auto Regime Switching + MTF Confirmation + MOEP Gate + Research Harness
MNQ Quant Oscillator Lab is a research-grade oscillator framework designed for MNQ/NQ (and other liquid futures/indices) on 1-minute and intraday timeframes. It combines a linear-regression-based detrended oscillator with quant-style normalization, adaptive parameterization, regime switching, multi-timeframe confirmation, and an optional MOEP (Minimum Optimal Entry Point) gate. The goal is to provide a customizable signal laboratory that is stable in real time, non-repainting by default, and suitable for systematic experimentation.
What this indicator does
1) Core oscillator (quant-normalized)
The indicator computes a linear regression (LinReg) detrended signal and expresses it as a z-scored oscillator for portability across volatility regimes and assets. You can switch the oscillator “transform family” via Oscillator type:
LinReg Residual / Residual Z: detrended residual (mean-reversion sensitive)
LinReg Slope Z: regression slope (trend-derivative sensitive)
LogReturn Z: log-return oscillator (momentum-style)
VolNorm Return Z: volatility-normalized returns (risk-scaled)
This yields a single oscillator that is comparable over time, not tied to raw point values.
2) Adaptive length (dynamic calibration)
When enabled, the regression length is automatically adapted using a volatility-regime proxy (ATR% z-scored → logistic mapping). High volatility typically shortens the effective lookback; low volatility allows longer lookbacks. This helps the oscillator remain responsive during expansions while staying stable in compressions.
Important: the adaptive logic is implemented with safe warmup behavior, so it will not throw NaN errors on early bars.
3) Adaptive thresholds (dynamic bands)
Instead of static overbought/oversold levels, the indicator can compute dynamic upper/lower bands from the oscillator’s own distribution (rolling mean + sigma). This creates thresholds that adjust automatically to regime changes.
4) Auto regime switching (Trend vs Mean Reversion)
With Auto regime switch enabled, the indicator selects whether to behave as a Trend system or a Mean Reversion system using an interpretable heuristic:
Trend regime when EMA-spread is strong relative to ATR and ATR is rising
Otherwise defaults to Mean Reversion
This prevents running mean-reversion logic in trend breakouts and reduces “mode mismatch.”
5) Multi-timeframe (MTF) confirmation (optional)
MTF confirmation can be enabled to require that the higher timeframe oscillator sign aligns with the direction of the signal. This is useful for reducing noise on MNQ 1m by requiring higher-timeframe structure agreement (e.g., 5m or 15m).
6) MOEP Gate (optional “institutional” filter)
The MOEP gate is a confluence score filter intended to reduce low-quality signals. It aggregates multiple components into a 0–100 score:
BB/KC squeeze condition
Expansion proxy
Trend proxy
Momentum proxy (RSI-based)
Volume catalyst (volume z-score)
Structure break (highest/lowest break)
You can set:
Score threshold (minimum score required)
Minimum components required (forces diversity of evidence)
When enabled, a signal must satisfy both oscillator logic and MOEP confluence conditions.
7) Research harness (NON-CAUSAL, OFF by default)
A built-in research mode evaluates signals using future bars to compute basic forward excursion statistics:
MFE (max favorable excursion)
MAE (max adverse excursion)
Simple win-rate proxy based on MFE vs MAE
This feature is strictly for offline analysis and tuning. It is disabled by default and should not be considered “live-safe” because it uses future information for evaluation.
Signals and interpretation
Mean Reversion regime
Long: oscillator is below the lower band and turns back upward across it
Short: oscillator is above the upper band and turns back downward across it
Trend regime
Long: oscillator crosses above zero (optionally requires structure break confirmation)
Short: oscillator crosses below zero (optionally requires structure break confirmation)
Hybrid
When Hybrid is selected (manual mode), the indicator allows both trend and mean-reversion triggers, but still respects the filters and gates you enable.
Recommended starting configuration (MNQ 1m)
If you want stable, high-quality signals first, then expand into research:
Use RTH only: ON
Auto regime switch: ON
Adaptive length: ON
Adaptive bands: ON
MTF confirmation: OFF initially (turn ON later with 5m)
MOEP Gate: OFF initially (turn ON after you confirm base behavior)
Research harness: OFF (only enable for tuning studies)
Practical notes / transparency
The indicator is designed to be stable on live bars (optional confirmed-bar behavior reduces flicker).
No repainting logic is used for signals.
Any “performance” numbers shown under Research harness are not tradable metrics; they are forward-looking evaluation outputs intended strictly for experimentation.
Disclaimer
This script is provided for educational and research purposes only and does not constitute financial advice. Futures trading involves substantial risk, including the possibility of loss exceeding initial investment.






















