smart Stochastic Embedded RSI with HA, Supertrend & UT Bot Short Description
Advanced Stochastic + Embedded RSI with Heiken Ashi, Supertrend & UT Bot voting system for cleaner momentum detection and reduced fake signals. Designed for scalpers, intraday and swing traders.
Full Publish Description
SS PRO RSI is a smart momentum oscillator built to reduce noise and filter weak signals by combining multiple confirmations into a single streamlined indicator.
This indicator merges:
Smart Stochastic
Embedded Stochastic RSI
Heiken Ashi trend logic
Supertrend confirmation
UT Bot filtering
Momentum-based coloring
Buy/Sell trigger system
Instead of relying on a basic stochastic crossover alone, the script uses a voting system between multiple trend filters to improve signal quality and reduce fake reversals during choppy markets.
Features
✔ Embedded Stochastic RSI mode
✔ Heiken Ashi trend confirmation
✔ Supertrend filter integration
✔ UT Bot confirmation logic
✔ Bull/Bear momentum coloring
✔ Dynamic trigger color modes
✔ Oversold & Overbought zones
✔ Cleaner buy/sell signals
✔ Adjustable sensitivity settings
✔ Designed for low-noise trading
Best Usage
Intraday trading
Swing trading
Index options
Crypto
Forex
Trend continuation setups
Recommended Timeframes
1H → Balanced signals
4H → Strong low-noise confirmations
15m → Faster entries with moderate noise
Suggested Settings (Low Noise)
K Length: 14
K Smoothing: 5
D Length: 5
RSI Length: 21
Momentum Sensitivity: 1.5
Important
⚠️ Disclaimer
This indicator is intended for educational and informational purposes only and should not be considered financial advice. Trading involves risk, and no indicator can guarantee profits or eliminate losses.
The signals generated by this script are based on technical analysis logic, momentum behavior, and multiple confirmation filters including Heiken Ashi, Supertrend, and UT Bot voting systems. Market conditions can change rapidly, and false signals may still occur.
Always use proper risk management, confirm trades with your own analysis, and test strategies before using them in live markets.
The creator of this script is not responsible for any financial losses or trading decisions made using this indicator.
Indicator

IND002 - Multi-Timeframe RSI Percentile MapIND002 - Multi-Timeframe RSI Percentile Map shows whether RSI momentum is historically low, historically high, improving, neutral or weakening across several timeframes.
It helps traders use multi-timeframe RSI context before deciding whether a setup is worth considering.
========================================================================
✨ Follow my profile to stay updated on future indicators and improvements
========================================================================
==================================================
WARNING
==================================================
This indicator does not predict the future and does not provide guaranteed entries.
A low percentile can show that momentum is historically depressed, but price can still continue lower. A high percentile can show that momentum is historically stretched, but price can still continue higher.
Use this as momentum context together with trend, structure, support/resistance, volume, divergence, and risk management.
==================================================
(1) OVERVIEW AND PURPOSE
==================================================
IND002 combines RSI readings from four selected timeframes into one smoother combined RSI line. By default, it uses Monthly, Weekly, Daily, and 4H RSI, but the user can change the timeframes and weights in the settings.
The main purpose is not only to show RSI. The main purpose is to show where the current combined RSI stands compared with its own recent history.
This is done with percentile ranking.
What percentile means
Percentile shows whether the current combined RSI is low, normal, or high compared with its own historical values.
Percentile 5 - combined RSI is very low compared with recent history.
Percentile 20 - combined RSI is in a lower historical area.
Percentile 50 - combined RSI is near its normal middle range.
Percentile 80 - combined RSI is in a higher historical area.
Percentile 95 - combined RSI is very stretched compared with recent history.
A low percentile is not automatically a buy signal. It means RSI is low compared with its own history. A high percentile is not automatically a sell signal. It means RSI is stretched compared with its own history.
The useful reading comes from combining:
percentile level
RSI direction
multi-timeframe alignment
price structure
Color meaning
🟩 Green - combined RSI is in a lower percentile area and slope is turning up.
🟨 Yellow - momentum is neutral, mixed, or not clear enough.
🟥 Red - combined RSI is in a higher percentile area and slope is turning down.
The main idea: do not read RSI only as 30 / 50 / 70. Read where RSI is compared with its own history and whether it is starting to turn.
==================================================
(2) HOW TO USE IT PROPERLY
==================================================
The indicator should be used differently depending on the trading style. It is not one fixed entry rule for every trader.
Simple use
Check the combined RSI color first.
🟩 Green = momentum is recovering from a historically lower area.
🟨 Yellow = momentum is neutral or unclear; wait for better context.
🟥 Red = momentum is weakening from a historically higher area.
Confirm the reading with price structure, support/resistance, trend, volume, or divergence.
Use alerts only as monitoring tools, not as trade instructions.
Long-term investing use
For long-term investing, give more attention to Monthly, Weekly, and Daily context.
A more useful long-term reading usually appears when:
combined RSI is in a lower percentile area
the line turns 🟩 green
higher timeframes stop weakening
price is near important support or a long-term value area
market structure starts stabilizing
This does not confirm the exact bottom. It only means multi-timeframe momentum is becoming more constructive compared with its own history.
Swing trading use
For swing trading, a low percentile alone is usually not enough. The trader usually wants evidence that momentum is recovering and that price structure confirms the idea.
A more useful swing reading usually appears when:
combined RSI was low or below normal
the line turns 🟩 green
RSI starts moving back toward the middle area
Daily and 4H RSI begin to agree
price confirms with support reaction, reclaim, breakout, or trend continuation
For swing trading, Daily and 4H can be weighted more, while Weekly remains useful for context.
Advanced use
Enable the four timeframe RSI curves when you want to compare alignment, divergence, or conflict between timeframes.
If price makes a lower low but combined RSI or higher-timeframe RSI improves, this can support a bullish divergence reading.
If price makes a higher high but RSI weakens, this can support a bearish divergence reading.
If Monthly, Weekly, Daily, and 4H RSI improve together, momentum confirmation is broader.
If only 4H improves while Weekly and Monthly remain weak, the move may only be short-term.
Setup markers and alerts
🟩 Long-Side Setup - lower percentile area, RSI slope turning up, and optional ADX filter confirmed.
🟥 Risk-Off Setup - upper percentile area, RSI slope turning down, and optional ADX filter confirmed.
Alerts describe chart conditions only. They are not trade instructions.
Best use: let IND002 show multi-timeframe momentum context, then confirm with your own price-action method before making a decision.
==================================================
(3) SETTINGS, SUMMARY AND DISCLAIMER
==================================================
Important settings
RSI period - lower is faster, higher is smoother.
Timeframes A-D - choose the four RSI timeframes.
Weights - higher weight gives that timeframe more influence.
Percentile lookback days - higher is broader context, lower adapts faster.
Lower threshold - default 20, defines lower-percentile recovery area.
Upper threshold - default 80, defines upper-percentile risk-off area.
ADX threshold - filters setup markers by trend strength.
Show four timeframe RSI curves - helps compare alignment and divergence.
This script may receive future refinements if useful improvements are added to the model, settings, or explanation.
If you want to stay updated on future script releases or improvements to this indicator, you can check my profile for new public publications and updates.
Summary
IND002 combines RSI from four timeframes and ranks the result against its own historical range.
It helps users understand whether momentum is 🟩 improving, 🟨 neutral, or 🟥 weakening.
The script is most useful as multi-timeframe momentum context, not as a standalone trading system.
Disclaimer
This script is a public open-source indicator for educational and informational use.
It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
The script identifies momentum and percentile conditions only. It does not guarantee profitable trades, signal accuracy, or future performance.
Users should always apply their own analysis, position sizing, and risk management before making any trading decision.
Indicator

Indicator

Supertrend Oscillator Pro | TR🎯 Overview
Supertrend Oscillator Pro transforms the classic Supertrend into a versatile, dual‑mode oscillator. It measures price distance from the Supertrend line either as a signed percentage (-100% to +100%) or as a raw ATR ratio. The indicator adds a powerful smoothing engine (11 moving average types), dynamic momentum‑based transparency, two independent signal systems (level crosses and reversal diamonds), plus comprehensive visual enhancements – gradient candles, trend fills, a persistent trend table, and nine color themes. It turns the simple Supertrend into a complete trend‑momentum trading system.
⚙️ Core Calculations
1. Base Supertrend (Classic Pine Logic)
Source: hl2 (high+low)/2
ATR Period: user defined (default 10)
Factor: user defined (default 3.0)
Outputs: stLine (Supertrend line), stDir (trend direction: -1 = uptrend, +1 = downtrend), atrValue
2. Raw Oscillator (rawOsc)
3. Oscillator Mode (User Selectable)
Mode A – Percentage (0‑100)
oscValue = (rawOsc / bandWidth) * 100
Then clamped to .
Mode B – Ratio (ATR)
oscValue = rawOsc / bandWidth (unbounded ratio, typically between -3 and +3)
Then normalised over last 70 bars to a range:
norm = (smoothOsc - minRatio) / rangeRatio → oscPlot := norm * 6 - 3.
4. Smoothing (Moving Average Engine)
The raw oscillator is passed through one of 11 moving averages (user choice):
EMA, SMA, RMA, WMA, VWMA, HMA, DEMA, TEMA, TRIMA, FRAMA, SWMA, T3 (with adjustable T3 factor).
Default: HMA(25).
5. Normalisation for Gradient Coloring (normOsc)
Over the last 70 bars, oscPlot is re‑scaled to a range → used for smooth candle color interpolation.
6. Momentum & Dynamic Fill Transparency
Momentum = absolute 5‑bar change of oscPlot
Max momentum over 50 bars → normalised normMomentum
Fill transparency = 35 - (normMomentum × 25), clamped 0‑100 (user can disable dynamic transparency).
→ Higher momentum = less transparent (more vivid fill).
🎨 Visual Features
9 Color Themes
Same palette as the classic version:
Classic, Modern, Heat, Robust, Accented, Monochrome, Moderate, Aqua, Cosmic.
Each defines upColor (bullish) and dnColor (bearish).
Gradient Candles (Overlay on Price)
Candle color interpolates between dnColor and upColor based on normOsc.
Plotted via plotcandle directly on the price chart.
Dynamic Fills (Oscillator Pane)
Positive area (osc > 0) – gradient from solid upColor (at upper level) to transparent (at zero), with momentum‑based transparency.
Negative area (osc < 0) – gradient from transparent (zero) to solid dnColor (at lower level).
Two separate fill pairs handle Percentage vs Ratio modes (levels differ).
Supertrend Overlay (Optional)
When Plot Supertrend Line is true, the classic Supertrend line is drawn on the price pane:
Uptrend (stDir < 0) → green (upColor)
Downtrend (stDir > 0) → red (dnColor)
Signal Markers
Triangles (level crosses) – user toggles showTriangles
LONG (bull cross) → green triangle below bar
SHORT (bear cross) → red triangle above bar
Diamonds (reversal signals) – user toggles showReversals
Reversal Up (price reverses from downtrend to uptrend) → diamond above/below bar with semi‑transparent upColor
Reversal Down → diamond with dnColor
Background Tint (Zone Background)
When bgZone enabled, the chart background gets a very light bullish or bearish tint matching the current trend (trendST).
Trend Table (Middle‑Right Corner)
Shows ⬆️ BULLISH or ⬇️ BEARISH in large colored text. Updates on trend changes.
Value Label (Last Bar)
Floating label showing the current oscillator value (e.g., 42.35% or 1.24). Positioned near the oscillator line with a semi‑transparent background matching the trend color.
Upper / Lower Level Lines
Percentage mode → user‑defined overbought (default 70) and oversold (default -70)
Ratio mode → automatically scaled to equivalents (e.g., 70% → 2.1, -70% → -2.1)
Plotted as gray circle‑style lines.
📈 Signal System
1. Level Cross Signals (Triangles)
LONG (Bull_Cross) – ta.crossover(oscPlot, lowerLevel) OR ta.crossover(oscPlot, upperLevel)
(Entering oversold or overbought zone from below)
SHORT (Bear_Cross) – ta.crossunder(oscPlot, lowerLevel) OR ta.crossunder(oscPlot, upperLevel)
Debouncing logic:
lastSignal stores the direction (1 = long, -1 = short). A new signal is only generated if it differs from the last one.
2. Reversal Signals (Diamonds)
Reversal Up (Bullish reversal) – ta.crossover(oscPlot, oscPlot ) AND oscPlot < -thresholdForSignal
(Oscillator turns up from deep negative territory)
Reversal Down (Bearish reversal) – ta.crossunder(oscPlot, oscPlot ) AND oscPlot > thresholdForSignal
Cooldown mechanism:
Reversals are only plotted if the last reversal bar was more than 10 bars ago (prevents clustered signals).
3. Trend Persistence (trendST)
Set to 1 (bullish) on any LONG signal (level cross)
Set to -1 (bearish) on any SHORT signal
Used for background tint, table text, and fill reference colors.
4. Interpretation Guide (Percentage Mode)
+100 → price is exactly one full ATR‑bandwidth above Supertrend (very strong uptrend)
-100 → price is exactly one full ATR‑bandwidth below Supertrend (very strong downtrend)
Crossing zero → price crosses the Supertrend line (classic trend change)
Oversold / Overbought zones (e.g., ±70) → potential exhaustion / reversal areas.
5. Divergence Possibility (Not Coded, But Usable)
The raw oscPlot value (especially in Ratio mode) can be used for divergences:
Price makes higher high, oscillator makes lower high → bearish divergence
Price makes lower low, oscillator makes higher low → bullish divergence.
🚨 Alert System
Four alert conditions available (user‑toggleable):
LONG (Cross) – level cross triggers a bullish entry
SHORT (Cross) – level cross triggers a bearish entry
LONG (Reversal) – reversal diamond (bullish)
SHORT (Reversal) – reversal diamond (bearish)
Alerts include the ticker symbol in the message. Indicator

