Future EMA ProjectionAs traders, we constantly find ourselves looking at a chart after a sharp drop or rally, asking questions like:
"If the price just chops sideways at this support level for the next two weeks, when exactly will the EMAs finally flatten out and catch up?"
"If we bounce to the next resistance level, will that be enough to force a bullish crossover on the EMA 20 and 50?"
Standard indicators can't answer this because they only plot historical data. The Future EMA Projection indicator solves this by allowing you to visualize "What-If" scenarios right on your chart. It calculates the complex EMA smoothing math for future, unprinted bars, and plots the exact trajectory of your moving averages based on your price assumptions.
🔑 Key Features
Standard EMA Base: Plots three customizable historical EMAs (defaulting to 10, 20, and 50) as solid lines so you don't need a separate indicator.
Dynamic Future Trajectories: Draws dotted lines extending into the future (the blank space on the right side of your chart) to show exactly where the EMAs are heading.
Two "What-If" Modes:
Last Close (Consolidation Mode): Automatically assumes the price will flatline at the very last traded price. Perfect for seeing how long it takes for EMAs to digest a recent volatile move and flatten out during a ranging market.
Custom Price (Target Mode): Allows you to manually input a hypothetical future price. Perfect for testing breakout or breakdown scenarios to see how a specific price target would warp the moving averages.
Precision Price Labels: Automatically generates small price tags at the very end of the projected lines, giving you the exact numerical value the EMA will hit at the end of the projection period.
💡 How to Use It in Your Trading
Scenario 1: Surviving the Chop (Sideways Markets)
After a steep decline to a support zone, set the Mode to "Last Close". Look at the dotted projection lines to see exactly how many bars (days/hours) it will take for the shorter-term EMAs to flatten out and cross back over the longer-term EMAs if the price just stays flat. This helps you avoid jumping into trades too early while the broader trend is still bleeding out momentum.
Scenario 2: Testing Breakout Targets
If you are eyeing a potential long entry, switch the Mode to "Custom Price" and enter your first take-profit target or the next major resistance level. The projection lines will instantly warp. You can visually verify if hitting that target will actually reverse the broader trend (e.g., causing an EMA 10/20 golden cross), or if it's just a dead-cat bounce within a larger bearish EMA structure.
⚙️ Settings
- EMA 1, 2, 3 Length: Customize your moving average periods (Defaults: 10, 20, 50).
- Bars to Project: How far into the future you want to draw the lines (Default: 60 bars).
- Price Assumption: Toggle between "Last Close" or "Custom Price".
- Custom Price (If Selected): The hypothetical target price for your What-If scenario. Indikator

Trend Alignment Ribbon - Multi Timeframe Moving AveragesTrack trend direction across multiple timeframes — all in one view.
Trend trading works best when the short, medium, and long-term views all agree. This indicator places four moving averages on your chart simultaneously and highlights the moment they fall into full alignment — giving you a simple, visual confirmation that a trend is in control.
──── What You're Looking At ────
Four smooth lines on your chart, each tracking price at a different speed:
MA1 (fastest, default: 8 bars) — reacts quickly to price. The first line to turn when momentum shifts.
MA2 (default: 21 bars) — short-to-intermediate direction. Confirms or challenges what MA1 is saying.
MA3 (default: 50 bars) — the medium-term trend backbone. Widely watched by institutions.
MA4 (slowest, default: 200 bars) — the long-term trend anchor. The most important line on most charts.
──── How to Read It ────
Green background — all four lines are stacked in order, fastest on top. The trend is strongly up. High-confidence environment for long trades.
Red background — all four lines are stacked in reverse order. The trend is strongly down. High-confidence environment for short trades.
No background — the lines are tangled or out of order. The market is ranging or in transition. Reduce risk or wait for clarity.
Triangle up ▲ below a candle — the fast line just crossed above the medium line. Early momentum shift to the upside.
Triangle down ▼ above a candle — the fast line just crossed below the medium line. Early momentum shift to the downside.
──── Multi-Timeframe Mode ────
Each of the four lines can be pinned to a different timeframe , independent of the chart you are on. For example, while viewing a 15-minute chart you can display the 200-bar average as it appears on the daily chart — so the big picture is always visible.
Leave the Timeframe field blank to use the current chart's timeframe (default behaviour).
──── Settings ────
Each moving average has its own settings group (Moving Average 1–4):
Show — toggle each line on or off independently.
Type — choose between four calculation methods:
EMA (Exponential) — reacts faster to recent price. Most commonly used. Default.
SMA (Simple) — a plain average of all bars. Slower to react, widely respected by institutions.
WMA (Weighted) — middle ground, heavier weight on recent bars.
HMA (Hull) — very fast and smooth. Minimises lag while reducing noise.
Length — how many bars are included in the average. Higher number = slower, smoother line.
Timeframe — leave blank for the current chart. Enter 1D for daily, 1W for weekly, 4H for four-hour, etc.
Color — fully customisable per line.
Under Visuals :
Ribbon Fill — fills the space between MA1 and MA4 with a transparent green or red shade. Useful for seeing trend strength at a glance.
Alignment Background — highlights the chart background when all 4 lines agree on direction. On by default.
Cross Signals — places small triangle markers on the chart when MA1 and MA2 cross. On by default.
──── Alerts ────
MA Bull Cross — the fast line crossed above the medium line
MA Bear Cross — the fast line crossed below the medium line
Full Bull Alignment — all 4 lines just entered bullish order for the first time
Full Bear Alignment — all 4 lines just entered bearish order for the first time
──── Tips ────
Set an alert for Full Alignment — these moments often mark the start of the strongest, cleanest trend moves on any instrument.
A cross signal that fires while the alignment background is already lit is a higher-confidence entry than a cross signal in a mixed or choppy environment.
A "tight stack" of closely spaced lines means the trend is young and orderly. Wide spacing with tangled lines means the market is extended or breaking down — not an ideal entry point.
On intraday charts, try pinning MA3 or MA4 to the daily timeframe. This keeps your long-term bias anchored without switching charts.
All timeframe calculations use confirmed (closed) bars only — there is no repainting.
Indikator

