Step Generalized Moving Average [BackQuant]Step Generalized Moving Average
Overview
Step Generalized Moving Average (StepGMA) is a trend-structure moving average designed to solve two common problems with classic MAs:
They overreact to noise in chop, causing constant micro-flips.
They lag too much when you smooth them enough to stop that noise.
StepGMA tackles this by combining two layers:
A Generalized Moving Average (GMA) that increases responsiveness without simply shortening length.
A Step Filter that converts the MA into discrete โstepsโ sized by ATR, suppressing insignificant movement and only updating when the move is meaningful.
The output is a trend line that behaves more like market structure: it holds its level through noise, then โrepricesโ in chunks when volatility-adjusted movement is large enough.
What the indicator is trying to represent
Instead of showing every tiny MA wiggle, StepGMA tries to represent the idea that:
Most price movement is noise relative to volatility.
Trend only matters when it advances by a meaningful amount.
A good trend line should stay stable until the market forces it to move.
That makes this indicator useful as:
A regime filter (trend vs chop).
A trend-following bias line.
A structure-like dynamic S/R reference.
A signal generator with fewer low-quality flips.
Component 1: Moving Average engine (selectable)
The base smoothing is not fixed. You can choose between multiple MA types:
SMA, EMA, WMA, VWMA: classic smoothing families.
DEMA, TEMA: reduced-lag EMA variants.
T3: smooth yet responsive, good for trend.
HMA: very low lag, can be twitchy without filtering.
ALMA: center-weighted smoothing, often โcleanerโ visually.
KAMA: adaptive smoothing based on efficiency ratio, good in mixed regimes.
LSMA: regression-based, tends to track trend direction well.
McGinley: dynamic smoothing designed to reduce lag during fast moves.
This matters because the StepGMA is not โone MA.โ It is a framework that lets you pick the underlying smoothing behavior, then applies the generalization and step logic on top.
Component 2: Generalized Moving Average (GMA)
Where the idea comes from
Generalized MA here is essentially a form of two-stage smoothing compensation . A common trick in signal processing and technical analysis is:
Apply a smoother once (MA1).
Apply it again (MA2).
Use MA2 as a โlag reference,โ then combine MA1 and MA2 to reduce lag while keeping smoothness.
This is related in spirit to reduced-lag filters (like DEMA/TEMA) and โzero-lagโ style constructions that subtract part of the lag component. You are not magically removing lag, you are biasing the output toward the first-pass MA while subtracting some of the second-pass smoothing that represents delayed response.
How this script does it
It computes:
ma1 = MA(src, len)
ma2 = MA(ma1, len)
Then combines them using a volume factor (vf):
generalized = ma1 * (1 + vf) - ma2 * vf
Interpretation:
ma2 is a โmore delayedโ version of ma1.
Subtracting vf * ma2 and adding (1+vf) * ma1 pushes the output toward responsiveness.
vf controls how aggressive that push is.
Volume Factor (vf) is really an aggressiveness knob
The script clamps vf between 0.01 and 1.0 to keep it stable. Conceptually:
Low vf: behaves closer to a normal MA1, smoother, more lag.
High vf: more compensation, faster response, more risk of overshoot or noise sensitivity (which is then handled by the step filter).
So the GMA stage tries to give you a cleaner, faster trend estimate without just shrinking the MA period.
Component 3: Step Filter (the key behavior)
What a step filter is
A step filter turns a continuous signal (here, the generalized MA) into a discrete โstaircaseโ signal. Instead of updating every bar, it updates only when the input has moved far enough to justify a new step.
This is conceptually similar to:
A quantizer in signal processing (rounding changes to discrete increments).
A volatility threshold filter (ignore changes smaller than X).
Market structure logic where levels matter more than micro movement.
How it works in this script
The filter maintains a persistent value: stepped .
Each bar:
diff = src - stepped
If |diff| < stepSize, do nothing (hold the level).
If |diff| >= stepSize, move stepped by a number of step increments.
The step increment size is:
stepSize = (stepMult / 100) * ATR(atrPeriod)
This is critical:
In higher volatility, ATR is larger, so steps are larger, fewer updates, more stability.
In lower volatility, ATR is smaller, so steps are smaller, more updates, more sensitivity.
So the step behavior automatically adapts to volatility.
Multiple-step catching behavior
If price jumps far beyond one step, the script does not move only one step. It moves by:
floor(|diff| / stepSize) * stepSize
So it โcatches upโ in discrete blocks, preserving the stepped character without lagging massively after large moves.
Direction and regime
Direction is determined by the stepped line, not the raw MA:
direction = +1 if steppedMA is rising
direction = -1 if steppedMA is falling
otherwise direction stays the same
Signals only trigger on direction state changes:
Long when direction flips to +1
Short when direction flips to -1
This matters because it prevents repeated signals while the trend remains intact. You only get a signal when the market has moved enough (in ATR terms) to justify a structural step in the opposite direction.
Secondary line and gradient fill
The script also plots a secondary โslow MAโ (length 25, same MA type). This is not the core logic, it is a visual context layer:
StepGMA is the structure line (discrete, regime-driven).
Slow MA is a smoother reference for the underlying drift.
The gradient fill highlights separation and dominance.
When StepGMA sits above the slow MA, the fill reinforces bullish bias. When below, it reinforces bearish bias. It is basically a โtrend pressureโ visual, not a separate signal.
How to interpret it
1) StepGMA as trend structure
Flat steps mean price is not making enough volatility-adjusted progress to move structure.
Up-steps mean the market has advanced enough to reprice the trend line upward.
Down-steps mean deterioration significant enough to reprice structure downward.
2) Direction is a regime, not a tick-by-tick call
Because direction is derived from step changes, it is naturally a regime filter:
Fewer flips in chop.
Clearer regime transitions.
Signals tend to occur later than ultra-fast tools, but with better confirmation quality.
3) Step size controls noise rejection
StepMult is the main โanti-chopโ control:
Higher stepMult = bigger ATR steps = fewer updates, fewer signals, more confirmation, slower to react.
Lower stepMult = smaller steps = more updates, more signals, more sensitivity, more chop risk.
4) Generalization controls responsiveness of the underlying trend estimate
vf controls how โfastโ the MA tries to be before stepping:
Higher vf makes the MA respond faster to new price information.
Lower vf makes the MA smoother and more conservative.
The step filter then decides whether that change is meaningful enough to matter.
Practical use cases
Trend filter for entries
Only take longs when direction is bullish.
Only take shorts when direction is bearish.
Avoid trades when StepGMA is flat for long periods, market is not repricing meaningfully.
Dynamic support and resistance
Because the line holds levels, it often behaves like structure:
In uptrends it can act as a rising support reference.
In downtrends it can act as falling resistance.
Signal quality layer
The step-based flip signals tend to be higher quality than basic MA crossovers because they require:
A meaningful volatility-adjusted move.
A confirmed direction change in the stepped trend structure.
Trade management
Use StepGMA as a trailing invalidation reference.
Use direction flips as โhardโ regime exits.
Use separation vs slow MA as a โpressureโ gauge for scaling decisions.
Tuning guidelines
MA Type
Pick based on the character you want:
T3, ALMA, KAMA are usually good defaults for clean trend representation.
HMA/LSMA are faster but may need larger stepMult to avoid twitch.
SMA is slow and stable but can be too laggy unless vf is increased.
MA Period
Sets the base smoothing horizon. Longer periods give โmacro trend,โ shorter periods give โtactical trend.โ
Volume Factor (vf)
Sets responsiveness compensation:
0.05โ0.25 is usually sensible.
Higher than that can get aggressive, step filter will save you, but your steps may fire more often.
ATR Period and StepMult
These define your structure sensitivity:
ATR Period controls how stable the volatility estimate is.
StepMult controls how large a move must be to change structure.
If you want fewer flips, increase StepMult or ATR Period. If you want quicker reaction, lower StepMult or ATR Period.
What this indicator is and is not
It is:
A trend structure MA that ignores sub-threshold noise.
A regime tool that uses volatility-adjusted repricing logic.
A configurable framework that works across assets and timeframes.
It is not:
A predictive reversal tool.
A scalping signal machine.
A replacement for risk management.
Summary
Step Generalized Moving Average combines a lag-compensated moving average (generalization via MA1/MA2 blending) with a volatility-scaled step filter (ATR-based quantization). The result is a stable, structure-like trend line that updates only when price movement is meaningful relative to volatility, producing cleaner regimes, fewer chop flips, and clearer trend bias than conventional moving averages.
Medie mobili
WMA MAD Trend | RakoQuantWMA MAD Trend | RakoQuant is a robust volatility-regime trend system built on Weighted Moving Average structure and Median Absolute Deviation dispersion, engineered to produce clean directional states while suppressing wick-driven noise and unstable ATR distortions.
This tool belongs to the RakoQuant protected research line, combining a smooth WMA baseline, statistically robust volatility envelopes (MAD bands), SuperTrend-style regime logic, and a strength-aware visualization layer designed for consistent performance across trending, mean-reverting, and mixed market environments.
Core Concept
This indicator answers one fundamental question:
Is price holding a statistically meaningful deviation from its WMA baseline, or reverting back into range?
Unlike classic SuperTrend variants that rely on ATR (highly sensitive to spikes and wicks), WMA MAD Trend uses Median Absolute Deviation as its volatility engine โ a robust dispersion measure that remains stable in the presence of outliers.
How It Works
1) WMA Baseline (Directional Structure)
At its core, the indicator defines the marketโs structural center using a Weighted Moving Average:
* WMA Baseline tracks directional bias with smoother, trend-weighted responsiveness
* The baseline can optionally be smoothed further in intraday mode to reduce micro-chop
This provides a stable anchor for dispersion-based regime classification.
2) MAD Volatility Engine (Robust Dispersion Core)
Instead of ATR, volatility is measured via Median Absolute Deviation (MAD) around the baseline:
* Compute absolute deviation:โจ|Close โ Baseline|
* Take rolling median of deviation over madLen
* Optional normalization scales MAD toward a stdev-like measure (via constant factor)
This makes volatility estimation:
* Outlier-resistant
* Wick-resistant
* Regime-stable during abnormal price spikes
3) MAD Bands + SuperTrend Trailing Logic (Regime State Model)
Bands are built as:
* Upper Band = Baseline + Factor ร MAD
* Lower Band = Baseline โ Factor ร MAD
Then classic SuperTrend-style trailing constraints are applied so the active band persists until a true regime break occurs.
That produces a state engine:
* Bull regime when price breaks above the trailing upper logic (transition into trend-up state)
* Bear regime when price breaks below the trailing lower logic (transition into trend-down state)
This behaves like a structural market regime model, not a reactive oscillator.
4) Strength Engine (Deviation-Based Intensity)
A defining layer of this tool is the MAD Z-score intensity system:
* Compute Z-score:โจz = |Close โ Baseline| / MAD
* Map into a 0 โ 1 strength scale
Interpretation:
* Low deviation = weak regime confidence (likely chop / mean reversion)
* High deviation = strong regime confidence (trend expansion)
5) Intensity Visual Engine (Signal Clarity Layer)
WMA MAD Trend includes a protected visual engine that scales opacity with strength:
* Strong expansion = solid trend band
* Weak deviation = faded band
This gives immediate clarity:โจNot all flips are equal โ strength is displayed structurally.
6) Optional Institutional Filters
Two optional confirmation modules allow institutional-grade filtering:
Baseline Confirmation
* Bull flips only accepted if price is above baseline
* Bear flips only accepted if price is below baseline
EMA Stack Filter
* Bull only when Fast EMA > Slow EMA
* Bear only when Fast EMA < Slow EMA
These modules make the tool suitable for:
* Directional portfolio bias frameworks (RSPS)
* Regime classification overlays
* Trend confirmation filters for execution systems
7) Strong Flip Tier Alerts
Signal quality is tiered:
* Standard flip alerts
* Strong flip alerts only when deviation strength exceeds a threshold
This produces a higher-confidence regime transition model for swing positioning and exposure scaling.
How To Use
โ
Trend regime overlayโจโ
Wick-resistant volatility trend filterโจโ
MAD-based deviation strength engineโจโ
Directional bias tool for portfolio systems
Best use cases:
* 1Hโ1D trend frameworks
* Regime filters for signal stacking
* Chop suppression in volatile markets
Suggested workflow:
* Bull bias when the regime is bullish and strength is rising
* Reduce risk / defensive when strength fades or a bearish flip occurs
* Pair with execution tools (breakout/mean-reversion entries) for timing
Screenshot Placement
๐ธ Example chart / screenshot: snapshot
Smooth Accelarating RSISmooth Accelerating RSI (SA RSI) | MisinkoMaster
Smooth Accelerating RSI is a refined long-term momentum oscillator designed to deliver smoother RSI behavior while preserving the ability to react when momentum begins to accelerate. The indicator focuses on reducing noise typically found in standard RSI calculations while maintaining responsiveness during meaningful trend transitions.
This makes it particularly suitable for traders who prefer longer-term structure analysis or want cleaner signals across volatile markets.
Key Features
Smoother, longer-term RSI behavior compared to standard RSI
Momentum acceleration component for faster reaction to trend changes
Multiple moving average types supported for flexible smoothing behavior
Configurable trend and value-zone thresholds
Visual trend labeling and colored candles for intuitive reading
Divergence-style momentum histogram for shift detection
Adaptive smoothing to balance responsiveness and stability
How It Works
The indicator builds on traditional RSI logic but introduces layered smoothing and acceleration techniques to improve stability while preserving responsiveness.
Instead of relying on a single smoothing pass, the oscillator blends multiple smoothing layers and applies adaptive acceleration logic. This allows the RSI to remain calm during consolidation yet react quickly when momentum begins to expand.
An additional momentum change component highlights acceleration or deceleration phases, helping traders detect potential trend continuation or exhaustion.
The result is an RSI variant that behaves more smoothly over longer horizons while still adapting when market momentum shifts.
Inputs Overview
Source โ Selects the price source used in RSI calculations
RSI Length โ Controls the primary RSI calculation period
Smooth Accelerating Length โ Controls final smoothing and acceleration responsiveness
MA Type โ Selects which moving average method is applied throughout calculations
ALMA Offset & Sigma โ Parameters used only when ALMA smoothing is selected
Upper Threshold โ Level signaling bullish trend bias
Lower Threshold โ Level signaling bearish trend bias
Overbought Threshold โ Defines potential exhaustion zones on the upside
Oversold Threshold โ Defines potential exhaustion zones on the downside
Usage Notes
Designed for smoother, longer-term momentum tracking
Suitable for traders preferring fewer but more stable signals
Momentum histogram helps identify acceleration or weakening trends
Threshold crossings can indicate directional shifts
Overbought and oversold zones may help locate pullback opportunities
Works best when combined with price action or confirmation tools
Always test parameters according to asset volatility and timeframe
Summary
Smooth Accelerating RSI provides a calmer and more structured alternative to standard RSI while preserving the ability to detect meaningful momentum changes. It is well suited for traders seeking cleaner long-term signals without losing awareness of emerging trend acceleration.
For Loop THMA ~ CharonQuantThe For Loop THMA is a trend classification and momentum confirmation indicator designed to measure directional strength through relative price dominance, not raw crossings.
This indicator blends a Triple Hull Moving Average structure with a for-loop comparison engine and multiple trend quality filters to reduce noise and false signals.
Concept Overview
The core idea behind this indicator is simple:
Instead of asking โdid price cross a line?โ, it asks
โHow often is the price stronger than its recent past?โ
By looping over previous THMA values and comparing them to the current value, the indicator builds a directional score that reflects internal momentum and persistence.
This approach allows trends to be evaluated statistically rather than emotionally.
Indicator Components
The For Loop THMA is composed of four layers:
โข Triple Hull Moving Average (THMA) as the smoothed price backbone
โข For-loop counter to quantify relative dominance over a lookback window
โข EMA trend filter to align signals with higher-timeframe bias
โข ADX + DMI filter to ensure sufficient trend strength
Signals are only produced when all components align.
For-Loop Logic
The for-loop compares the current THMA value to its past values over a user-defined range.
Each comparison increments or decrements a counter, producing an oscillator that reflects bullish or bearish pressure.
Optional weighting can be enabled to give more importance to recent price action.
This counter becomes the primary decision engine of the indicator.
Visual Interpretation
โข The oscillator displays the strength and direction of the trend
โข Threshold lines define bullish and bearish regimes
โข Bar coloring reflects the active trend state
โข Color intensity adapts to directional confidence
Credits and Inspiration
This indicator is inspired by and builds upon:
โข THMA ~ CharonQuant
โข For Loop MA Indicator from CraftMan18
Development and usage notes:
You must tweak the parameters to fit your market, timeframe, and trading style.
If you do not read this description or do not understand what the indicator is designed to do, do not use it.
Indicators amplify both discipline and mistakes.
Important reminder: No single indicator is sufficient on its own.
Adaptive Buy Sell Signal [AvantCoin]A comprehensive customized indicator for different markets:
๐ Market-Specific Optimizations
Auto-Detection (or Manual Selection):
It automatically detects which market you're trading:
Forex (EUR/USD, GBP/USD, etc.)
Stocks (AAPL, TSLA, etc.)
Indices (NAS100, SPX, etc.)
Commodities (Gold, Silver, Oil)
Crypto (BTC, ETH, etc.)
Forex-Specific Features:
โ
Session Filters: Avoids low-liquidity Asian session
โ
Session backgrounds: Green for London/NY overlap (best trading time)
โ
Tighter ADX threshold (20) - good for Forex trends
โ
Lower volatility filter - skips dead zones
โ๏ธ Min Confluence: 5 (balanced)
โ๏ธ Cooldown: 5 bars
โ๏ธ Volume threshold: 1.3x (Forex has consistent volume)
Stocks-Specific Features:
โ
Market hours filter: Only signals during NYSE hours.
โ
Gap detection: Avoids trading immediately after large gaps up/down
โ
Higher ADX threshold (22) - Stocks trend differently
โ
Stricter volume requirement (1.5x) - Stocks vary more
โ๏ธ Min Confluence: 6 (higher quality)
โ๏ธ Cooldown: 3 bars (stocks move faster)
Indices (Nasdaq, S&P 500):
โ
Similar to stocks but slightly more lenient
โ
Lower ADX (18) - Indices are smoother
โ๏ธ Min Confluence: 5
โ๏ธ Cooldown: 4 bars
Commodities (Gold, Silver, Oil):
โ
Highest ADX requirement (23) - Only trade strong trends
โ
Higher volatility filter (1.6x) - Commodities can be wild
โ๏ธ Min Confluence: 6
โ๏ธ Cooldown: 6 bars (avoid whipsaws)
Crypto:
โ
24/7 trading (no session restrictions)
โ
Lower ADX (15) - Crypto is always volatile
โ
Much higher volume threshold (2.0x) - Crypto volume spikes
โ๏ธ Min Confluence: 4 (crypto moves fast)
โ๏ธ Cooldown: 3 bars
๐ Visual Enhancements:
Market Type Badge at top of table (Forex, Stocks, etc.)
Session Status:
Forex: Shows ๐ข LDN/NY, ๐ต London, ๐ NY, ๐ด Asian
Stocks: Shows ๐ข Open or ๐ด Closed
Session Background Colors on chart (optional)
Current Settings Display: Shows your Min score, ADX threshold, Cooldown
โ๏ธ How to Use:
For Forex:
Enable "Avoid Asian Session"
Best signals during London/NY overlap
For Stocks:
Enable "Trade Stock Hours Only"
Watch for gap warnings
๐ฏ Expected Performance by Market:
Forex (Major pairs) 60-70% - Smooth trends, high liquidity.
Stocks (Large cap) 65-75% - Clear trends, predictable.
Indices 60-70% - Follow market sentiment.
Commodities 55-65% More volatile, harder.
Crypto 50-60% Extremely volatile.
Adaptive Trend Checklist (EMA + Supertrend + ADX)Adaptive Trend Checklist is a market context and validation tool designed for discretionary traders who prioritize structure, risk control, and trade quality over aggressive signal chasing.
The script combines EMA, Supertrend, and ADX, with optional multi-timeframe (HTF) confirmation, to provide a clear view of market conditions before entering a trade.
This is not a signal-spamming indicator.
It is a visual checklist that helps identify when to trade, when to reduce risk, and when to stay out of the market.
๐น Key Features
๐ Automatic timeframe adaptation
Parameters (EMA, ATR, ADX, Supertrend) automatically adjust based on the current chart timeframe.
๐ง Trend & range filtering
Uses ADX and price structure to filter out ranging and low-probability market conditions.
โฑ๏ธ Multi-timeframe market context (optional)
Confirms directional bias using higher timeframes.
๐งฎ Risk classification
Trades are classified as:
NORMAL
REDUCED
NO TRADE
๐ Clear visual checklist
Displays in real time:
trading mode,
trend status,
ADX condition,
market session,
recommended risk level.
๐ฏ Integrated trade management
Automatically plots:
Entry
Stop Loss
Take Profits (TP1, TP2, TP3)
Position size in dollars based on selected risk.
๐ซ No repaint
๐ซ No signal spam
๐ซ No win-rate promises
โ ๏ธ Important Notice
This script is not intended for fully mechanical or automated trading.
It is designed as a decision-support tool for traders who understand market structure, context, and risk management.
Performance depends on:
market conditions,
timeframe,
and trader discipline.
๐ค Who Is This For?
โ๏ธ Discretionary traders
โ๏ธ Scalpers & intraday traders seeking better filters
โ๏ธ Swing traders needing HTF context
โ Not recommended for blind signal following
๐ Usage Recommendation
Use it as a primary market filter, not as a standalone signal.
Combine it with your own entry criteria.
Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
KI Power signaleManus Machiene Learning Beast โ Indicator Description
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
โธป
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
โข Reduces the impact of outliers
โข Accounts for market distortions caused by volatility spikes and major events
โข Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
โธป
Signal Logic
Long Signals
A long signal is generated when:
โข The ML model predicts a positive directional bias
โข All enabled filters are satisfied
โข A new directional change is detected (non-repainting)
โข Optional trend filters (EMA / SMA) confirm the direction
โข Optional kernel regression confirms bullish momentum
๐ Displayed as a green label below the bar
Short Signals
A short signal is generated when:
โข The ML model predicts a negative directional bias
โข Filters confirm bearish conditions
โข A new directional change occurs
โข Trend and kernel filters align
๐ Displayed as a red label above the bar
โธป
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
โข Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
โข Attempts to filter out sideways markets
โข Especially important for ML-based systems
3. ADX Filter (Optional)
โข Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
โข Classic trend confirmation (e.g., 200 EMA / 200 SMA)
โข Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
โข Smooths price behavior
โข Acts as a momentum and trend confirmation filter
โข Can be used in standard or smoothed mode
โธป
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
โข โ
SMA 200
โข โ
HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
โธป
Exit Logic
Two exit methods are available:
1. Fixed Exit
โข Trades close after 4 bars
โข Matches the ML modelโs training horizon
2. Dynamic Exit
โข Uses kernel regression and signal changes
โข Designed to let profits run in strong trends
โ ๏ธ Recommended only when no additional trend filters are active.
โธป
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
โข Win rate
โข Total trades
โข Win/Loss ratio
โข Early signal flips (useful for identifying choppy markets)
โ ๏ธ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
โธป
Typical Use Cases
โข Swing trading (M15 โ H4)
โข Rule-based discretionary trading
โข Set-and-forget trading
โข TradingView alerts โ MT4/MT5 โ EA execution
โข Prop-firm trading (e.g. FTMO), with proper risk management
โธป
Important Disclaimer
This indicator:
โข โ does not guarantee profits
โข โ is not a โholy grailโ
โข โ
is a decision-support and structure tool
It performs best when:
โข Combined with strict risk management (e.g. ATR-based stops)
โข Used in trending or expanding markets
โข Executed with discipline and consistency
Gartley + RSI Div + CDC ActionZone Alert//@version=5
indicator("Gartley + RSI Div + CDC ActionZone Alert", overlay=true)
// --- 1. CDC Action Zone Logic ---
ema12 = ta.ema(close, 12)
ema26 = ta.ema(close, 26)
isBlue = close > ema12 and ema12 < ema26
isGreen = ema12 > ema26
cdcSignal = isBlue or isGreen
// --- 2. RSI Bullish Divergence Logic ---
rsiVal = ta.rsi(close, 14)
lbR = 5 // Lookback Left
rbR = 5 // Lookback Right
minLow = ta.pivotlow(rsiVal, lbR, rbR)
isDiv = false
if not na(minLow)
prevLow = ta.valuewhen(not na(minLow), minLow , 0)
prevPrice = ta.valuewhen(not na(minLow), low , 0)
if rsiVal > prevLow and low < prevPrice
isDiv := true
// --- 3. Gartley Approximation (D-Point Focus) ---
// เธชเนเธงเธเธเธตเนเนเธเน ZigZag เธเธทเนเธเธเธฒเธเนเธเธทเนเธญเธซเธฒเธเธธเธเธเธฅเธฑเธเธเธฑเธง (Simplified for Alert)
sz = input.int(10, "ZigZag Sensitivity")
ph = ta.pivothigh(high, sz, sz)
pl = ta.pivotlow(low, sz, sz)
// เนเธเธทเนเธญเธเนเธเธฃเธงเธก (Combo Strategy)
// เธฃเธฒเธเธฒเธญเธขเธนเนเธเธตเนเธเธธเธเธเนเธณเธชเธธเธเนเธซเธกเน (Potential D) + RSI เธเธฑเธเนเธขเนเธ + CDC เนเธฃเธดเนเธกเนเธเธฅเธตเนเธขเธเธชเธต
buyAlert = isDiv and cdcSignal and not na(pl)
// --- เธเธฒเธฃเนเธชเธเธเธเธฅเธเธเธเธฃเธฒเธ ---
plotshape(buyAlert, title="Gartley-CDC Buy", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY SETUP", textcolor=color.white, size=size.small)
// เธงเธฒเธเนเธชเนเธ EMA เธชเธณเธซเธฃเธฑเธ CDC
plot(ema12, color=color.red, linewidth=1)
plot(ema26, color=color.blue, linewidth=1)
// --- เธฃเธฐเธเธเธเธฒเธฃเนเธเนเธเนเธเธทเธญเธ (Alerts) ---
if buyAlert
alert("SPA Style Setup Found: Gartley D-Point + RSI Div + CDC Signal!", alert.freq_once_per_bar)
Cyberpunk Neural Fluxโ Core Concept: The "Cyberpunk Neural Flux" is engineered based on the "Trend Template" logic favored by institutional growth investors and hedge funds.
It monitors the interaction between the 150 MA (The Institutional Baseline) and the 15 MA (High-Frequency Momentum). Large players often use the 150 MA as the "line in the sand" for a healthy trend. This indicator visualizes when short-term momentum aligns with this critical institutional baseline, while the "Noise Gate" filters out choppy price action that traps retail traders.
โ Visual Decoding (Candle Colors)
1. โช WHITE (Reversal BUY)
ใใปContext: Downtrend (Magenta Background).
ใใปTrigger: Price breaks ABOVE the Upper Gate (Fast MA + ATR).
ใใปMeaning: Strong momentum has overcome the downtrend resistance.
2. ๐ก GOLD (Reversal SELL)
ใใปContext: Uptrend (Cyan Background).
ใใปTrigger: Price breaks BELOW the Lower Gate (Fast MA - ATR).
ใใปMeaning: Support has collapsed with strong momentum.
3. ๐ GRAY (Neutral / Noise)
ใใปTrigger: Price is trapped inside the "Noise Gate" (between Upper & Lower bands).
ใใปMeaning: DO NOT TRADE. The market is indecisive or consolidating.
4. ๐ฆ CYAN / ๐ช MAGENTA (Trend Follow)
ใใปMeaning: Trend is healthy and continuing outside the noise gate.
โ ใณใณใปใใ: ใCyberpunk Neural Fluxใใฏใใใใธใใกใณใใๆฉ้ขๆ่ณๅฎถใ้่ฆใใใใใฌใณใใปใใณใใฌใผใใใฎใญใธใใฏใซๅบใฅใใฆ่จญ่จใใใฆใใพใใ
ๅฝผใใใไธญๆใใฌใณใใฎ็ๅฝ็ทใใจใใฆ้ฒ่กใใ 150MA๏ผใใผในใฉใคใณ๏ผใจใ็ญๆใขใซใดใชใบใ ใๅๅฟใใ 15MA๏ผใขใกใณใฟใ ๏ผใฎ็ธไบไฝ็จใ็ฃ่ฆใใพใใๅคงๅฃๆ่ณๅฎถใๆ่ญใใใใฌใณใๆนๅใจใ็ญๆ็ใชๅขใใๅ่ดใใ็ฌ้ใฎใฟใๅฏ่ฆๅใใใใใคใบใฒใผใใๆฉ่ฝใซใใฃใฆๅไบบๆ่ณๅฎถใ็ฉใใใใใใฌใณใธ็ธๅ ดใๅพนๅบ็ใซๆ้คใใพใใ
โ ่ฒใฎ่ชญใฟๆน๏ผใญใผใฝใฏ่ถณ๏ผ
1. โช WHITE / ็ฝ๏ผๅ่ปข - ่ฒทใ๏ผ
ใใป็ถๆณ: ่ๆฏใใใผใณใฟ๏ผไธ่ฝไธญ๏ผใ
ใใปๆกไปถ: ไพกๆ ผใใ15MA ๏ผ ใใคใบๅน
ใใไธๆใใใ
ใใปๆๅณ: ๅใชใMAใฟใใใงใฏใชใใๆ็ขบใชๅ็บใจใใซใฎใผใ็ขบ่ชใใใ็ถๆ
ใ
2. ๐ก GOLD / ้๏ผๅ่ปข - ๅฃฒใ๏ผ
ใใป็ถๆณ: ่ๆฏใใทใขใณ๏ผไธๆไธญ๏ผใ
ใใปๆกไปถ: ไพกๆ ผใใ15MA ๏ผ ใใคใบๅน
ใใไธๆใใใ
ใใปๆๅณ: ๅใชใๆผใ็ฎใงใฏใชใใใตใใผใใฉใคใณใๆ็ขบใซๆฑบๅฃใใ็ถๆ
ใ
3. ๐ GRAY / ใฐใฌใผ๏ผใใคใบ - ๅพ
ๆฉ๏ผ
ใใปๆกไปถ: ไพกๆ ผใใฒใผใใฎๅ
ๅด๏ผ15MAไป่ฟ๏ผใงๆจ็งปใใฆใใใ
ใใปๆๅณ: ใๆๅบใ็ก็จใใๆนๅๆใใชใใใจใใซใฎใผใๆบใใฆใใ็ถๆ
ใงใใ
4. ๐ฆ ใทใขใณ / ๐ช ใใผใณใฟ๏ผ้ ๅผตใ๏ผ
ใใปๆๅณ: ใใฌใณใใๅฅๅ
จใซ็ถ็ถไธญใ
Manus KI TradingManus Machiene Learning Beast โ Indicator Description
Settings
Use 1h Chart
Use Regime filter: 0.5
Use ADX 20
Use SMA 200
and be happy...
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
โธป
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
โข Reduces the impact of outliers
โข Accounts for market distortions caused by volatility spikes and major events
โข Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
โธป
Signal Logic
Long Signals
A long signal is generated when:
โข The ML model predicts a positive directional bias
โข All enabled filters are satisfied
โข A new directional change is detected (non-repainting)
โข Optional trend filters (EMA / SMA) confirm the direction
โข Optional kernel regression confirms bullish momentum
๐ Displayed as a green label below the bar
Short Signals
A short signal is generated when:
โข The ML model predicts a negative directional bias
โข Filters confirm bearish conditions
โข A new directional change occurs
โข Trend and kernel filters align
๐ Displayed as a red label above the bar
โธป
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
โข Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
โข Attempts to filter out sideways markets
โข Especially important for ML-based systems
3. ADX Filter (Optional)
โข Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
โข Classic trend confirmation (e.g., 200 EMA / 200 SMA)
โข Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
โข Smooths price behavior
โข Acts as a momentum and trend confirmation filter
โข Can be used in standard or smoothed mode
โธป
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
โข โ
SMA 200
โข โ
HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
โธป
Exit Logic
Two exit methods are available:
1. Fixed Exit
โข Trades close after 4 bars
โข Matches the ML modelโs training horizon
2. Dynamic Exit
โข Uses kernel regression and signal changes
โข Designed to let profits run in strong trends
โ ๏ธ Recommended only when no additional trend filters are active.
โธป
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
โข Win rate
โข Total trades
โข Win/Loss ratio
โข Early signal flips (useful for identifying choppy markets)
โ ๏ธ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
โธป
Typical Use Cases
โข Swing trading (M15 โ H4)
โข Rule-based discretionary trading
โข Set-and-forget trading
โข TradingView alerts โ MT4/MT5 โ EA execution
โข Prop-firm trading (e.g. FTMO), with proper risk management
โธป
Important Disclaimer
This indicator:
โข โ does not guarantee profits
โข โ is not a โholy grailโ
โข โ
is a decision-support and structure tool
It performs best when:
โข Combined with strict risk management (e.g. ATR-based stops)
โข Used in trending or expanding markets
โข Executed with discipline and consistency
Nokor Traders CRTThis indicator combines three powerful tools in one to improve market analysis and trading decisions:
โข Higher Timeframe Candlestick View โ Helps traders understand overall market structure, momentum, and key price behavior from larger timeframes.
โข Asia, London, and New York Killzone Sessions โ Highlights major market trading sessions to help identify high-liquidity periods and potential volatility opportunities.
โข Heikin Ashi Trend Line โ Assists in detecting trend direction and potential reversal points with smoother price visualization.
This all-in-one indicator is designed to help traders identify market bias, session volatility, and trend changes more clearly and efficiently.
Admin t.me
Poseidon [hide System]English Description
Poseidon Ultimate Fix is a sophisticated hybrid trading strategy designed to adapt seamlessly to changing market conditions. Its core strength lies in its ability to automatically distinguish between trending and ranging markets using the Hybrid Logic Engine, which relies on the Average Directional Index (ADX). When the market shows strong directional momentum (ADX > 25), the system activates Trend Mode. In this phase, it utilizes a Supertrend-based logic to follow the market flow, entering trades on breakouts and holding positions until the trend reverses, thereby maximizing profit potential during volatile periods.
Conversely, when volatility is low and the market lacks clear direction (ADX โค 25), the system switches to Range Mode. Here, it employs Bollinger Bands to execute mean reversion strategies, buying at the lower band and selling at the upper band to capture smaller, consistent gains within the consolidation. A critical safety feature of this system is its Emergency Escape protocol. If a sudden surge in volatility occurs while a range position is openโthreatening a breakout against the tradeโthe system immediately liquidates the position and switches to a trend-following entry. This mechanism effectively neutralizes the risk of catastrophic losses often associated with reversal strategies during market explosions. Furthermore, the Precise Accounting feature ensures that the dashboard metrics, including Profit Factor and Win Rate, are calculated based on real-time equity changes, providing an accurate reflection of the system's performance without mathematical discrepancies.
ๆฅๆฌ่ชใซใใ่ชฌๆ
Poseidon Ultimate Fix ใฏใๅปใ
ใจๅคๅใใ็ธๅ ด็ฐๅขใซๅฎๅ
จ้ฉๅฟใใใใใซ่จญ่จใใใใ้ซๅบฆใชใใคใใชใใๅใใฌใผใใทในใใ ใงใใใใฎใทในใใ ใฎๆๅคงใฎ็นๅพดใฏใADX๏ผๅนณๅๆนๅๆงๆๆฐ๏ผใ็จใใใใคใใชใใใปใญใธใใฏใปใจใณใธใณใซใใใพใใใใใซใใใ็ธๅ ดใใใใฌใณใ็ถๆ
ใใซใใใใใฌใณใธ็ถๆ
ใใซใใใใ่ชๅ็ใใคๆญฃ็ขบใซๅคๅฅใใพใใๅผทใๆนๅๆใๅบใฆใใๅฑ้ข๏ผADXใ25ไปฅไธ๏ผใงใฏใใทในใใ ใฏๅณๅบงใซใใฌใณใใขใผใใ้ธๆใใพใใใใใงใฏในใผใใผใใฌใณใๆๆจใซๅบใฅใใ้ ๅผตใใญใธใใฏใไฝๅใใใใฌใณใใฎ็บ็ใซๅใใใฆใจใณใใชใผใ่กใใ็ธๅ ดใๅ่ปขใใใใฎ็ฌ้ใพใงใใธใทใงใณใไฟๆใ็ถใใใใจใงใๅฉ็ใฎๆๅคงๅใ็ใใพใใ
ไธๆนใงใ็ธๅ ดใฎๆนๅๆใๅคฑใใใใใฉใใฃใชใใฃใไฝไธใใๅฑ้ข๏ผADXใ25ไปฅไธ๏ผใงใฏใใทในใใ ใฏใฌใณใธใขใผใใธใจๅใๆฟใใใพใใใใฎใขใผใใงใฏใใชใณใธใฃใผใใณใใๆดป็จใใ้ๅผตใๆฆ็ฅใๅฑ้ใใใใณใใฎไธ้ใง่ฒทใใไธ้ใงๅฃฒใใใจใงใใใใฏใน็ธๅ ดใฎไธญใใ็ๅฎใซๅฉ็ใ็ฉใฟไธใใพใใใใใซใใใฎใทในใใ ใซใฏ**็ทๆฅ่ฑๅบๆฉ่ฝ๏ผใจใใผใธใงใณใทใผใปใจในใฑใผใ๏ผ**ใจใใ้่ฆใชๅฎๅ
จ่ฃ
็ฝฎใๆญ่ผใใใฆใใพใใใใใฌใณใธ้ๅผตใใใธใทใงใณใไฟๆไธญใซ็ช็บ็ใชๆด้จฐใๆด่ฝใ็บ็ใใๅ ดๅใใทในใใ ใฏๅณๅบงใซๆๅใใ่กใใ้้ซชๅ
ฅใใใซใใฌใณใๆนๅใธใฎ้ ๅผตใใจใณใใชใผใซๅใๆฟใใพใใใใใซใใใใฌใณใธๆๆณ็นๆใฎใใณใใณใๅใฃใฆใใซใณใจ่ฒ ใใใใชในใฏใๆ้คใใพใใๅ ใใฆใๅฎๅ
จใชไผ่จๅฆ็ๆฉ่ฝใซใใใใใใทใฅใใผใไธใฎๅ็ใใใญใใฃใใใใกใฏใฟใผใฏๅฎ้ใฎๅฃๅบงๆฎ้ซใฎๅขๆธใจ1ๅใฎ็ใใใชใไธ่ดใใๆฅตใใฆไฟก้ ผๆงใฎ้ซใใใใฉใผใใณในๅๆใๆไพใใพใใ
AVSL - XAUUSD M1 OptimizedCredit to Rafka.
This script is optimized for XAUUSDT.P 1-minute trading based on AVSL Indicator from Rafka.
Smooth MTF EMA Cloud - ProEma cloud that has multiple time frames and is smoothed. No choppy outlines on the ema resolution between different time frames.
[Saga Trading] Moving Average ProThis open-source indicator provides trend and market structure context using multiple moving averages.
It allows traders to visualize several moving averages simultaneously, with configurable calculation methods (EMA, SMA, or RMA), in order to better assess trend alignment, momentum, and structural bias.
Common references such as the 50-period and 200-period averages are included because they are widely observed by market participants. Crossovers between these averages (often referred to as golden or death crosses) are displayed as structural information only and should not be interpreted as trading signals.
The purpose of this tool is to help traders understand market structure and trend context, not to generate entries or exits.
This indicator is intended for educational and analytical purposes and should be used alongside price action and broader market analysis.
EMA SMA LinesThis script draws 3 EMA lines and 2 SMA lines and each line has label attached to it. It is configurable.
EMA Cross and then plot the immediate swing support or resistancThis script analyses the long term trend of any security on a given time frame. Once the trend is identified as shown by bullish cross or bearish cross, it then plots the immediate swing high for bullish cross and immediate swing low for bearish cross before the cross happened.
Input to the scripts are all EMA period. I use Ema10,20 as short term trend, 50, 100 as medium term trend and 200,400 as long term trend. Also, Swing length input defines the immediate swings. Lower value of the swing length shows minor peak or valley and higher value of the swing length shows major peak or valley, It uses previous 1000 candles to scan the swing high/low
Brahmastra Moving Average ADX๐ฑ BRAHMASTRA MOVING AVERAGE ADX ๐ฑ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
A precision trend detection system that fuses the Average Directional Index (ADX) with a dynamic Weighted Moving Average (WMA) to deliver crystal-clear trend signals.
โ HOW IT WORKS
โโโโโโโโโโโโโโ
This indicator analyzes both TREND STRENGTH (via ADX) and TREND DIRECTION (via +DI/-DI) to color-code the moving average:
๐ข GREEN MA = Strong Uptrend (ADX > threshold + Bullish bias)
๐ด RED MA = Strong Downtrend (ADX > threshold + Bearish bias)
โซ GRAY MA = Ranging/Weak Trend (ADX below threshold)
โ KEY FEATURES
โโโโโโโโโโโโโโ
โ
ADX-Based Trend Confirmation - Only signals when trend strength is confirmed
โ
Color-Coded WMA - Instantly identify trend direction at a glance
โ
Buy/Sell Signals - Visual markers on trend reversals
โ
Real-Time Info Panel - Live ADX, +DI/-DI values, and trend status
โ
Customizable Visuals - Adjust colors, line width, and fill zones
โ
Built-In Alerts - Get notified on trend changes
โ SETTINGS
โโโโโโโโโโ
- DI Length (default: 14) - Period for +DI/-DI calculation
- ADX Smoothing (default: 14) - Smoothing period for ADX
- ADX Trend Threshold (default: 18) - Minimum ADX to confirm trend
- MA Length (default: 9) - Period for the Weighted Moving Average
โ HOW TO USE
โโโโโโโโโโโโ
1. TREND TRADING: Enter long when MA turns GREEN, short when RED
2. RANGE FILTER: Avoid trades when MA is GRAY (ranging market)
3. CONFIRMATION: Use the info panel to verify ADX strength before entry
4. ALERTS: Set up alerts to catch trend changes automatically
โ BEST TIMEFRAMES
โโโโโโโโโโโโโโโโโ
Works on all timeframes. Recommended: 15M, 1H, 4H, Daily
โ CREDITS
โโโโโโโโโ
Developed by Brahmastra Trading Systems
Inspired by the legendary ADX indicator by J. Welles Wilder Jr.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก Like & Follow for more premium indicators!
Trend Regime JMA Bands (50-150-200)Trend Regime JMA Bands is a visual market-context indicator designed to help traders understand overall trend structure and short-term participation using adaptive Jurik Moving Average (JMA) bands.
This script separates market behavior into two distinct layers:
๐น Structure (Slow Band)
Defines the dominant market regime using classic 50 / 150 / 200 moving-average relationships.
Helps identify bullish, bearish, and transitional environments.
Visual intensity adjusts based on market conditions for clarity.
๐น Participation (Fast Band)
Represents short-term price engagement aligned with the prevailing structure.
Counter-trend momentum is intentionally filtered out.
Designed to highlight participation only when aligned with the broader trend.
A Choppiness Index (CHOP) calculation is used only to adjust visual confidence of the structural band.
CHOP does not affect trend direction, regime state, or calculations.
This indicator is intended for analysis and visual context only.
It does not generate trade signals, entries, exits, predictions, or recommendations.
โ ๏ธ DISCLAIMER SECTION (REQUIRED & SAFE)
Add this as a separate paragraph in the description:
Disclaimer
This script is provided for educational and analytical purposes only.It is not financial advice. Trading involves risk, and past performance does not guarantee future results. The author assumes no responsibility for trading decisions made using this indicator.
EMA 9 & 26 Crossover By SN TraderEMA 9 & 26 Crossover โ Trend & Momentum Indicator For Scalpers
The EMA 9 & EMA 26 Crossover Indicator is a simple yet powerful trend-following tool designed to identify high-probability buy and sell signals based on short-term and medium-term momentum shifts.
This indicator is widely used by scalpers, intraday traders, and swing traders across Forex, Crypto, Stocks, Indices, and Commodities.
๐น Indicator Logic
EMA 9 (Green) โ Fast momentum
EMA 26 (Red) โ Trend direction
BUY Signal
When EMA 9 crosses above EMA 26
Indicates bullish momentum and possible trend reversal or continuation
SELL Signal
When EMA 9 crosses below EMA 26
Indicates bearish momentum and potential downside movement
Clear BUY / SELL labels are plotted directly on the chart for easy visual confirmation.
๐ How to Trade Using This Indicator
โ Enter BUY trades after EMA 9 crosses above EMA 26
โ Enter SELL trades after EMA 9 crosses below EMA 26
โ Use higher timeframes (15m, 1H, 4H) for stronger signals
โ Combine with RSI, MACD, UT Bot, VWAP, Support & Resistance for confirmation
โ
Best Use Cases
Trend reversal identification
Momentum-based entries
Scalping & intraday strategies
Swing trading trend confirmation
Works on all timeframes
โ๏ธ Features
โ Lightweight & fast
โ Beginner-friendly
โ Non-repainting signals
โ Pine Script v6 compatible
โ Clean visual design
โ ๏ธ Disclaimer
This indicator is for educational purposes only and should not be considered financial advice. Always apply proper risk management and confirm signals with additional analysis.
Bull/Bear Volume DiagramOverview
This indicator displays trading volume in a mirrored diagram that separates bullish and bearish activity. Bullish candle volume is plotted above the center line, while bearish candle volume is plotted below it. This layout helps visualize market participation and directional pressure in a more intuitive way than traditional volume histograms.
How It Works
The indicator evaluates each candle and determines whether it is bullish or bearish based on its open and close prices:
If the candle closes above its open, its volume is plotted upward.
If the candle closes below its open, its volume is plotted downward.
Each side is color-coded independently to clearly distinguish buying and selling pressure.
Additionally, the indicator calculates a moving average of volume separately for bullish and bearish candles. These averages help identify trends in directional volume strength and allow traders to compare buyer versus seller dominance over time.
Features
Mirrored bullish and bearish volume visualization
Independent color customization for bullish and bearish volume
Directional volume moving averages
Clear separation of buying and selling activity
Lightweight and responsive calculation
How To Use
This indicator can help traders:
Identify which side of the market is dominating volume
Detect shifts in buying or selling pressure
Compare momentum between bullish and bearish participation
Observe volume trends more clearly than with standard volume bars
Notes
Volume is classified using candle direction, not order flow or tick data.
Results may vary depending on timeframe and market type.
This indicator is intended as a visual analysis tool and should be combined with other technical analysis methods.
MA Smart SyncMA Smart Sync determines the market bias by evaluating the price position relative to a moving average channel on four independent timeframes and returning a confluence signal when a configurable number of them agree.
Unlike standard MTF trend indicators that rely on EMA crossovers or slope direction, this script builds a channel around each timeframe and classifies price into three discrete zones: above, below, or inside. The "inside" state acts as a neutral filter, preventing false confluence signals during consolidation โ a key distinction from binary up/down dashboards.
The channel itself can be constructed using five different methods selectable from a single input: High/Low MA (separate MAs applied to high and low), Close ยฑ ATR, Close ยฑ Standard Deviation, Close ยฑ percentage offset, or classic Bollinger Bands. All five use the same MA type and length inputs, making it straightforward to compare how different volatility envelopes behave on the same instrument without rebuilding the indicator.
How to use:
โ Set four timeframes matching your trading plan (defaults: 15m, 1h, 4h, D).
โ Choose the channel method that fits your instrument's volatility profile. ATR-based channels adapt well to forex; StdDev and Bollinger suit equities and indices.
โ Set "Minimum Confluence" to 3 or 4. A value of 4 means all timeframes must agree before a signal fires.
โ The background color and arrow labels update only when bias changes, keeping the chart clean.
โ Use the status table (top-right) to monitor each timeframe independently and identify which TFs are lagging.






