Indicator

Indicator

Indicator

Dugomes Macro Flow - Blindado PRO1. Os Componentes Visuais (O que você vê)
Linha Preta (Macro Line): Representa o "preço justo global". Ela combina o preço do Ouro, Prata e Petróleo com a força inversa do Dólar (DXY). Se ela sobe, o cenário externo é favorável ao Brasil.
Linha Azul (EMA 200): É o filtro de Tendência Forte. Ela define o "lado" do mercado.
Velas (Candles) e Fundo: Mostram a ação do preço e o sentimento atual (Verde para alta, Vermelho para baixa).
2. A Lógica de Tomada de Decisão (O Gatilho)
O usuário não deve operar cada cruzamento, mas sim buscar a Confluência Blindada:
Cenário de Compra Profissional (PRO BUY)
Para o sinal de compra aparecer, quatro condições precisam ser verdadeiras ao mesmo tempo:
Ação do Preço: O BRA50 cruzou para cima da Linha Preta.
Tendência: O preço está trabalhando acima da Linha Azul (EMA 200).
Fluxo de Dinheiro: O indicador MFI está acima de 50 (dinheiro entrando).
Esforço: O volume financeiro está acima da média (institucionais estão ativos).
Cenário de Venda Profissional (PRO SELL)
Ação do Preço: O BRA50 cruzou para baixo da Linha Preta.
Tendência: O preço está trabalhando abaixo da Linha Azul (EMA 200).
Fluxo de Dinheiro: O indicador MFI está abaixo de 50 (dinheiro saindo).
Esforço: Volume alto confirmando a batida na venda.
3. Como Analisar Divergências
Uma das funções mais poderosas para o usuário é observar quando o preço "foge" do macro:
Divergência de Alta: A Linha Preta está subindo (exterior favorável), mas o BRA50 ainda está caindo. Isso sugere que o Brasil está "barato" e pode dar um sinal de PRO BUY a qualquer momento.
Divergência de Baixa: As commodities e o dólar indicam queda (Linha Preta para baixo), mas o BRA50 insiste em subir. Cuidado: o índice pode estar "esticado" e prestes a uma correção forte.
4. Dica de Ouro: Uso com SMC (Smart Money Concepts)
Instrua o usuário a marcar suas zonas de Order Blocks (OB) e Fair Value Gaps (FVG).
O Setup de Alta Probabilidade:
Se o preço toca um Order Block de Compra e, naquele exato momento ou logo em seguida, o indicador dispara o rótulo PRO BUY, a chance de o trade ir direto no alvo é muito maior, pois você tem a técnica (SMC) e o combustível (Macro e Fluxo) alinhados.
Resumo para o Usuário
"Não opere contra a Linha Azul. Não ignore a Linha Preta. Só entre quando o Volume e o MFI confirmarem o sinal." Indicator

Indicator