Indikator

Strategie

Indikator

Market Bias MonitorMarket Bias Monitor (MTF EMA Consensus Bias)
The Market Bias Monitor is a multi-timeframe EMA-based bias indicator that helps traders quickly assess whether market structure is aligned bullish , bearish , or mixed across multiple timeframes.
It uses an EMA structure of 8 / 21 / 50 across 10 timeframes , then aggregates those results into a single consensus bias signal. This helps reduce subjective chart reading and supports a more systematic top-down workflow.
How It Works
For each monitored timeframe, the script checks whether price and EMAs are aligned in a bullish or bearish structure.
Bullish condition
Price is above EMA 21
EMA 8 > EMA 21
EMA 21 > EMA 50
Bearish condition
Price is below EMA 21
EMA 8 < EMA 21
EMA 21 < EMA 50
If neither condition is fully met, that timeframe is treated as neutral.
The script then counts how many timeframes are bullish vs bearish. When the number of aligned timeframes reaches the user-defined minimum threshold (default: 5 ), it displays an overall bias using a background highlight.
Bullish consensus -> Green background
Bearish consensus -> Red background
Monitored Timeframes
1W
1D
8H
6H
4H
3H
2H
1H
30M
15M
Key Features
Multi-timeframe bias engine ( 10 timeframes )
EMA consensus logic using 8 / 21 / 50
User-defined consensus threshold
Background bias highlight
Optional EMA overlay
Custom EMA colors and widths
Contrarian mode (reversed bias coloring)
Per-timeframe status table
Table/text color customization
Typical Use Cases
Directional filter (prefer longs in bullish consensus, shorts in bearish consensus)
MTF confirmation for lower-timeframe setups
Trend strength assessment based on timeframe agreement
Bias shift monitoring via consensus/table changes
Inputs
Minimum Timeframes for Consensus (default: `5`)
Show EMAs (toggle)
EMA Colors
EMA Widths
Contrarian Mode
Table / Text color customization
Notes
This indicator is designed as a bias and confirmation tool , not a standalone trading system. It works best when combined with price action, market structure, volume, and risk management.
Disclaimer
This script is for educational and analytical purposes only . It does not provide financial advice. Always use proper risk management. Indikator

Indikator

Indikator

Ang Multi EMA with labels (Any timeframe)功能
这个脚本是一个多周期指数移动平均线(EMA)指标,专为 TradingView 设计,可在任意图表周期上同时显示多达 8 条不同周期和时间框架的 EMA 线,并在图表右侧自动生成带有价格标签的标注。它的核心功能包括:
支持自定义每条 EMA 的周期、时间框架(如 5 分钟、1 小时、日线等)和颜色。
当未指定时间框架时,直接计算当前图表周期的 EMA,与原生 EMA 指标完全对齐。
当指定跨周期时,调用对应时间框架的 EMA 数据,并保持与原生指标一致的计算逻辑。
自动生成清晰的标签,显示 EMA 的周期、时间框架和当前价格,便于快速识别。
Function:
This script is a multi-timeframe Exponential Moving Average (EMA) indicator designed for TradingView. It can display up to 8 EMA lines with different periods and timeframes on any chart, and automatically generate labeled annotations on the right side of the chart showing the current price. Its core features include:
Customizable period, timeframe (e.g., 5min, 1H, daily), and color for each EMA line.
When no timeframe is specified, it calculates the EMA for the current chart period, perfectly aligning with the native EMA indicator.
When a cross-timeframe is specified, it fetches EMA data from the corresponding timeframe while maintaining calculation logic consistent with native indicators.
Automatically generates clear labels showing the EMA period, timeframe, and current price for quick identification.
优势
精准对齐:通过统一计算逻辑,确保在当前周期(如 5 分钟)上的 EMA 与 TradingView 原生 EMA 指标完全一致,消除数值偏差。
多周期灵活配置:支持同时监控多达 8 条 EMA,可自由组合不同时间框架(如 5 分钟 EMA20 + 1 小时 EMA50),满足多周期共振分析需求。
直观可视化:自动生成的右侧标签清晰标注每条 EMA 的关键信息,无需频繁切换指标设置或查看数据窗口。
无未来函数风险:默认使用实时数据计算,避免了因使用未来数据导致的指标重绘问题,信号更可靠。
高度可定制:用户可自由调整 EMA 的颜色、线宽、标签距离等参数,打造符合个人交易风格的界面。
Pros
Precise Alignment: By unifying the calculation logic, it ensures that the EMA on the current timeframe (e.g., 5min) is perfectly aligned with TradingView's native EMA indicator, eliminating numerical discrepancies.
Flexible Multi-Timeframe Configuration: Supports monitoring up to 8 EMAs simultaneously, allowing free combinations of different timeframes (e.g., 5min EMA20 + 1H EMA50) to meet multi-timeframe confluence analysis needs.
Intuitive Visualization: Automatically generated labels on the right clearly display key information for each EMA, eliminating the need to frequently switch indicator settings or check data windows.
No Repainting Risk: Uses real-time data by default, avoiding repainting issues caused by lookahead data, resulting in more reliable signals.
Highly Customizable: Users can freely adjust parameters such as EMA color, line width, and label distance to create an interface tailored to their personal trading style. Indikator

High Volatility EMA Extension Bands
An EMA-based trend indicator with extension bands and statistical tracking for higher-volatility assets.
What it shows:
8 EMA (yellow) and 34 EMA (white) lines
Three extension bands at 10%, 25%, and 35% above and below the 34 EMA
Color-coded zones: green (10%), amber (25%), red (35%)
Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA
Settings:
Adjustable EMA lengths (default: 8 and 34)
Customizable extension percentages (default: 10%, 25%, 35%)
Toggle extension bands on/off
Toggle statistics table on/off
Indikator

Low Volatility EMA Extension Bands
An EMA-based trend indicator with tight extension bands and statistical tracking for lower-volatility assets.
What it shows:
8 EMA (yellow) and 34 EMA (white) lines
Three extension bands at 10%, 15%, and 20% above and below the 34 EMA
Color-coded zones: green (10%), amber (15%), red (20%)
Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA
Settings:
Adjustable EMA lengths (default: 8 and 34)
Customizable extension percentages (default: 10%, 15%, 20%)
Toggle extension bands on/off
Toggle statistics table on/off
Indikator

Indikator

Indikator

Indikator

Custom EMA SMA Ribbon
Indicator name and purpose
Custom EMA SMA Ribbon is a six-layer moving average ribbon built to show trend alignment, momentum structure, and signal readiness in a single glance. Rather than relying on one crossover, it renders a stacked relationship between fast, medium, and slow averages so the trend context is visible without extra indicators. The purpose is to make trend direction, trend stability, and momentum alignment readable at a glance, while also providing filtered entry signals and a visual status matrix that summarizes the current bias against each moving average.
Long set up
Short set up
Mixed scenario
What it does
Each moving average layer is colored based on whether it is above or below the next slower layer. When the ribbon is stacked with fast lines above slow lines, the structure is bullish. When fast lines fall below the slower lines, the structure is bearish. This layered coloring reveals whether the trend is cleanly aligned or mixed. The script also highlights full alignment, where all fast layers sit above or below the slowest line, which is usually the most stable trend condition. In addition to the visual ribbon, it generates trend-filtered signals: a bullish signal appears only when the slow ribbon is aligned bullish and MA1 crosses above MA2, while a bearish signal appears only when the slow ribbon is aligned bearish and MA1 crosses below MA2. A signal status matrix in the chart corner shows whether price is above or below each moving average, giving a compact snapshot of current bias without scanning every line.
How it works in detail
The indicator calculates six moving averages from a single price source. You can use EMA for a more responsive ribbon or SMA for a smoother ribbon that reduces noise. Each line’s color is determined by its position relative to the next slower line, building a visible map of internal trend health. The slowest line acts as the anchor. If all faster lines remain above it, the ribbon is fully bullish. If all faster lines remain below it, the ribbon is fully bearish. The trend-filtered signals add a momentum layer: they require a clean macro stack first, then confirm entry with the fast crossover of MA1 and MA2. Signals are plotted as tiny circles, so they do not clutter the chart. Bullish signals plot at the bottom in green, bearish signals plot at the top in red. Optional background shading emphasizes the full alignment zones, and all signal states can be confirmed on bar close with the non-repainting toggle. The signal status matrix is updated on the last bar and labels each MA as LONG or SHORT depending on whether the current close is above or below that line, allowing quick context checks during live monitoring.
Default settings
The default lengths 10, 20, 50, 100, 150, and 200 create a balanced mix of short-term, mid-term, and long-term context. The 10 and 20 lengths capture fast swings and early shifts. The 50 and 100 lengths reflect the core trend structure. The 150 and 200 lengths anchor the ribbon to the broader market bias. This combination makes it easy to see if short-term momentum is moving with the larger trend or if it is fighting it. EMA is selected by default to keep the ribbon responsive enough for intraday and swing traders, but you can switch to SMA for smoother, slower trend mapping. With the default configuration, the signal logic is naturally conservative because the faster cross must occur only after MA3, MA4, MA5, and MA6 are stacked in the same direction, filtering many counter-trend crosses. The matrix defaults to the bottom right so it stays visible without covering price action, but you can move it to any corner or center position.
How to use it on charts
Use the ribbon as a trend filter first. When most lines are green and stacked in order, the trend is bullish and pullbacks can be treated as potential continuation zones. When most lines are red and stacked downward, rallies can be treated as corrective unless the stack flips. The strongest trend environments occur when the ribbon is fully aligned above or below the slowest line. If the ribbon becomes mixed with alternating colors, that signals transition or consolidation and signals should be treated more cautiously. In those mixed states, ignore the MA1/MA2 crosses because the macro alignment filter will not allow signals, which is intentional to reduce noise. The matrix helps confirm whether price is holding above multiple layers during a bullish trend or below multiple layers during a bearish trend, which can support trade management decisions like scaling in or tightening stops.
Signal logic explained
Bullish signal requirements: MA3 above MA4, MA4 above MA5, and MA5 above MA6 must all be true, confirming a clean bullish macro stack. Once that macro alignment exists, a bullish signal is generated when MA1 crosses above MA2. This is the earliest momentum entry that still respects the larger trend. Bearish signal requirements: MA3 below MA4, MA4 below MA5, and MA5 below MA6 must all be true. Once that macro alignment exists, a bearish signal is generated when MA1 crosses below MA2. This ensures the momentum entry is taken only in the direction of the larger ribbon stack. Signals appear as tiny circles to keep the chart clean: white at the bottom for bullish signals, black at the top for bearish signals. The matrix adds a second layer of confirmation by showing whether the close remains above each MA during a bullish signal or below each MA during a bearish signal.
Practical usage examples
Trend continuation example: price rises, the ribbon is fully bullish, and fast lines stay above the slowest line during pullbacks. When MA1 crosses back above MA2 after a shallow pullback, the green circle appears at the bottom, indicating a momentum continuation aligned with the macro structure. If the matrix also shows LONG across most rows, it confirms that price remains above the key layers. Trend reversal example: the ribbon compresses, fast lines cross down, and the full alignment flips bearish after several mixed states. Once MA3 to MA6 are stacked bearish, the red top circle appears when MA1 crosses below MA2, signaling the first momentum entry in the new trend direction. If the matrix shifts to SHORT across multiple rows, it confirms the shift in control.
All Long signals on matrix
Mixed signals on matrix
How the components work together
The layered coloring shows immediate, mid, and macro alignment in one view. The full alignment state acts as a high confidence filter for trend bias. Optional background shading gives a quick visual signal of those high confidence zones. The trend-filtered MA1/MA2 cross signals provide a concise momentum trigger that only fires when the broader ribbon is aligned. The signal status matrix summarizes price position versus each MA, helping traders quickly gauge whether momentum entries are supported by broader structure. Together these components provide a complete trend map, entry framework, and state dashboard without overloading the chart.
What makes this script original
This ribbon is not a simple fast slow crossover. Each layer is colored relative to its adjacent layer, which exposes the internal order of the ribbon and the health of the trend rather than only the outer edges. The macro alignment filter combined with a fast crossover creates a structured momentum signal that is stricter than most ribbons, helping avoid counter trend entries. The added status matrix provides a compact decision aid that shows whether price is above or below each layer in real time, which most ribbons do not include. The non-repainting toggle ensures the behavior is consistent between historical and live data. The indicator focuses on structural clarity and disciplined signals rather than generic crossover spam.
Markets, timeframes, and trading styles
This indicator is suitable for any liquid market including Forex, Crypto, Stocks, Commodities, and Indices. For scalping on 1m to 5m charts, keep lengths shorter or use EMA to maintain responsiveness, and focus on quick momentum continuation after macro alignment while using the matrix to confirm price remains above the faster layers. For day trading on 5m to 1H charts, the default lengths provide a balanced view of trend and pullback structure. For swing trading on 1H to daily charts, the default lengths remain effective and reduce noise. For position trading or investing on weekly charts, consider increasing all lengths proportionally to match the longer holding horizon and only take signals that align with the macro stack and matrix bias.
Settings guidance
Shorter lengths create faster signals but more noise; longer lengths create smoother signals but more lag. EMA reacts faster and suits active styles, while SMA smooths the ribbon for broader trend interpretation. Line styles and thickness controls let you emphasize the layers you care about most. Background shading is best kept subtle to preserve chart readability and should be used primarily to highlight full alignment states. Signal markers can be toggled off if you want a purely visual ribbon without entries. The matrix position can be moved to any corner or center area of the chart to avoid overlapping price action or other annotations.
Alerts
The script includes alerts for full bullish alignment, full bearish alignment, fast crosses between MA1 and MA2, and the trend-filtered bullish and bearish cross signals. All alerts respect the non-repainting toggle, so they fire on confirmed bars only when that option is enabled. Messages include symbol, timeframe, and price placeholders for automation or logging.
Non-repainting behavior
When non-repainting mode is enabled, all signal conditions and background states are confirmed on closed bars. This avoids signals appearing and disappearing mid bar and ensures live behavior mirrors historical behavior. Disabling the toggle makes the ribbon update in real time but signals should be treated as provisional until the bar closes.
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice. Always test settings on your chosen market and timeframe, use risk management, and confirm signals with additional context. No indicator is perfect; use this ribbon as one component of a broader trading plan.
Indikator