IND001 - Tide Flow Structure Map==================================================
WARNING
==================================================
This indicator is designed to read trend structure. It is not designed to act on every drop only because price reaches a lower or red area.
The correct use is to first check whether the market still has a supportive structure. The indicator works best when price action is stable, liquid, and structured. It is less suitable for very risky, illiquid, speculative, or erratic instruments.
The script does not predict the future. It helps the user read whether current market conditions are supportive, neutral, weakening, or risk-off.
==================================================
(1) INTRODUCTION
==================================================
IND001 - Tide Flow Structure Map is a public open-source trend-structure indicator.
The idea behind Tide Flow is simple: markets often move in phases. Some phases are healthy and structured, while others are weak, noisy, or damaged. This indicator was built to help users read those phases more clearly by combining trend direction, active flow, structure, volatility, trend strength, and optional asset-quality checks.
It is not meant to be a simple signal tool. It is meant to help the user understand the current market condition first.
==================================================
(2) OVERVIEW
==================================================
Tide Flow is mainly a structure-reading and trend-following tool. It is designed to work best when the market shows clear continuation behavior and enough stability for the curves to reflect real structure.
The main question is:
Is the current movement still healthy and structured, or is the structure starting to weaken?
Instead of using one simple signal, the indicator combines several layers of information:
main trend direction
active trend flow
upper and lower price structure
volatility
trend strength
higher-timeframe confirmation
RSI extension control
optional asset-quality filtering
Quick color key
🟨 Yellow - main trend environment
🟦 Blue - active trend flow
🟩 Green - upper structure and strength
🟥 Red - lower structure and risk
--------------------------------------------------
WHERE TIDE FLOW FITS BEST
--------------------------------------------------
Best trading styles
Swing trading - usually the best fit, because structure is clearer on higher timeframes.
Intraday / day trading - can work well on liquid and cleanly trending assets.
Position trading - suitable for following broader structure on higher timeframes.
Less suitable trading style
Scalping - usually the weakest fit, because very low timeframes often contain more noise and false shifts.
Timeframe guidance
Best fit: 1H, 4H, Daily
Good fit: 15m, Weekly
Use with caution: 5m and lower
Best asset types
liquid stocks
major crypto assets
index-related instruments
assets with stable trend structure
markets with clear continuation behavior
Less suitable asset types
very low-liquidity assets
small speculative instruments
thin or manipulated markets
assets with frequent abnormal spikes or unstable gaps
sideways markets with weak structure
Practical summary
Best overall use: swing trading
Good use: day trading on liquid trending assets
Weakest use: scalping on very low timeframes
==================================================
(3) MOST IMPORTANT: HOW TO USE IT PROPERLY
==================================================
The correct way to use this indicator is to read the market structure first, then use the table, background colors, and alerts only as extra confirmation.
Simple workflow
🟨 Start with the yellow curve.
Check whether price is above or below the main trend. If price is below the yellow curve, the broader structure is weaker and long-side ideas need more caution.
🟦 Then check the blue curve.
The blue curve shows the active trend flow. A rising or stable blue curve is healthier. A falling blue curve means the active flow is weakening.
🟩 Then check the green curve.
The green curve shows upper structure and strength. Price moving toward or above the green curve can show stronger expansion, but chasing too far above it can create poor risk-reward.
🟥 Then check the red curve.
The red curve shows lower structure and risk. Price moving close to or below the red curve means the structure is weakening or breaking.
Only after that, check the table and background colors.
The table and BG colors are helpers. They should support the structure reading, not replace it.
Use alerts only for monitoring.
An alert means a chart condition has appeared. It is not a trade instruction and does not guarantee a result.
Correct use
Use it when the market is liquid, structured, and trending clearly.
Use it to separate supportive structure from weak or risk-off structure.
Use it to avoid acting too early when price is below the main trend.
Use it with your own risk management and position sizing.
Incorrect use
Do not use it as a simple green-buy / red-sell system.
Do not act only because the table shows a stronger state.
Do not act only because the background color changes.
Do not act only because price touches the red or lower area.
Do not expect the script to predict future price movement.
The most important rule is: read the curves first. The helpers come second.
==================================================
(4) CURVES
==================================================
The indicator is built around four main curves. Each curve represents a different layer of market structure.
🟨 Yellow curve - Main trend
The yellow curve represents the broader trend environment.
Price above yellow: the broader trend condition is more supportive.
Price below yellow: the broader trend is weaker or damaged.
🟦 Blue curve - Active trend flow
The blue curve represents the active movement inside the main trend.
Price above blue: active flow is stronger.
Price around blue: the market is testing the flow.
Price below blue: the active flow is weakening.
🟩 Green curve - Upper structure
The green curve represents the upper part of recent smoothed price structure.
Price below green: price is still building inside structure.
Price at or above green: strength or expansion is increasing.
🟥 Red curve - Lower structure
The red curve represents the lower part of recent smoothed price structure.
Price above red: lower structure is still holding.
Price near red: structure is becoming weaker.
Price below red: lower structure is breaking.
==================================================
(5) LOGICAL SEQUENCE
==================================================
The indicator should be read in order. Each curve gives a different part of the full picture.
Correct reading order
🟨 Yellow curve - defines the broader environment
🟦 Blue curve - defines the active flow
🟩 Green curve - shows strength and expansion
🟥 Red curve - shows weakness and risk
What is normal
A healthier bullish structure usually develops in a stable way:
price is above the yellow curve
blue curve is flat-to-rising or rising
price respects the blue curve during pullbacks
price moves toward or above the green curve
red curve remains clearly below price
This suggests that the market structure is still functioning in a supportive way.
What is not normal
A weaker or damaged structure usually looks different:
price falls below the yellow curve
blue curve starts to flatten or decline
price cannot recover toward the green curve
price moves too close to the red curve or breaks below it
This suggests that the tide flow is no longer healthy and the market should be treated with caution.
==================================================
(6) EXAMPLE 1: CLEAN PULLBACK IN TREND
==================================================
Price is above the yellow curve, so the broader environment is still supportive. The blue curve is rising, showing that the active flow is healthy. Price pulls back toward the blue curve, respects it, and then continues toward the green curve.
Main reading
above yellow = supportive environment
blue rising = healthy active flow
pullback to blue = controlled movement
This is a structured use case because the idea is based on trend behavior, not on chasing price.
==================================================
(7) EXAMPLE 2: BREAKOUT AFTER BUILDING
==================================================
Price remains above the yellow curve and spends time moving between the blue and green curves. This shows that the market is building structure. Later, price moves above the green curve with stronger behavior.
Main reading
above yellow = supportive condition
movement between blue and green = structure building
move above green = expansion
This is a better-quality setup because the move happens after structure has already developed.
==================================================
(8) EXAMPLE 3: RECLAIM OF THE BLUE CURVE
==================================================
Price briefly moves below the blue curve but remains above the yellow curve. Soon after, price moves back above the blue curve and continues higher.
Main reading
above yellow = broader trend still valid
temporary move below blue = short-term weakness
reclaim of blue = active flow improves again
This is useful because the main structure did not break and the active flow was restored.
==================================================
(9) EXAMPLE 4: AVOIDING A WEAK CONDITION
==================================================
Price moves below the yellow curve. This means the broader trend environment is no longer supportive. A small bounce may appear, but the structure is still weak.
Main reading
below yellow = weak environment
small bounce = not enough confirmation
structure still weak = caution
This helps the user avoid acting too early in a damaged structure.
==================================================
(10) EXAMPLE 5: SIDEWAYS MARKET
==================================================
Price moves around the blue curve with no clear direction. The blue curve is flat, and price does not clearly move toward the green curve or break structure with strength.
Main reading
flat blue = weak active flow
sideways movement = unclear structure
no clean expansion = lower-quality condition
This is a situation where patience is usually better than forcing a trade idea.
==================================================
(11) OPTIONAL HELPERS: BG COLORS, TABLE, SETUP / RISK USE
==================================================
The indicator includes helper tools to make the chart easier to read. These tools are not the full system by themselves. The main reading still comes from the four structure curves.
--------------------------------------------------
1. BG COLORS - VISUAL HELP FOR IMPROVING CONDITIONS
--------------------------------------------------
Background colors can appear when the indicator detects improving structure after a weaker phase.
They can help the user notice:
improving recovery conditions
strengthening active flow
a transition from weaker structure to healthier structure
They should not be used as standalone entry signals.
BG colors are not:
direct trade instructions
standalone entry signals
a replacement for reading the curves
a guarantee that price will continue
Correct use: first read the yellow, blue, green, and red curves. Then use background colors as extra visual context only.
--------------------------------------------------
2) TABLE - QUICK SUMMARY OF CURRENT CONDITION
--------------------------------------------------
The table gives a compact summary of the current market state. It helps organize the most important checks in one place.
The table can show:
current state
direction
higher-timeframe trend
trend condition
ADX strength
ATR condition
structure zone
asset quality
quality data
quality explanation
The table is useful because it shows whether the current move is supported by more than one condition. It should still be treated as a summary panel, not as a replacement for chart reading.
--------------------------------------------------
3) SETUP / RISK USE - EXTRA CONFIRMATION ONLY
--------------------------------------------------
The indicator is first a structure-reading tool. The table, background colors, and alerts can support the reading, but they should not replace it.
A stronger long-side condition may be present when:
price is above the yellow curve
the blue curve is healthy or rising
price respects structure instead of breaking it
price moves toward or above the green curve
the table supports the stronger condition
background colors show improving structure
A weaker or risk-off condition may be present when:
price falls below the yellow curve
the blue curve weakens or turns down
price fails to recover toward the green curve
price moves close to or below the red curve
the table no longer supports the stronger condition
Simple summary
the curves explain the structure
the background colors show visual improvement
the table summarizes the internal checks
alerts help with monitoring
When these parts agree, the reading is stronger. When they disagree, the user should be more careful.
==================================================
(12) HOW EVERYTHING IS CALCULATED
==================================================
This section explains the internal logic in simple terms.
How the curves are calculated
Yellow curve: an EMA of price using the main trend length.
Blue curve: a faster EMA of price.
Green curve: recent highest highs over a lookback period, then smoothed.
Red curve: recent lowest lows over a lookback period, then smoothed.
How the main conditions are calculated
ATR checks whether volatility is active enough.
ADX checks whether trend strength is acceptable.
Higher-timeframe filter checks whether broader direction supports the trend.
RSI helps avoid overly extended long-side conditions.
The active-flow check uses the slope of the blue curve to detect weakness.
How asset quality is calculated
The optional asset-quality guard uses:
market cap
20-day average dollar volume
60-day average dollar volume
price level
These values are combined into a quality score and grouped into a quality rank. The purpose is to help avoid instruments with weak liquidity, weak size, or unstable trading conditions.
In practice, the indicator combines:
trend structure
active flow
volatility
trend strength
higher-timeframe confirmation
asset quality
liquidity quality
The purpose is not to predict the future exactly. The purpose is to judge whether current market conditions are supportive enough.
==================================================
(13) 10 POINTS: WHAT IS WRONG WHEN USING TIDE FLOW
==================================================
Using it like a simple signal tool
The indicator is not meant to be a simple green-buy / red-sell system.
Acting below the yellow curve without caution
When price is below the yellow curve, the broader environment is weaker.
Ignoring the blue curve
If the blue curve is flat or falling, the active flow is weak.
Treating every dip as an opportunity
A drop in price alone is not a valid reason to act.
Chasing price too far above the green curve
Late entries after large expansion can create poor risk-reward.
Ignoring the red curve
When price gets close to or below the red curve, structure is weakening.
Using it in sideways markets without caution
The indicator works best when the market has structure and direction.
Skipping the reading sequence
The correct order is yellow first, blue second, green third, red last.
Expecting prediction instead of interpretation
The indicator helps interpret condition. It does not predict future price.
Using it without patience
Better readings usually come when structure is clear and supportive.
==================================================
(14) ALERTCONDITION
==================================================
The indicator includes alert conditions so users can monitor important chart events.
Alerts can be used for conditions such as:
main gates becoming aligned
price moving above the upper structure curve
a long-side setup forming
recovery conditions appearing
asset quality warning
price crossing below important structure levels
price confirming below the active risk line
Alerts are only monitoring tools. They are not trade instructions, performance claims, or guarantees of future results.
==================================================
(15) SUMMARY TO USE
==================================================
Use Tide Flow as a trend-following and structure-reading indicator, not as a simple buy or sell signal tool.
Simple reading process
🟨 Start with the yellow curve to check the broader environment.
🟦 Use the blue curve to confirm active trend flow.
🟩 Use the green curve to identify strength or expansion.
🟥 Use the red curve to monitor weakness and risk.
Use the table and background colors only as helpers.
Use alerts only for monitoring chart conditions.
Avoid forcing trades in weak, sideways, illiquid, or unstable markets.
Use your own risk management and analysis.
The indicator is most useful when the market is structured, liquid, and trending clearly.
==================================================
DISCLAIMER
==================================================
This script is a public open-source indicator for educational and informational use.
It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
The indicator does not guarantee profitable trades, signal accuracy, or future performance. It can produce false or late signals, especially in sideways, illiquid, volatile, or news-driven markets.
Users should always apply their own analysis, position sizing, and risk management before making any trading decision.
==================================================
PINE NOTE
==================================================
// Public open-source indicator
// Alerts identify chart conditions only
// No future performance is guaranteed
Indicator

RSI & MACD MTF Station [v2c_cha]Overview
The RSI & MACD MTF Heatmap Station is a comprehensive, all-in-one momentum and trend analysis tool designed to eliminate chart clutter. Traditionally, traders relying on Multi-Timeframe (MTF) analysis must either split their screens into multiple layouts or flood their indicator panels with overlapping "spaghetti" lines. This indicator solves that problem by consolidating the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) across 9 different timeframes into a single, compact visual Heatmap.
Core Concepts & Calculations
This indicator relies on the standard mathematical formulas for RSI (default 14 periods) and MACD (default 12, 26, 9). However, its core value lies in how it processes and displays this data:
Non-Repainting MTF Data: All higher-timeframe data is fetched using barmerge.lookahead_off and barmerge.gaps_off to ensure strict compliance with non-repainting rules. What you see on historical bars is exactly what would have printed in real-time.
Visual Anchoring: To display both the current RSI and current MACD lines harmoniously in the same pane without skewing the scale, the MACD line is mathematically anchored to the RSI's 50-level (neutral line).
How to Read the Heatmap Dashboard
The dashboard is a 9-column by 3-row matrix located in the corner of your screen, covering timeframes from 1-minute to 1-Month.
Row 1 (RSI - Extreme Momentum): This row measures whether an asset is mathematically overbought or oversold.
🔴 Red (RSI >= 70): Overbought. The asset is extended to the upside in this specific timeframe.
🟢 Green (RSI <= 30): Oversold. The asset is extended to the downside.
⚫ Dark Gray (31-69): Neutral. The asset is flowing within normal momentum boundaries.
Row 2 (MACD - Trend Direction): This row measures the overarching trend control based on the MACD main line crossing the Zero line.
🟢 Green (MACD > 0): Bullish trend control.
🔴 Red (MACD < 0): Bearish trend control.
Practical Trading Application (Top-Down Analysis)
This tool excels at spotting high-probability continuation setups by aligning the macro-trend with micro-momentum pullbacks.
Example Setup (The Buy Dip): A trader observing a 5-minute chart looks at the dashboard. The MACD row shows Green for the 1H and 4H timeframes, indicating a strong macro bullish trend. However, the RSI row shows Green (< 30) for the 5m and 15m timeframes. This tells the trader that while the macro trend is up, there is short-term panic/oversold conditions. This alignment provides a mathematical, rules-based area to look for long entries (buying the dip) in the direction of the macro trend.
Key Features & Customization
Fully Customizable: You can change the lengths and smoothing periods for both the RSI and MACD.
Dashboard Positioning: Move the heatmap to any corner of the screen to fit your layout.
Decluttered Charting: By default, only the current timeframe's RSI and MACD lines are plotted, while all MTF data is neatly organized inside the heatmap.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice or guarantee profitable trades. Always combine momentum and trend indicators with proper risk management and price action analysis. Indicator