Eight Moving Average Cross with Macro DivergencesCredits and acknowledgment
The percentage-based moving average difference concept that powers the core oscillator in this script was inspired by the open-source "MA difference" indicator created by @cereallarceny
I am grateful for that foundation and have expanded it into an eight-layer system with cascade alignment logic, macro divergence detection, additional filters, a non-repainting framework, and a publication-ready alert suite. This credit appears first to clarify lineage, and the rest of the description focuses on the specific additions and behavioral logic in this version.
Indicator name and purpose
Eight Moving Average Cross with Macro Divergences is a multi-layer trend alignment and macro reversal map. It converts eight moving averages into a percentage-difference oscillator so you can read how far each layer of the trend structure is positioned relative to a base reference. The script then adds two complementary decision layers: a Cascade signal to detect synchronized momentum shifts across the trend stack, and a Macro Divergence map that highlights early warning signs of trend exhaustion or trend continuation.
What it does
You receive a clean oscillator pane that shows when short-term momentum aligns with the long-term structure, and when the price action is losing strength at meaningful pivots. The Cascade layer provides a filtered trigger for momentum shifts, while the divergence layer provides a higher-timeframe context for reversals or continuation. The result is an indicator that can be used as a standalone oscillator for structure analysis, or as a confirmation layer in a broader trading plan. If you already use moving averages in your workflow, this script turns them into an objective percentage-based structure map that is easier to compare across markets and timeframes.
How it works in detail
The engine calculates the percentage distance between a base moving average and seven additional moving averages. Every layer expresses whether it is above or below the base, and by how much. These percentage differences are plotted and can be filled against the zero line to visualize bullish and bearish structure. The Cascade logic looks for a cross of the zero line from the short, medium, or long layer, but only allows a signal when the extra long-term layers are already aligned in the same direction. This ensures that a short-term shift is supported by the broader trend stack instead of being a simple noise move.
The Macro Divergence module is built from confirmed pivot swings. It uses a long-term reference, defined by the long moving average, to find price pivots and compares those pivots with a smoothed oscillator derived from the extra long-term averages. Classic divergences are detected when price makes a higher high while the oscillator makes a lower high, or when price makes a lower low while the oscillator makes a higher low. Hidden divergences are detected when price retains trend structure but the oscillator counter-swings, often signaling trend continuation. To reduce random signals, the algorithm enforces a minimum spacing between pivots and a minimum amplitude for divergence strength. This makes the divergence layer a macro view rather than a noisy micro-signal engine.
How to use it
Use the zero line as the structural boundary. When the short, medium, and long layers move above zero, the short-term structure is bullish. When they move below zero, the short-term structure is bearish. Cascade signals are intentionally strict: they appear only when a base layer crosses zero and all extra long-term layers are aligned. This is a momentum confirmation event rather than a prediction. Divergences should be interpreted as early warnings: a classic bearish divergence suggests that a rally is losing strength at a macro high; a classic bullish divergence suggests accumulation at a macro low. Hidden divergences help you stay with the dominant trend when a temporary retracement appears.
Practical examples
Example for a bullish setup: The short or medium layer crosses above zero, all extra layers are already above zero, and a Cascade Buy highlight appears. This indicates a synchronized bullish structure across short and long horizons. If a hidden bullish divergence appears during a pullback while the extra layers remain positive, it supports the continuation case and provides a structure-based reason to hold the position rather than exit too early.
Example for a bearish setup: The short or medium layer crosses below zero, extra layers are already negative, and a Cascade Sell highlight appears. If a classic bearish divergence appears near a price high, it warns that the bullish structure is weakening and that risk should be reduced.
How the components work together
The Cascade layer acts as a strict trend-alignment filter. The Divergence layer provides macro context and early warnings. Together, they allow you to trade momentum in the direction of the dominant structure while also identifying areas where the structure is at risk of reversal. The oscillator visuals let you see when the trend stack is compressing or expanding, which adds additional context beyond simple cross signals. The percentage-difference approach also makes it easier to compare trend strength across different instruments, because the values scale relative to the base average instead of absolute price.
What makes this script original
This is not a simple moving-average mashup. The script transforms eight averages into a percent-difference oscillator, then uses a layered alignment system to validate momentum shifts and a pivot-based divergence engine to detect macro-level structure shifts. The combination of these two modules produces information that you do not get from a single MA crossover or a standard oscillator divergence. The multi-layer structure, amplitude filtering, pivot spacing, non-repainting framework, and alert language are original additions and are central to the script’s usefulness.
Markets and timeframes
The script is designed for any liquid market, including Forex, Crypto, Stocks, Commodities, and Indices. For intraday use, 15m to 4H timeframes give stable Cascade signals and readable divergences. On daily and weekly charts, divergences are fewer but carry higher significance. For scalping on 1m to 5m charts, reduce moving average lengths and pivot spacing to maintain responsiveness and keep the divergence layer from lagging too far behind. For day trading on 5m to 1H, the defaults work well and provide a balanced signal frequency. For swing trading on 1H to daily charts, consider increasing pivot spacing and smoothing to emphasize macro swings. For longer-term investing on weekly to monthly charts, increase the long and extra MA lengths to match the broader cycle.
Settings guidance
Base Length controls the anchor average used for all percentage differences. Short, Medium, and Long define the base cross structure and provide the momentum layer. Extra MA 1-4 are the long-term alignment stack for Cascade and the core of the divergence oscillator. Pivot lookback left and right define how far the script looks to confirm a swing; higher values mean fewer but stronger divergences. Minimum bars between pivots is a noise filter that avoids consecutive pivots. Oscillator smoothing reduces erratic swings and sharpens macro structure. Minimum divergence amplitude filters out weak divergence signals.
Tips for tuning
If the oscillator feels too reactive, increase the base length and smoothing to reduce noise. If Cascade signals are too rare, reduce the extra MA lengths or increase the base layer responsiveness. If divergences are too frequent, raise the minimum amplitude or increase the bars-between-pivots setting. If divergences are too slow, reduce smoothing and pivot length, but expect more false positives. These changes should be tested per symbol, because volatility and trading session behavior can differ significantly between markets.
Alerts
The alert system is fully integrated with the non-repainting framework. Cascade Buy and Cascade Sell alerts trigger only after confirmed bar close when the Cascade conditions are met. Divergence alerts trigger only after confirmed pivot formation, so they do not move once printed. Alert messages include symbol, timeframe, and price to support automation or manual monitoring. This makes the alerts suitable for discretionary traders and for automated alert-to-webhook workflows.
Non-repainting behavior
This script includes a dedicated non-repainting toggle. When enabled, all signals, drawings, and alerts are confirmed on closed bars. This means a signal cannot appear and then disappear. The trade-off is a small delay in signaling, but it ensures historical and live behavior match, which is critical for honest backtesting and reliable alerts. When disabled, the script remains visually responsive for exploration, but users should treat signals as provisional until the bar closes.
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice. No indicator is perfect. Always use risk management, validate signals with additional context, and test settings on your chosen market and timeframe before trading with real funds.
Indikator