Supertrend Oscillator | TR🎯 Overview
Supertrend Oscillator transforms the classic Supertrend (which plots a directional line on price) into a bounded oscillator that ranges from -100% to +100%. It measures how far price is from the Supertrend line relative to the ATR‑based bandwidth, giving a clear, normalised view of trend strength. The indicator keeps all the familiar Supertrend logic but adds gradient candle coloring, dynamic fills, nine color themes, entry signals, and a persistent trend table – turning a trend‑following line into a full visual momentum system.
⚙️ Core Calculations
1. Standard Supertrend
Source: hl2 (high+low / 2)
ATR Period: default 10
Factor: default 3
The Supertrend line and direction (pineDir) are computed using the classic Pine Script logic:
pineDir = -1 → uptrend (price above Supertrend)
pineDir = +1 → downtrend (price below Supertrend)
2. Oscillator (%)
Uptrend (pineDir = -1): positive values (0 to +100)
Downtrend (pineDir = +1): negative values (0 to -100)
The result is clamped to .
3. Normalised Percent (0..1)
Over the last 70 bars, percent is re‑scaled to a 0–1 range. Used for gradient candle coloring (smooth transition between bearish and bullish theme colors).
4. Momentum & Fill Transparency
Momentum = absolute 5‑bar change of percent
Normalised over a 50‑bar max → normMomentum
Fill transparency = 35 - (normMomentum × 25) clamped 0–100
→ Higher momentum = less transparent (more visible fill).
🎨 Visual Features
9 Color Themes
Same palette as the previous Williams %R indicator:
Classic, Modern, Heat, Robust, Accented, Monochrome, Moderate, Aqua, Cosmic.
Each theme defines UpC (bullish color) and DnC (bearish color).
Gradient Candles
Candle color interpolates between DnC and UpC based on the normalised percent.
Overlay on the price chart (plotcandle).
Dynamic Fills (between oscillator and zero line)
Overbought fill (percent > 0) – gradient from solid UpC (at +100) to transparent (at 0)
Oversold fill (percent < 0) – gradient from transparent (at 0) to solid DnC (at -100)
Trend‑direction fill – only fills the side of the current trend (bullish or bearish), with momentum‑based transparency. Higher momentum = less transparent.
Supertrend Overlay (optional)
Plot Chart toggle (false by default). When enabled, plots the classic Supertrend lines directly on the price pane:
Uptrend line (green) when pineDir = -1
Downtrend line (red) when pineDir = +1
Signal Markers
LONG (Bull_Cross): percent crosses above zero → green triangle below bar.
SHORT (Bear_Cross): percent crosses below zero → red triangle above bar.
Background Tint
Very light bullish / bearish tint matching the active trend.
Trend Table (middle‑right corner)
Shows “BULLISH” (⬆️) or “BEARISH” (⬇️) in large colored text.
Floating Value Label
On the last bar, shows the current percent value (e.g., 42.35%) near the oscillator line, with a semi‑transparent background matching the trend color.
📈 Signal System
Entry Signals
LONG (Bull_Cross): percent crosses above 0
→ Occurs when price moves from below Supertrend to above it, pushing the oscillator from negative into positive territory.
SHORT (Bear_Cross): percent crosses below 0
Trend Persistence
Trend_Supertrend stores the last confirmed direction:
1 = bullish (percent > 0)
-1 = bearish (percent < 0)
The trend state only changes on a zero‑line cross – prevents flickering near the threshold.
Overbought / Oversold Interpretation
+100 → price is exactly one ATR‑bandwidth above the Supertrend (strong uptrend).
-100 → price is exactly one ATR‑bandwidth below the Supertrend (strong downtrend).
Crossing zero indicates the price has just crossed the Supertrend line – a classic reversal signal.
Divergence Possibility
Although not explicitly coded, the oscillator’s raw percent value can be used to spot divergences:
Price makes a higher high but percent makes a lower high → bearish divergence.
Price makes a lower low but percent makes a higher low → bullish divergence. Indicator

Market Regime Classifier [EXCAVO]Four-State Probabilistic Regime Detection Using a Hidden Markov Model
The Market Regime Classifier applies a four-state Hidden Markov Model (HMM)
to classify the current market environment as Bullish, Bearish, Volatile, or Sideways.
Rather than using fixed thresholds on ADX or moving average slopes, the model maintains
and continuously updates a probability distribution across all four states on every bar,
producing smooth, low-noise regime identification.
This is not a threshold-based classifier. State probabilities update through Bayesian
forward inference, so regime transitions emerge from the data rather than arbitrary
cutoff values.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW TO USE
Step 1 → Add the indicator to a new pane. The confidence histogram
appears immediately, colored by the current regime.
Step 2 → Read the regime from the histogram color and the dashboard
panel. Blue = Bullish, Red = Bearish, Orange = Volatile,
Gray = Sideways.
Step 3 → Monitor the confidence level. Above 80%, the model has high
conviction. Below 60%, the market is transitioning and both
adjacent states have similar probabilities.
Step 4 → Set up alerts for regime transitions. Each state change fires
on a closed bar only, eliminating repainting.
Step 5 → Check the dashboard for individual state probabilities. When
two states have close values, the market is ambiguous - this is
visible in the dashboard before a formal regime change occurs.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW IT CALCULATES
◆ Data Conditioning
Each bar computes the log return: ln(close / close ). The mean and standard
deviation of log returns are calculated over the lookback period. Both are then
normalized: norm_ret = (log_ret - mean) / stdev, and norm_vol = stdev /
sma(stdev, lookback). This standardization makes the model asset-agnostic,
producing consistent behavior across equities, crypto, and forex without
requiring parameter adjustments per instrument.
◆ Gaussian Emission Likelihoods
Each of the four states has a Gaussian emission function that evaluates how
well the current normalized volatility and return match that state's expected
profile. The emission formula is exp(-(x - center)^2 / width), where x is the
normalized observation, center is the expected value for that state, and width
controls the response range:
Bullish: norm_vol = 1.1, norm_ret = +0.8 (moderate volatility, positive drift)
Bearish: norm_vol = 1.1, norm_ret = -0.8 (moderate volatility, negative drift)
Sideways: norm_vol = 0.7, norm_ret = 0.0 (low volatility, no directional bias)
Volatile: norm_vol = 1.6 x sensitivity (elevated volatility, direction-agnostic)
A state's emission is high when the current bar's profile closely matches its center
and decreases exponentially as the observation diverges.
◆ Bayesian Forward Update
The model maintains four state probabilities (p_bull, p_bear, p_side, p_vola)
initialized at 0.25 each. On every bar, unnormalized posteriors are computed:
un_state = emission(state) x (p_state x 0.9 + sum_others x 0.033). The 0.9
self-transition coefficient gives the model inertia - it stays in the current
state unless emissions consistently support a different one. The 0.033
cross-transition coefficient (approximately (1 - 0.9) / 3) keeps all states
reachable. Posteriors are then normalized to sum to 1.0. The smoothing factor
controls how aggressively each bar's emission result shifts the running
probability, acting as an exponential moving average over the posterior series.
◆ State Classification and Confidence
The active regime is the state with the highest posterior probability (argmax).
Confidence equals this maximum probability expressed as a percentage. A regime
change is detected when the dominant state changes on a confirmed (closed) bar,
which fires all alerts. The dashboard shows all four probabilities simultaneously,
making it possible to observe when the market is approaching a state boundary
before the formal regime label changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ WHAT MAKES IT DIFFERENT
◆ Probabilistic State Engine
Most regime classifiers use fixed thresholds: if ADX > 25 then trending, otherwise
ranging. This produces abrupt, oscillating switches at the boundary and gives no
information about conviction. The HMM produces a smooth probability distribution
across all four states simultaneously, with conviction visible at every bar as
an explicit confidence percentage.
◆ Four-State Classification
Two-state models (trending vs. ranging) conflate Volatile markets with trending ones
and miss the distinction between low-activity consolidation and trend exhaustion.
Four states allow separate identification of sustained directional moves
(Bullish/Bearish), low-activity accumulation ranges (Sideways), and high-volatility
uncertainty (Volatile) - conditions that require different position sizing and
strategy selection.
◆ Adaptive Volatility Threshold
The Volatile state's emission center scales with the Volatility Sensitivity input.
This makes the model configurable across asset classes: crypto spends more time at
elevated volatility levels and may benefit from a higher sensitivity value than
equities or forex.
◆ Transition Memory (Inertia)
The self-transition coefficient (0.9) gives the model inertia - a single anomalous
bar cannot flip the regime. The classifier requires consistent evidence across
multiple bars to overcome the self-transition bias. This reduces false transitions
during brief volatility spikes or one-bar outliers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ DASHBOARD
Real-time panel showing the current model state:
Regime - active state (BULLISH / BEARISH / VOLATILE / SIDEWAYS), colored by type
Confidence - highest state probability as a percentage; highlighted orange above 80%
Bullish - current Bullish state probability
Bearish - current Bearish state probability
Volatile - current Volatile state probability
Sideways - current Sideways state probability
Norm Volatility - normalized volatility ratio; highlighted orange above 1.5 x sensitivity
Smoothing - active smoothing factor (informational)
Legend table (bottom left) explains histogram colors. Both panels toggle in Dashboard settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ SETTINGS
HMM Engine
Statistical Lookback - 50 bars (period for log-return mean and stdev; higher = more stable but slower to adapt)
Decision Smoothing - 0.40 (exponential smoothing factor; lower = more stable, higher = more reactive)
Volatility Sensitivity - 1.2 (scales the Volatile state emission center; increase for crypto, decrease for equities)
Visualization
Bullish Color - default blue (histogram and ribbon color during Bullish regime)
Bearish Color - default red (histogram and ribbon color during Bearish regime)
Volatile Color - default orange (histogram and ribbon color during Volatile regime)
Show Regime Ribbon - OFF (colored markers at pane bottom showing regime history)
Background Highlight - ON (subtle tint matching the active regime)
Alerts
JSON Alerts - OFF (enable for bot integration via 3Commas, Wunderbit, etc.)
Dashboard
Dashboard Position - Top Right
Show Dashboard - ON
Show Legend - ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ALERTS
Bullish Regime - dominant state changed to Bullish on bar close
Bearish Regime - dominant state changed to Bearish on bar close
Volatile Regime - dominant state changed to Volatile on bar close
Sideways Regime - dominant state changed to Sideways on bar close
Regime Change - any state transition detected on bar close
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best regards,
EXCAVO
Disclaimer
Trading involves significant risk. This indicator is a technical analysis tool
and does not constitute financial advice, investment recommendations, or a
guarantee of future results. Past indicator behavior does not guarantee future
performance. Always use proper risk management and your own judgment.
Indicator