Log Return Price Change Tanh OscillatorPrice Acceleration Oscillator (Normalized) — Detailed Description
Price Acceleration Oscillator (PAO) is a normalized momentum–acceleration indicator designed to measure how fast price is speeding up or slowing down, rather than simply whether it is going up or down.
Unlike traditional momentum oscillators that react mainly to price direction, PAO focuses on changes in momentum dynamics, making it especially useful for identifying early acceleration, deceleration, and momentum exhaustion phases.
Core Concept
PAO decomposes price movement into two components:
Velocity – the smoothed rate of price change
Acceleration – the change in velocity (momentum increase or decrease)
These components are statistically normalized and blended into a bounded oscillator, allowing consistent interpretation across different assets, timeframes, and volatility regimes.
Calculation Logic (High-Level)
Log Return (Scale-Invariant)
Uses N-bar logarithmic returns instead of raw price changes
Ensures consistency across instruments with different price levels
Velocity
Exponential moving average of log returns
Represents smoothed price speed
Acceleration
First difference of velocity
Measures whether momentum is increasing or fading
Statistical Normalization
Velocity and acceleration are independently normalized using rolling standard deviation
Converts both into dimensionless z-score–like measures
Weighted Blending
User-defined weighting between velocity and acceleration
Allows emphasizing trend persistence or momentum change
Nonlinear Compression (tanh)
Hyperbolic tangent transformation bounds the oscillator to ±100
Prevents extreme spikes while preserving structure
Dead Zone Filtering
Small values near zero are suppressed
Reduces noise and visual clutter in low-momentum conditions
Oscillator Interpretation
Above 0 → Bullish acceleration
Below 0 → Bearish acceleration
Key Zones
±25 → Early acceleration / deceleration
±50 → Strong momentum expansion
±80 → Extreme acceleration (potential exhaustion zones)
The oscillator measures momentum intensity, not trend direction alone.
Signal Line & Histogram
A smoothed EMA signal line is included for:
Momentum confirmation
Acceleration / deceleration transitions
Histogram shows the spread between oscillator and signal, highlighting momentum shifts and convergence/divergence behavior.
Background Regime Coloring
Optional background shading reflects acceleration strength:
Light colors → weak / early momentum
Darker colors → strong or extreme acceleration
This provides fast visual context without relying on signals.
Live Statistics Dashboard
The built-in table displays:
Current market state (Bullish / Bearish)
Momentum strength classification
Oscillator value and intensity
Signal spread and momentum bias
Return measurement context
Designed for decision support, not automated trade execution.
Alerts
Optional alerts are available for:
Zero-line acceleration shifts
Strong acceleration thresholds
Oscillator / signal crossings
Alerts reflect momentum state changes, not buy/sell instructions.
Intended Use
PAO is best used to:
Detect early momentum expansion or loss
Filter low-quality trades during choppy conditions
Complement trend-following or mean-reversion systems
Analyze market regime behavior rather than price direction alone
This indicator is not a standalone trading system and should be used in conjunction with broader market context, risk management, and confirmation tools. Indikator