RSI MTF Dashboard + RSI/ATR-Based Volatility ZonesRSI MTF (multi-timeframe) Dashboard + RSI/ATR-Based Volatility Zones is a multi-timeframe RSI alignment dashboard built to connect RSI structure, timeframe agreement, and chart-side price context into one organized workflow. Instead of treating RSI as a single value on one timeframe, this script reads RSI across a full stack of timeframes and organizes that information into a compact table, a chart-side Stack Trend, an ATR-based envelope, a bottom-pinned bias strip, optional RSI-colored candles, and localized Bull/Bear pressure markers. The goal is to make it easier to see whether the broader RSI timeframe stack is supporting price, resisting price, mixed, or transitioning.
At the center of the script is the MTF RSI table. The table can display timeframe rows from 1 minute through monthly, with each row showing:
➡️ Current RSI
➡️ Current RSI vs Previous RSI
➡️ RSI SMA 20
➡️ RSI SMA 50
➡️ SMA slope arrows
➡️ Live bar timer information
➡️Lower-timeframe and higher-timeframe RSI averages
RSI is often more useful when read as a set of relationships instead of one isolated number. A single RSI value can show strength or weakness, but RSI in relation to its prior value, RSI SMA 20, RSI SMA 50, and higher timeframe context gives a cleaner view of whether momentum is building, fading, rotating, or staying aligned.
The chart-side MTF RSI Stack Trend is where the table becomes more than just a dashboard.
Each enabled timeframe row contributes to a full-stack RSI bias score using four relationships:
➡️ Current RSI regime
➡️ Current RSI vs Previous RSI
➡️ Current RSI vs RSI SMA 20
➡️ Current RSI vs RSI SMA 50
Those scores are combined into one MTF Stack Bias reading. When the stack leans bullish, the Stack Trend can project below price like a support-style trail. When the stack leans bearish, it can project above price like a resistance-style trail. When the stack is mixed or transitioning, the trail can fall back into a neutral state. That gives the chart one clean read of the broader RSI stack instead of forcing the user to mentally combine every row in the table.
The MTF Stack ATR Envelope expands that idea into a broader volatility zone. The envelope is built around the Stack Trend system and can reference the chart Stack Trend, a higher-timeframe Stack Trend, or the midpoint between both. This creates a volatility-adjusted zone around the broader RSI stack context.
The practical use is to help answer questions like:
➡️ Is price stretched away from the active RSI stack trail?
➡️ Is price trading inside the broader stack envelope?
➡️ Is the chart trail aligned with the higher-timeframe trail?
➡️ Is the stack acting more like support, resistance, or transition?
The MTF Stack Bias Trend Strip gives another view of the same engine. Instead of projecting the stack onto price, the strip shows the raw MTF Stack Bias as a compact gradient along the bottom of the chart.
This makes it easier to see when the broader stack is:
➡️ strengthening bullish
➡️ strengthening bearish
➡️ fading back toward neutral
➡️ chopping through mixed conditions
➡️ transitioning from one regime to another
The color behavior is intentionally visual. Stronger bullish readings can push toward yellow/orange, stronger bearish readings can push toward purple/extreme purple, and mixed readings stay closer to neutral.
The optional RSI Trend Candle Overlay brings the RSI color engine directly onto the main chart. Price candles still keep normal OHLC structure, but their body, wick, and border colors can reflect the current chart-timeframe RSI state. This makes it easier to see RSI strength, weakness, stretch, or neutrality without constantly checking a separate pane.
The Bull/Bear markers add a more localized pressure layer. These markers use a Price Action-style adaptive overbought/oversold engine built from a short Wilder-style high/low channel and adaptive trigger levels. They can be shown as raw pressure markers or filtered so bullish markers only appear during bullish stack regimes and bearish markers only appear during bearish stack regimes.
A practical way to read the script:
➡️ If the table rows are broadly bullish, RSI is above its moving-average references, and the Stack Trend is holding below price, the RSI timeframe stack is generally supporting the move.
➡️ If the table rows are broadly bearish, RSI is below its moving-average references, and the Stack Trend is pressing above price, the RSI timeframe stack is generally acting more like resistance.
➡️ If the table rows disagree, the trend strip fades toward neutral, or price is moving back through the envelope, the market may be transitioning or losing clean RSI alignment.
➡️ If the Bull/Bear markers agree with the active Stack Trend regime, they may help highlight localized pressure in the same direction as the broader RSI stack.
➡️ If the markers, candles, table, trail, and trend strip disagree, that disagreement can be useful information by itself because it often points to chop, cooling momentum, or a less directional environment.
The value of RSI MTF Table + ATR Envelope Trend is organization. It takes RSI behavior across multiple timeframes and turns it into a connected chart-side framework: table detail, stack bias, trail behavior, volatility zones, candle context, trend strip pressure, and localized markers. While this script is not meant to be a standalone buy/sell signal machine, it certainly has the necessary components and features to be just that once you learn its behavior over multiple timeframes. Used alongside oscillator, pressure, pivot-structure, and divergence tools, this script can also serve as a higher-level RSI alignment dashboard. The table and trend strip help answer whether the broader RSI stack is supporting, resisting, mixed, or transitioning, while companion tools can provide more detailed oscillator-side structure, pressure, pivots, and divergence context.
Attribution: this script uses SimpleCryptoLife library helpers for timeframe formatting and higher-timeframe stabilization. Some color-engine concepts, compact transparency-helper style, tiered RSI-style trend-color mapping, and PA-style overbought/oversold triangle concepts were inspired by ideas from SimpleCryptoLife’s open-source Price Action Trend work.
💥Chart examples💥
➖Bullish structure expectation➖
For this setup to continue developing, I want to see price reclaim the purple chart Stack Trend first, then begin working back toward the blue HTF Stack Trend.
The key idea is progression:
Price is still trading below both Stack Trend references, so the broader RSI stack is not fully supportive yet. A stronger bullish shift would start with price reclaiming the faster chart-side Stack Trend, then holding above it while the HTF Stack Trend begins to flatten or move underneath price.
What I’m watching:
• Price reclaiming the purple Stack Trend
• Purple Stack Trend turning back into support
• Yellow Stack Trend / envelope behavior improving underneath price
• Blue HTF Stack Trend flattening or moving below price
• Price holding above the prior local structure zone
Until that happens, rallies into the purple/blue Stack Trend area are still tests of resistance, not confirmed bullish structure.
➖Follow up to the above chart (Bullish structure follow-through)➖
This is the progression we wanted to see from the prior setup. Earlier, price was still below both the chart Stack Trend and the HTF Stack Trend, so the bullish structure was only an expectation — not confirmation yet. Now price has started to work back into the Stack Trend zone. The short-term RSI rows are strengthening, the bottom Stack Bias strip is shifting back into warmer pressure, and price is pushing into the same area that previously needed to be reclaimed.
The key improvement:
Price is no longer simply fading below the Stack Trend structure. It is actively testing the trail/envelope area from underneath and beginning to show the early signs of a bullish reclaim attempt.
What still matters next:
Price needs to hold above the faster chart-side Stack Trend and continue working toward the blue HTF Stack Trend. If that area flips from resistance into support, the bullish structure becomes much cleaner.
Until then, this is a bullish attempt in progress — stronger than the prior chart, but still needing confirmation above the broader HTF Stack Trend zone.
➖Repeated Stack Trend failure pattern➖
Price repeatedly loses the faster yellow/chart Stack Trend, then attempts to recover back into the purple/blue Stack Trend zone.
When price cannot reclaim that upper Stack Trend structure, the purple trail begins acting like resistance and price fades back underneath it.
The key read is progression: yellow weakness first, then failed reclaim into purple/blue resistance, followed by bearish continuation if price cannot push back above the broader Stack Trend stack.
➖Bullish Stack Trend support structure➖
This is the stronger version of the bullish reclaim pattern. Price first works above the faster chart Stack Trend, then the trail begins holding underneath price instead of acting as resistance. As the move expands, the broader blue HTF Stack Trend also lifts below price, giving the rally higher-timeframe support.
The key read:
Yellow/chart Stack Trend supports first, then the HTF Stack Trend confirms underneath. When price holds above both, the RSI stack structure shifts from recovery attempt into stronger bullish continuation.
➖Bearish Stack Trend rejection➖
Price attempted to recover back into the chart Stack Trend, but the broader blue HTF Stack Trend stayed overhead the entire time.
That kept the move capped. Once price failed to reclaim and hold above the purple trail, the Stack Trend structure shifted back into resistance and price faded lower.
The key read:
A bounce into the chart trail is not enough by itself. If the HTF Stack Trend remains above price, the broader RSI stack can still act like overhead resistance.
➖MTF Stack Bias Trend Strip➖
Yellow/orange shows stronger bullish stack pressure, purple shows stronger bearish stack pressure, and muted/gray transition areas show the stack moving through mixed conditions.
The key read:
The strip gives a quick visual summary of the broader RSI environment underneath price — making it easier to see when the market is trading with bullish pressure, bearish pressure, or shifting between regimes.
Indicator