Dynamic Sigmoid ATR-Normalized EMA Distance OscillatorDynamic Sigmoid ATR-Normalized EMA Distance Oscillator
Overview
This indicator is built to evaluate trend strength and trend sustainability, not to prioritize mean-reversion calls.
It measures directional pressure relative to a long-term EMA, scales that pressure by current volatility, and maps the result into a stable 0-100 oscillator using a sigmoid transform.
The key advantage is dynamic adaptation: center and regime bands are not static references only, they adjust to evolving oscillator behavior.
This helps separate healthy trend continuation from weak, noisy movement.
Mathematical Construction (No Code Description)
1) Trend baseline:
A long-horizon exponential moving average defines structural direction.
2) Signed distance:
Distance = Price - EMA
Positive values imply price is structurally above baseline; negative values imply below-baseline pressure.
3) Volatility normalization:
Normalized Distance = Distance / ATR
This makes the signal scale-aware across different volatility environments.
4) Nonlinear compression:
Sigmoid(x) = 1 / (1 + e^(-k*x))
The multiplier k controls response sharpness.
The output is then scaled to 0-100.
5) Dynamic center:
Center = EMA of oscillator values (adaptive midpoint).
Optional fixed midpoint mode is available for a classic 50-line reference.
6) Dynamic regime bands:
Upper Band = Center + (StdDev of oscillator * multiplier)
Lower Band = Center - (StdDev of oscillator * multiplier)
These bands expand/contract with oscillator volatility, making the framework regime-aware.
How to Read It (Trend-Focused)
- Oscillator above dynamic center: bullish pressure dominates current regime.
- Oscillator below dynamic center: bearish pressure dominates current regime.
- Persistent distance from center: trend continuation probability is generally stronger.
- Oscillator flattening back toward center: trend sustainability may be weakening.
Long and Short Signal Framework
Long setup concept:
1) Oscillator crosses above dynamic center.
2) Oscillator remains above center for multiple bars (persistence confirmation).
3) Pullbacks that hold above center and re-expand upward can be treated as continuation entries.
Short setup concept:
1) Oscillator crosses below dynamic center.
2) Oscillator remains below center for multiple bars.
3) Bounces that fail near center and rotate down can be treated as continuation entries.
Strength confirmation:
- Rising histogram above zero supports long continuation quality.
- Falling histogram below zero supports short continuation quality.
Example Use Cases (Educational)
Example A - Long trend continuation:
- Market transitions from neutral to bullish as oscillator crosses and holds above center.
- Dynamic upper band begins rising, indicating expanding bullish regime capacity.
- Dips in oscillator that stay above center suggest trend remains structurally intact.
Example B - Short trend continuation:
- Oscillator breaks below center and stays suppressed under it.
- Lower band trends down while histogram remains negative.
- Failed recoveries toward center often mark lower-risk continuation timing.
Example C - Potential trend fatigue:
- Price makes a new directional push, but oscillator fails to sustain distance from center.
- Histogram contracts progressively.
- This can indicate weakening impulse and the need for tighter risk control.
Why Dynamic Components Matter
- A fixed 50-level alone can be too rigid when regime characteristics shift.
- Dynamic center adapts to the oscillator's local equilibrium.
- Dynamic bands adapt to oscillator variance, helping contextualize what is truly "extended" in current conditions.
Inputs (Configurable Parameters)
- EMA Length: structural trend anchor sensitivity.
- ATR Length: volatility normalization depth.
- Sigmoid Multiplier: nonlinear response intensity.
- Use Dynamic Center: adaptive center or fixed 50 reference.
- Center Length: smoothness of adaptive center behavior.
- Band Length: lookback horizon for oscillator variance.
- Band Stdev Multiplier: adaptive band width.
- Visual toggles: gradient and table display options.
Risk and Implementation Notes
- This is an analytical framework, not a guaranteed signal engine.
- Choppy markets can still produce false transitions.
- Parameter calibration should be done per symbol and timeframe with independent testing.
- Position sizing, stop logic, and risk limits remain essential.
Publishing and Compliance Notes
- Educational and analytical content only; not financial advice.
- No guaranteed returns, no performance promises, no misleading language.
- Real-world outcomes vary by market conditions, execution, and risk management.
Indikator