Structural Range Oscillator█ OVERVIEW
Structural Range Oscillator is a structure-based oscillator that operates within the current market range, dynamically adapting to price extremes or relying on confirmed swing points (pivots).
The indicator measures the position of price within the current market structure, showing whether price is closer to the upper boundary, lower boundary, or equilibrium.
This allows you to analyze:
* structural context of price
* market phases (balance vs expansion)
* transitions between extremes
█ CONCEPTS
Structural Range
The indicator defines a working range using two modes:
Trailing Range (dynamic)
The range updates continuously, but asymmetrically:
* one side of the range (in the direction of price expansion) updates immediately with new highs/lows
* the opposite side updates only after a confirmed pivot forms
This means:
* the range expands quickly in the direction of the move
* but contracts or resets only after structural confirmation
Result:
* fast adaptation to trend
* but in strong trends it may generate more false signals (range keeps shifting with price)
Pivot Range (static)
The range is based entirely on confirmed pivots:
* pivot high/low is formed only after a defined number of candles on both sides (Pivot Length)
* both range boundaries update only after confirmation
This results in:
* delayed updates
* higher structural reliability
* reduced noise and fewer false signals
In practice:
* trailing mode = faster, reactive
* pivot mode = slower, but structurally cleaner
Oscillator Logic
The oscillator calculates price position within the range:
* 0 → price at range low
* 50 → midpoint (equilibrium)
* 100 → price at range high
This helps identify:
* stretched conditions
* relative positioning within structure
Midline (50) – Equilibrium
The 50 level acts as:
* directional bias divider (bullish / bearish)
* dynamic equilibrium level
* short-term directional filter
Persistent Mid Trend
The midpoint of the range (mid) has its own directional behavior:
* rising → structural uptrend
* falling → structural downtrend
This provides an additional layer of trend context independent of the oscillator.
Additionally, an optional feature allows:
* candle coloring based on mid trend direction
which makes trend filtering visually intuitive.
Overbought / Oversold (OB / OS)
OB / OS levels:
* exist within the 0–100 range
* are NOT the range boundaries themselves
They can be adjusted depending on your strategy:
* tighter levels → more signals
* wider levels → more selective signals
Interpretation depends on mode:
* trailing mode → more frequent signals in trends (some may be false due to shifting range)
* pivot mode → fewer but more structurally confirmed signals
█ FEATURES
The indicator offers flexible configuration:
* range mode (Trailing vs Pivot)
* oscillator smoothing (SMA, EMA, RMA, WMA)
* adjustable OB / OS levels (within 0–100 range)
* dynamic transparency of levels - for consistent solid lines, set equal values (e.g. 10)
* gradient fill (momentum visualization)
* range overlay on chart (high / low / mid)
* candle coloring based on mid trend
* channel gradient (range visualization)
* Fibonacci levels based on current range
* alerts
█ APPLICATIONS
Range Trading
In consolidation:
* range high → resistance
* range low → support
* mid → equilibrium
The oscillator acts as a map of market structure.
Trend Context
Combining:
* oscillator position (0–100)
* midline direction
helps determine:
* whether the market is trending
* or just reacting within a range
Breakout Context
If:
* price holds near extremes
* and the range expands (Trailing Mode)
→ it may indicate volatility expansion and continuation
Fibonacci Levels
Fibonacci levels are dynamically derived from the current range:
* anchored based on the latest directional move (0 at high or low)
* update automatically as range evolves
Applications:
* identifying retracement zones within the range
* potential reaction levels
* added confluence with range boundaries and mid
Especially useful when:
* price returns into the range after an impulse
* looking for structured pullback zones
Confluence & Confirmation
The indicator is most effective when combined with other tools:
* if range boundaries align with key support/resistance → higher probability of reaction
* combine with momentum indicators → oscillator signals can act as early signals, while momentum confirms direction
* use structure + momentum together instead of relying on signals alone
Context interpretation
* oscillator near 50 → market in balance
* oscillator near extremes → tension / possible reversal or continuation
* rising mid → bullish structure
* falling mid → bearish structure
█ NOTES
The indicator measures price position within structure, not traditional momentum.
This means:
* it provides contextual insight rather than standalone signals
* it is best used as a decision-support tool, not a trigger on its own Indicator

Buy & Sell Confluence Toolkit @MaxMaserati 3.0Buy & Sell Confluence Toolkit
Description:
This indicator is a customizable, multi-metric analytical tool designed to aggregate lagging, leading, and structural data into a single, objective confluence score. By normalizing the output of traditional technical indicators alongside proprietary price action and volume classification rules, the script provides a unified Bullish and Bearish percentage probability model to aid in objective decision-making.
Core Confluence Engine
The script mathematically evaluates the current state of eight configurable market variables. Users can independently adjust the "Weight" (0.0 to 5.0) of each variable to prioritize the metrics that fit their personal trading style. If a weight is set to 0.0, the variable is removed from the calculation.
MACD: Evaluates MACD vs. Signal line and Histogram polarity.
KDJ: Evaluates the K vs. D line and the fast J line trajectory.
RSI: Evaluates positioning relative to the midline, neutralizing the score if extreme overbought/oversold thresholds are breached.
CCI: Evaluates momentum while neutralizing extreme readings.
VWAP: Evaluates if price is trading above or below the anchored Volume Weighted Average Price.
Moving Average: Evaluates price position and slope trajectory relative to a customizable moving average (EMA, SMA, WMA, VWMA, or HMA).
Bollinger Bands: Evaluates the %B value to determine if price resides in the upper or lower deviation band.
Volume Tiers: Evaluates current volume relative to a Volume Moving Average, categorizing volume into specific multipliers (Climax, Whale, Mid, Low).
MMM Candle Classification
The script evaluates price structure by classifying each candlestick's open and close relative to the preceding candle's range based on the Max Maserati Model principles:
Body Close (BC): Expansion candles that close beyond the previous candle's extreme.
Affinity Sweeps (AF): Rejection candles that sweep a previous extreme but close back inside the range.
Close Inside (CI): Equilibrium candles contained entirely within the previous range.
The script dynamically paints the candlesticks by merging this structural classification with the underlying Volume Tiers.
Signal Generation & Filters
Buy and Sell signals trigger when the aggregate weighted score breaches the user's defined "Threshold %" (default is 60%). The system includes optional filters to restrict signal generation in specific environments:
MA Trend Filter: When enabled, Buy signals only trigger when price is strictly above the MA; Sell signals only trigger when below.
Price Gate Filter: A secondary structural filter requiring price to be on the correct side of either the VWAP, an ATR Trailing Stop, or the Bollinger Band Basis line.
State Machine: Prevents redundant, consecutive signals by requiring an alternating state between Buys and Sells.
Visuals and Display
Master Toggles: A centralized menu allows users to quickly toggle the visibility of the primary plots, including the VWAP, Moving Average, Bollinger Bands, and the ATR Trailing Line. Price labels can be toggled on/off to display exact structural values on the right axis.
Live Dashboard: An on-chart table displays the exact raw value, determined state (Bullish/Bearish), and assigned weight of every indicator actively driving the confluence engine in real-time.
Disclaimer: This script aggregates lagging and leading indicators into a weighted probability model. It is designed to assist with objective decision-making and structural confluence, but it is not a standalone trading strategy. Always apply independent risk management and do not rely on automated signals in isolation. Indicator

VWAP Mean Reversion Scalper with Multi-SD Bands and CVDThe VWAP Mean Reversion Scalper is an execution-focused indicator designed to identify potential price exhaustion points at statistical extremes. It utilizes a Volume Weighted Average Price (VWAP) core with multiple standard deviation bands to define overextended market conditions, confirmed by real-time Volume Delta (CVD).
How It Works (Technical Logic)
This script identifies reversal setups based on the convergence of three primary data points:
Statistical Extremes (VWAP SD Bands): The indicator calculates three standard deviation bands based on the VWAP. These bands serve as dynamic "overbought" and "oversold" zones.
Universal Rejection: A signal is generated when a candle tests a band (or the VWAP mid-line) and closes in the opposite direction (e.g., price touches the upper band and closes as a red candle).
Cumulative Volume Delta (CVD) Confirmation: Using request.security_lower_tf, the script analyzes volume delta from a lower timeframe (e.g., 1-minute). A signal only confirms if the aggressive market orders (buying for longs, selling for shorts) align with the rejection direction.
Volatility Filtering: An optional ATR-based filter ensures that the rejection candle has sufficient range to represent a meaningful shift in momentum.
Unique Signal Filtering
To maintain a clean interface and avoid "signal clusters" during trending periods, the script uses a State-Based Filter:
Neutral Zone Reset: After a signal triggers at the outer bands, the script will not generate another signal in that direction until price returns to the "Neutral Zone" (the area between the SD 1.0 bands).
Scaling Logic: The indicator permits "scaling in" signals if the price moves to a deeper standard deviation level (e.g., from SD 2 to SD 3) before returning to the mean.
Usage & Best Practices
Timeframes: Optimized for intraday scalping (1m, 5m, 15m).
Execution: Ideal targets are the VWAP mid-line (mean) or the opposite SD 1 band.
CVD Setup: For the most accurate delta readings, ensure the "CVD Calculation Timeframe" in settings is set to 1-minute or lower.
Indicator

Indicator

Indicator

Indicator

ADX/ MACD/ 200 EMA Strawberry Signals 🍓 Strawberry Signals 🍓
The Strawberry Signals indicator is a trend-following trading tool designed to help traders identify high-probability market entries by combining three core components:
trend direction (EMA 200), momentum (MACD), and trend strength (ADX) .
Signals are only displayed on confirmed candles to ensure stability and avoid repainting behavior.
📌 Indicator Concept
This indicator focuses on trading in the direction of the dominant trend. Instead of generating frequent signals, it filters out low-quality market conditions and only highlights setups where trend, momentum, and strength are aligned.
The goal is to reduce noise and help traders focus on clearer market structures rather than overtrading in sideways conditions.
📊 Core Components
1. EMA 200 – Trend Filter
The EMA 200 is used as the primary trend direction filter.
- Price above EMA 200 → bullish market structure
- Price below EMA 200 → bearish market structure
This ensures that signals are always aligned with the higher timeframe bias of the market.
2. MACD – Momentum Confirmation
The MACD crossover is used to confirm momentum shifts in the direction of the trend:
- Bullish signal: MACD line crosses above signal line
- Bearish signal: MACD line crosses below signal line
This helps identify moments where momentum supports the trend direction.
3. ADX – Trend Strength Filter
The ADX is used to measure whether the market is strong enough for trend trading.
Only when ADX is above the selected threshold (default: 20) will signals be allowed.
- Low ADX → weak or sideways market (no signals)
- High ADX → strong trend conditions (valid signals)
🟢 Buy Signal Conditions
Price is above the EMA 200
MACD line crosses above the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
🔴 Sell Signal Conditions
Price is below the EMA 200
MACD line crosses below the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
⚙️ Settings Overview
EMA Length: Defines the trend filter (default: 200)
MACD Settings: Controls momentum sensitivity (fast, slow, signal)
ADX Length: Smoothness of trend strength calculation
ADX Threshold: Minimum trend strength required for signals
📉 Market Conditions
This indicator performs best in trending environments where price moves directionally with momentum.
During sideways or low-volatility conditions, fewer signals will appear by design, as weak trends are filtered out.
👤 My Personal Use
This indicator is intentionally designed to produce fewer signals. Entries are only generated at the exact moment of a MACD crossover when all required conditions are aligned. I use it for XAUUSD on the 1M chart but I'm confident for it to work on different instruments.
In my personal trading, I also monitor situations where the ADX rises above the threshold after the MACD crossover. If momentum remains strong and the overall trend structure (EMA direction) is still valid, these scenarios can still offer interesting trade opportunities even if no signal was printed.
For better decision-making, I recommend displaying the MACD and ADX directly on the chart alongside this indicator. This helps to visually confirm momentum development for trading and trend strength beyond the signal itself.
⚠️ Important Notes
This indicator is designed for educational and analytical purposes.
It does not guarantee profitable trades.
Always combine signals with proper risk management and additional confirmation tools and market structure if needed.
🍓 Summary
Strawberry Signals provides a clean and structured approach to trend trading by combining multiple technical indicators into a single signal system.
It is built to reduce noise, filter weak setups, and highlight only high-quality trend-aligned opportunities directly on the chart.
Indicator

ATC Money Flow OscillatorWhat It Is
The ATC Money Flow Oscillator is a volume-weighted buying and selling pressure tool that tells you not just whether money is flowing in or out of an instrument, but how extreme that pressure is relative to recent market history. It is a normalized oscillator — which means its readings are statistically meaningful regardless of the asset, timeframe, or market conditions you apply it to.
Where most retail money flow tools give you a raw reading against a fixed threshold (and those thresholds are always wrong for someone, somewhere, at some point in time), the ATC MFO gives you a Z-score — a measurement of how far current pressure deviates from the rolling statistical baseline for that specific instrument and session. The result is an oscillator that speaks the same language whether you are trading ES futures on a 5-minute chart or GC on a 1-hour chart.
________________________________________
Who It Is Built For
The ATC Money Flow Oscillator is built for traders who want a pressure confirmation tool that does not lie to them at the edges. If you have ever used Chaikin Money Flow, On Balance Volume, or a standard CMF and felt frustrated that the indicator screams "extreme" when conditions are perfectly normal, or gives a flat reading during a genuine momentum surge, this indicator was engineered specifically to solve that problem.
It works well as a standalone directional filter and as a confirmation layer for price action, trend, or breakout strategies. It is particularly useful for traders who want to know whether volume is supporting the move or quietly fading it before they commit to an entry.
________________________________________
Core Concept
The foundation of the ATC MFO is a Chaikin-style money flow calculation. For each bar, it asks a simple question: where did price close within the bar's high-to-low range, and how much volume was behind that close? A bar that closes at the high of its range with heavy volume is strong buying pressure. A bar that closes at the low of its range with heavy volume is strong selling pressure. A bar that closes in the middle, or closes at the high with minimal volume, is ambiguous.
That per-bar measurement is called the Money Flow Multiplier — it produces a signed value between -1 and +1 for every bar, which is then multiplied by volume to create a Money Flow Volume reading. Those per-bar readings are summed over a rolling lookback window (default 10 bars) to build a directional picture of recent pressure, then divided by total volume in the same window to normalize for volume magnitude. The result is the raw Money Flow Ratio — a clean directional reading of where participation-weighted price activity is clustering.
That raw ratio is what most retail tools stop at. The ATC MFO treats it as the starting point.
________________________________________
ATC MFO Upgrades
1. Z-Score Normalization
The raw Money Flow Ratio is run through a rolling Z-score calculation over a configurable normalization window (default 40 bars). This computes the rolling mean and standard deviation of the raw ratio across recent history and expresses the current reading as a number of standard deviations from that average. The result is the Money Flow Z-Score — the main oscillator line you see on the chart.
This single upgrade changes the character of the tool entirely. Instead of asking "is the reading above 0.25?" it asks "is the reading more than one standard deviation above average for this instrument in this session?" That is a meaningfully different and more honest question. The empirical pressure bands (at ±1 sigma and ±2 sigma) replace the guesswork of fixed thresholds with statistically derived extremes.
2. HMA Signal Line
Most money flow tools use an SMA or EMA signal line. The ATC MFO uses a Hull Moving Average (HMA) for signal smoothing. HMA dramatically reduces the lag that makes conventional smoothed signal lines late by design. The signal line updates faster, tracks direction more accurately through transitions, and avoids the "stale signal" problem where the smoothed line is still pointing one way while price has already reversed. The default HMA length is 6 bars, derived from the same optimization sweep as the lookback and normalization window settings.
3. Hysteresis-Stabilized State Engine
The indicator classifies the current pressure environment into five states: Neutral, Elevated Buying, Extreme Buy Pressure, Elevated Selling, and Extreme Sell Pressure. These states are displayed in the HUD and drive the color logic across the chart. Rather than flickering between states every time the Z-score crosses a threshold by a fraction, the state engine applies a configurable hysteresis band. Once you enter a state, you stay in it until pressure falls meaningfully below the threshold — not just one tick below it. This prevents the visual noise that makes most state-classifying indicators unreliable to read in real time.
4. Session Participation Tracker
The indicator maintains a live volume participation ratio: the current bar's volume expressed as a multiple of the session average volume for that day. A reading of 1.0x means volume is exactly in line with the session average. A reading above 1.20x means the current bar is printing above-average participation, which gives additional weight to whatever the pressure reading shows. A reading below 0.80x flags a low-participation bar — useful context when a pressure signal appears but volume is not backing it. This data lives in the HUD and updates every bar within the active session.
________________________________________
Chart Visuals
Oscillator Line
The main oscillator is the Money Flow Z-Score plotted as a continuous line against the zero axis. The line is colored green when pressure is bullish and red when bearish, with the intensity of the color constant across both states. A soft glow layer behind the line (toggleable) reinforces the directional reading without adding clutter.
Zero Line
The zero line is the neutral dividing line between net buying and net selling pressure. Crossings of the zero line are meaningful — they mark the shift from net bullish participation to net bearish, or vice versa — and have dedicated alert conditions.
HMA Signal Line
The blue signal line is the HMA-smoothed version of the Z-score. It acts as a direction filter and a trend reference for the oscillator. When the oscillator is above the signal line and both are rising, pressure alignment is confirmed. When the oscillator crosses below the signal line, it is an early sign of deterioration even if the oscillator itself has not crossed zero yet.
Sigma Bands
Four reference lines mark the ±1 sigma and ±2 sigma levels. The inner bands (dashed) mark elevated pressure territory — statistically significant, but not extreme. The outer bands (solid) mark extreme pressure readings — statistically uncommon and historically associated with either climactic moves or exhaustion.
Zone Fills
Optional background shading between the sigma bands makes the pressure regimes immediately readable at a glance. A subtle green zone fills the space between the +1 and +2 sigma lines. A subtle red zone fills the space between the -1 and -2 sigma lines. A neutral grey zone fills the space between the inner bands. These fills have no impact on calculations — they are purely visual navigation aids.
Pressure Fill
An optional fill between the oscillator line and the zero line provides instant directional context. Green fill above zero, red fill below zero. This is particularly useful when the oscillator is making small movements near the zero line where directional color alone is harder to read quickly.
________________________________________
HUD Breakdown
The HUD renders as a corner table (default position: top right, toggleable to any corner). It provides a live read of the five most important data points from the indicator without requiring you to hover over the chart or consult the data window.
State — The current pressure classification based on the hysteresis-stabilized state engine. Reports one of: Neutral, Elevated Buying, Extreme Buy Pressure, Elevated Selling, or Extreme Sell Pressure. The cell background color is green for bullish states, red for bearish, and muted blue for neutral.
Z-Score — The current Money Flow Z-Score expressed in sigma units to two decimal places. This is the raw number behind the oscillator line. Positive values indicate above-average buying pressure; negative values indicate above-average selling pressure. The cell background reflects the current pressure regime.
Signal — The current direction of the HMA signal line: Rising, Falling, or Flat. This one-word read tells you at a glance whether the smoothed pressure trend is accelerating, decelerating, or transitioning.
Participation — The current bar's volume expressed as a multiple of the session average. Displayed to two decimal places with an "x" suffix (e.g., 1.43x). Green when above 1.20x, red when below 0.80x, neutral otherwise.
Windows — Displays the active lookback and normalization window settings in the format "10 / 40z" so you can immediately see what calculation parameters are in play without opening the settings panel.
________________________________________
Logic Layers
The indicator operates across three stacked logic layers that work together:
Layer 1 — Pressure Generation. Per-bar money flow multiplier × volume, summed over the lookback window and normalized by total volume. This produces the raw directional reading before statistics are applied.
Layer 2 — Statistical Normalization. The raw ratio is run through the rolling Z-score against the normalization window. This converts the raw reading into a statistically scaled value that is instrument-agnostic and session-aware.
Layer 3 — State Classification. The Z-score is classified into one of five pressure states using the hysteresis-stabilized threshold logic. This state drives the HUD display, color outputs, and alert logic.
The session participation tracker runs as a parallel calculation that does not influence the oscillator itself — it is purely a context layer that adds interpretive weight to whatever the main oscillator is showing.
________________________________________
Alerts
The ATC MFO includes four alert conditions. All fire on state transitions or zero-line crosses, not on every bar within a given state. This means you will never get spammed with alerts while an existing condition persists — alerts only fire at the moment something changes.
MFO: Extreme Buying Pressure — Fires when the pressure state transitions into Extreme Buy territory (Z-score crosses above the outer sigma band). This marks a statistically significant acceleration of buying participation.
MFO: Extreme Selling Pressure — Fires when the pressure state transitions into Extreme Sell territory (Z-score crosses below the outer sigma band). This marks a statistically significant acceleration of selling participation.
MFO: Zero-Line Cross Up — Fires when the Z-score crosses above zero — the moment when net buying pressure emerges after a net bearish reading.
MFO: Zero-Line Cross Down — Fires when the Z-score crosses below zero — the moment when net selling pressure emerges after a net bullish reading.
________________________________________
How to Trade With It
The ATC Money Flow Oscillator is not a signal generator. It does not tell you when to buy or sell. It tells you what participation-weighted pressure is doing so you can make better decisions about the trades your other analysis is already identifying. Use it as a confirmation and context layer.
Step 1 — Establish your directional bias. Use your preferred method — price structure, trend analysis, key levels, or market context — to identify the direction you are considering trading. The MFO confirms or contradicts that bias.
Step 2 — Check the Z-score and state. Before entering a trade, look at the HUD State and Z-Score readings. For a long entry, you want to see the state reading Neutral, Elevated Buying, or Extreme Buy Pressure, and the Z-score above zero. For a short entry, the inverse applies. If you are looking for a long and the MFO shows Elevated Selling, consider waiting for pressure to realign.
Step 3 — Check the signal line direction. The HMA signal line direction (shown in the HUD as Rising, Falling, or Flat) tells you whether pressure is accelerating or decelerating. The strongest confirmation is when the oscillator is above zero, the state is bullish, and the signal is rising. The weakest setup is when the oscillator and signal are diverging.
Step 4 — Check participation. Look at the Participation reading in the HUD. A pressure signal with 1.3x or higher participation means volume is actively supporting the move. A pressure signal with 0.7x participation means the move is happening on thin volume — be cautious about the sustainability of that signal.
Step 5 — Use the sigma bands for context. Readings near the outer sigma bands (+2 or -2) indicate extreme conditions. This can mean two things depending on context: either you are seeing climactic momentum that is likely to continue briefly before exhausting, or you are seeing exhaustion that is setting up a reversal. Use price structure to distinguish. In trending conditions, extreme readings in the direction of the trend are continuation signals. In range-bound conditions, extreme readings against key levels are often fading opportunities.
Step 6 — Use the zero-line cross alerts as context shifts. The zero-line cross alerts are useful as early-warning notifications that the character of participation is changing, even before price structure confirms it. A zero-line cross up while price is still above a key support level is a useful heads-up that buyers are reasserting. A zero-line cross down while price is approaching resistance is worth noting.
Step 7 — Do not fight extreme readings. When the MFO is printing Extreme Buy or Extreme Sell Pressure and the signal line is confirming, the path of least resistance is in that direction. The most common mistake traders make with normalized oscillators is fading strong readings too early. A +2 sigma reading does not mean the pressure is about to reverse — it means pressure is statistically extreme, and statistically extreme trends tend to resolve either through continued momentum or a period of neutralization before the next move.
________________________________________
Settings Reference
Core Calculation
• Money Flow Lookback (default 10) — Bars used for the rolling money flow sum. Shorter values make the oscillator more responsive to recent bars; longer values smooth out intrabar noise. The default of 10 was derived from a full optimization sweep on QQQ at 1-minute resolution.
• Z-Score Normalization Window (default 40) — The rolling window used to compute the mean and standard deviation for Z-score scaling. This determines how "recent" the statistical baseline is. 40 bars is the optimized default; increasing this anchors the baseline to a longer history.
• Signal Line HMA Length (default 6) — The HMA smoothing length for the signal line. Shorter values produce a more reactive signal line; longer values produce a smoother one. HMA is used instead of SMA or EMA to minimize lag.
Pressure Bands (Sigma)
• Inner Band (default 1.0 sigma) — The threshold for Elevated Buying and Elevated Selling states. Readings beyond this line are statistically significant relative to the rolling window.
• Outer Band (default 2.0 sigma) — The threshold for Extreme Buy and Extreme Sell states. Readings beyond this line are statistically uncommon.
• State Hysteresis (default 0.10 sigma) — The neutral buffer applied to state transitions. Prevents the HUD state label from flickering when the Z-score is hovering near a threshold.
Session
• Session (default 0930-1600) — The session window used for the participation tracker and session-aware logic.
• Session Timezone (default America/New_York) — The timezone applied to the session definition.
Instruments and Timeframes
The ATC Money Flow Oscillator is validated and recommended for use on the following instruments and timeframes.
Instruments: ES, NQ, CL, GC, SPY, QQQ, major equities, major FX pairs.
Timeframes: 1-minute, 5-minute, 15-minute, 1-hour, 4-hour, Daily.
The indicator functions correctly on any instrument and timeframe that carries volume data. It is not suitable for instruments without volume reporting, such as some spot FX feeds.
Indicator