Multi Timeframe Scalper StructureWhat It Does
This indicator generates trend-filtered scalping entries by requiring three independent layers of confirmation before any signal appears. A higher-timeframe trend filter sets the allowed direction. Two separate EMA structure zones on the micro timeframe must both confirm momentum alignment. Only when all three agree does an entry dot print on the chart.
It also includes a real-time signal matrix table that shows which conditions are currently met, an on-chart TP/SL line system for quick risk-reward visualization, and configurable alerts.
How It Works
The indicator operates on two timeframe layers:
Macro layer — A moving average (selectable: EMA, SMA, WMA, or VWMA) is calculated on a higher timeframe you choose (default: 4H). If the closing price on that timeframe is above the MA, the macro trend is bullish. If below, bearish. This acts as a directional gate — no signal can fire against it. The chart background tints green or red to reflect this bias.
Micro layer — Two pairs of EMAs run on the chart timeframe (or a custom micro timeframe), each forming a colored filled zone:
Structure 2 (default periods: 16 and 30) — the wider zone. When its fast EMA is above its slow EMA, the zone fills green, confirming bullish intermediate momentum. Below fills red.
Structure 1 (default periods: 8 and 16) — the tighter zone, used for precise entry timing. A crossover of its fast EMA above the slow EMA is the trigger event for a long entry. A crossunder triggers a short entry.
Entry conditions:
A long entry dot appears when:
The macro layer is bullish (price above the higher-TF MA)
Structure 2 is bullish (fast above slow)
Structure 1 crosses bullish (fast crosses above slow)
A short entry dot appears under the mirror conditions — macro bearish, both structures bearish, Structure 1 crosses down.
Early reversal detection (optional) — When enabled, the indicator can also trigger a signal when Structure 2 flips from bearish to bullish (or vice versa), allowing entry before Structure 1 has crossed, as long as the macro confirms. This captures momentum shifts earlier.
Non-repainting — All higher-timeframe data uses lookahead_off. The "Wait for Candle Close" option (on by default) ensures signals only appear after the candle is fully confirmed.
How the Components Interact
The macro layer decides which direction you are allowed to trade — it is the filter. Structure 2 confirms that intermediate momentum on the chart timeframe has already shifted in that same direction — it is the confirmation. Structure 1 provides the exact timing — its crossover is the trigger that places the entry dot. Each layer serves a distinct purpose: direction, confirmation, and timing. A signal must pass through all three before it appears, which is what reduces noise compared to a single crossover system.
When early reversal detection is active, Structure 2 can also serve as an alternative trigger (its color flip), but only while the macro still confirms. This creates two possible trigger paths under the same directional filter.
How to Use It
Set your macro timeframe meaningfully above your chart timeframe. If you scalp on the 5-minute chart, a 1-hour or 4-hour macro works well. On the 1-minute, try 15 minutes or 1 hour.
The background color tells you the macro bias instantly — green for bullish, red for bearish.
Watch the two filled zones on your chart. When both turn green (or both red) and align with the background color, conditions are building toward a signal.
Entry dots appear at the bottom of the chart for longs (green) and at the top for shorts (red).
The signal matrix table (movable to any corner) shows real-time status of each layer: Macro Trend, Structure 2, Structure 1, and the combined result — LONG, SHORT, or WAIT.
Use the TP/SL tool to project take-profit and stop-loss lines on the chart. Set the direction (Long or Short), optionally enter a manual entry price, and configure your percentages. Up to two partial TP levels can be displayed alongside the main TP.
Set alerts using the built-in alert conditions ("LONG Signal" or "SHORT Signal") to be notified when a confirmed entry fires.
Key Features
Three-layer hierarchical filtering architecture: Each layer has a distinct role — directional gating (macro), momentum confirmation (Structure 2), and entry timing (Structure 1) — and all three must agree simultaneously. This multi-layer approach reduces noise compared to single crossover systems.
Dual EMA structure zones: Two independent pairs of EMAs operating at different speeds provide both intermediate momentum confirmation and precise entry timing under a separate higher-timeframe umbrella.
Early reversal detection: Optional second trigger path that reads when the wider Structure 2 zone changes polarity, allowing entries at the point where intermediate momentum shifts.
Real-time signal matrix: Dashboard view showing which conditions are satisfied in real time, turning the indicator into a structured workflow rather than just a dot generator.
Integrated TP/SL system: On-chart trade management with optional partial targets keeps risk management visible without needing a separate tool.
Non-repainting design: All signals are confirmed and use proper lookahead settings to ensure historical accuracy matches real-time behavior.
Suitability
Markets: Any liquid market — forex pairs, crypto, stock indices, commodities, equities.
Timeframes: Designed for lower chart timeframes (1m, 3m, 5m, 15m) with the macro set higher (1H, 4H). Can also be adapted for intraday swing setups using 15m–1H charts with a daily macro.
Trading style: Trend-following momentum scalping — taking quick entries in the direction of the dominant trend when short-term momentum confirms the higher-timeframe bias. Entries target short directional bursts within established trends, not reversals or range-bound conditions. The built-in candle-close confirmation and the three-layer filter are designed for disciplined, fast-execution scalping where you enter with momentum and exit at predefined percentage targets.
Disclaimer
This indicator is a technical analysis tool, not financial advice. It does not guarantee profits and does not predict future price movements. No indicator can eliminate risk. Past behavior of signals does not ensure future results. Always use proper risk management and assess your own financial situation before entering any trade.
Indikator

Indikator

Indikator

Indikator

Indikator