MACD + RSI + MFI + A/D by Ismael█ OVERVIEW
A 4-in-1 oscillator panel combining MACD, RSI with Bollinger Bands and
custom Buy/Sell signals, Money Flow Index (MFI), and Accumulation/Distribution.
Each module can be toggled on/off independently from a single "Toggle
Indicators" group, so the user can display only what they need instead of
loading four separate scripts.
═══════════════════════════════════════════════════════════════════════
█ ORIGINALITY
This script does not invent new math — it integrates four well-known
built-in indicators into a single pane and adds three conveniences:
- A unified toggle system to show/hide each indicator on demand.
- A custom RSI signal layer based on Bollinger Band breakouts of the
RSI itself, combined with the classic overbought/oversold zones.
- An A/D module that replicates the configuration style of the
MetaTrader 5 implementation (Tick/Real volume option and configurable
horizontal levels).
═══════════════════════════════════════════════════════════════════════
█ WHAT IT INCLUDES
▪ MACD (default: ON)
Standard MACD with configurable fast/slow lengths, signal smoothing,
and choice of SMA or EMA for both the oscillator and signal line.
Includes alerts for histogram polarity changes.
▪ RSI with Bollinger Bands and Buy/Sell signals (default: ON)
Classic RSI with optional smoothing MA (SMA, EMA, WMA, VWMA, SMMA,
or SMA + Bollinger Bands). When "SMA + Bollinger Bands" is selected:
- Buy signal: RSI closes below its lower Bollinger Band AND below 30.
- Sell signal: RSI closes above its upper Bollinger Band AND above 70.
Signals are plotted as arrows and include alert conditions.
▪ MFI (default: OFF)
Standard Money Flow Index with 80/50/20 horizontal levels.
▪ Accumulation/Distribution (default: OFF)
Classic cumulative A/D line. Configurable like the MT5 version:
- Volume mode: Real or Tick (1 per bar, useful for FX).
- 3 user-defined horizontal levels with individual visibility/color.
- Color and line width.
Includes alerts for crossovers against its own SMA(20).
═══════════════════════════════════════════════════════════════════════
█ HOW TO USE
1. Activate from "Toggle Indicators" only the modules you need.
2. RSI Buy/Sell signals are intended as confluence — not standalone
entries. They mark statistically rare conditions (extreme RSI combined
with a Bollinger Band breakout on the RSI) and should be confirmed
with price action, structure, or trend context.
3. MACD histogram polarity alerts can be paired with RSI signals.
4. The A/D line is most useful when watched for divergences against price,
not for its absolute value.
═══════════════════════════════════════════════════════════════════════
█ LIMITATIONS
- The A/D line uses cumulative values that produce very large numbers.
When combined with MACD/RSI/MFI in the same pane, auto-scale will
compress the smaller-range indicators. Workaround: right-click the
A/D plot → "Pin to scale" → assign it to a separate scale.
- "Tick" volume here is approximated as 1 per bar; Pine Script does not
expose the tick-volume data used by MetaTrader 5. For instruments with
reliable real volume, use "Real".
- RSI Buy/Sell signals only fire when the smoothing MA type is set to
"SMA + Bollinger Bands". Other MA types disable the signal layer.
- This is an aggregator/utility script. It does not predict market
direction and is not a complete trading system.
═══════════════════════════════════════════════════════════════════════
█ DISCLAIMER
This script is shared for educational purposes only and is not financial
advice. Indicator signals do not guarantee future results. Always perform
your own analysis and apply proper risk management.
═══════════════════════════════════════════════════════════════════════
█ DESCRIPCIÓN (Español)
Panel de osciladores 4-en-1 que combina MACD, RSI con Bandas de Bollinger
y señales de compra/venta, MFI y Acumulación/Distribución. Cada módulo se
activa o desactiva de forma independiente desde el grupo "Toggle
Indicators".
Incluye:
- MACD estándar con alertas de cambio de polaridad del histograma.
- RSI con MA opcional (SMA, EMA, WMA, VWMA, SMMA o SMA+BB). Cuando
se elige "SMA + Bandas de Bollinger", aparecen señales:
- Compra: RSI por debajo de la banda inferior Y menor a 30.
- Venta: RSI por encima de la banda superior Y mayor a 70.
- MFI estándar con niveles 80/50/20.
- Acumulación/Distribución estilo MT5: volumen Real/Tick, 3 niveles
horizontales configurables, color y grosor ajustables, alertas de
cruce contra su SMA(20).
Las señales del RSI son herramientas de confluencia, no entradas
automáticas. La línea A/D se interpreta principalmente por divergencias
con el precio, no por su valor absoluto. Al activar A/D junto con los
demás osciladores, conviene moverla a una escala separada (clic derecho
sobre la línea → "Fijar a escala" → escala nueva).
Este script tiene fines educativos. No constituye asesoría financiera.
█ HOW TO USE
The RSI Buy/Sell signals (with their attached alerts) are the main
actionable element of this script and can be used to anticipate potential
entries — long on Buy signals, short on Sell signals. They fire under
statistically rare conditions (RSI breaking out of its own Bollinger Band
envelope while also being in extreme oversold/overbought territory),
which often precede a reversion or a meaningful move.
However, these signals should NOT be taken as standalone entries. They
work best as an early-warning system that must be confirmed before
acting on them. Recommended workflow:
1. RSI Buy/Sell signal fires → set alert and prepare the trade idea.
2. Look at the MACD for confirmation:
- For a Buy: histogram should be turning from falling to rising,
or MACD line crossing above Signal.
- For a Sell: histogram turning from rising to falling, or MACD
line crossing below Signal.
3. Check the MFI (if enabled): values pulling back from oversold (<20)
on Buys, or pulling back from overbought (>80) on Sells, add
confluence by confirming a money-flow shift.
4. Check the A/D line for divergences with price:
- Bullish divergence (price makes lower low, A/D makes higher low)
strongly supports a Buy signal.
- Bearish divergence (price makes higher high, A/D makes lower
high) strongly supports a Sell signal.
Divergences on RSI itself against price work the same way and are
one of the most reliable confirmation tools in this panel.
5. Always combine with price-action context: trend direction on higher
timeframes, key support/resistance, and your own risk management.
In short: the RSI signals are designed to ANTICIPATE trades, not to
trigger them automatically. The other modules (MACD, MFI, A/D) and
divergence analysis exist to filter the false positives and validate
the ones worth taking.
═══════════════════════════════════════════════════════════════════════
█ CÓMO USAR (Español)
Las señales de Compra/Venta del RSI (con sus alertas configuradas) son
el elemento principal accionable de este script y pueden usarse para
anticipar entradas — largos en señales de Compra, cortos en señales de
Venta. Se activan en condiciones estadísticamente poco frecuentes
(el RSI rompe su propia envolvente de Bandas de Bollinger mientras
está en zona de sobreventa o sobrecompra extrema), que suelen preceder
una reversión o un movimiento significativo.
Sin embargo, NO deben tomarse como entradas automáticas. Funcionan
mejor como un sistema de alerta temprana que debe confirmarse antes
de operar. Flujo recomendado:
1. Se dispara la señal del RSI → preparar la idea de trade.
2. Confirmar con MACD:
- Compra: histograma pasando de bajista a alcista, o cruce
del MACD por encima de la Signal.
- Venta: histograma pasando de alcista a bajista, o cruce
del MACD por debajo de la Signal.
3. Confirmar con MFI (si está activo): valores saliendo de
sobreventa (<20) en Compras o saliendo de sobrecompra (>80)
en Ventas indican un cambio en el flujo de dinero.
4. Buscar divergencias en la línea A/D contra el precio:
- Divergencia alcista (precio hace mínimo más bajo, A/D hace
mínimo más alto) refuerza una señal de Compra.
- Divergencia bajista (precio hace máximo más alto, A/D hace
máximo más bajo) refuerza una señal de Venta.
Las divergencias del propio RSI contra el precio funcionan igual
y son una de las confirmaciones más fiables de este panel.
5. Siempre combinar con contexto de price action: tendencia en
temporalidades superiores, soportes/resistencias clave y gestión
de riesgo propia.
En resumen: las señales del RSI están diseñadas para ANTICIPAR
trades, no para dispararlos automáticamente. Los otros módulos
(MACD, MFI, A/D) y el análisis de divergencias existen para filtrar
los falsos positivos y validar las entradas que realmente valen
la pena. Indicator
