OPEN-SOURCE SCRIPT
Edo Multi Stoch

Edo Multi Stoch is a four-layer stochastic system that reads market momentum across multiple time horizons simultaneously — from macro structural bias down to fast entry timing — all within a single panel.
Instead of comparing %K against a %D signal line derived from the same calculation, Edo Multi Stoch replaces individual signal lines with a hierarchy of four periods where each slower layer acts as the real context for the faster one. Every cross between layers carries genuine structural meaning because it connects different time horizons, not derivatives of the same input. The system is visually cleaner, structurally more informative, and built around a single principle: understand the context before looking for the signal.

THE FOUR LAYERS
The system uses four stochastic periods with distinct roles. Default values are 89, 50, 14 and 5 — all fully configurable. If any period is changed, panel labels and cross log update automatically.
🔵 K89 — Dark Blue — Macro Context
The slowest and structurally heaviest layer. Defines the background bias of the market. Above 50 = bullish macro. Below 50 = bearish macro. Moves deliberately — when it shifts, it carries real weight. It is the system anchor: all confluence and contradiction in the indicator is measured against K89, not against the 50 midline.
🔷 K50 — Light Blue — Operating Context
The intermediate layer. Represents the operating trend where medium-term price movements develop. When K50 and K89 are aligned in the same zone, the trend is structurally clean. When they diverge, the market is in transition or correction. The cross of K50 over K89 is the single highest-weight event in the entire indicator.
🟠 K14 — Orange — Standard Momentum
The classic stochastic reference used by the majority of technical analysts. Reacts faster than the blues and respects overbought and oversold levels with greater frequency. Drives the background zone coloring on the oscillator panel and is the reference layer for the K14 Zone reading in Current State.
🟡 K5 — Yellow — Fast Momentum
The most reactive layer. Captures immediate momentum and reacts first to any directional shift. Its value is only real when aligned with the upper layers — a bullish K5 against bearish K89 and K50 is noise. A bullish K5 with all layers aligned above is timing in full confluence. K5 is the execution layer: it tells you when fast momentum is moving in the direction the structure has already confirmed.
Color logic: Dark blue + light blue = structural context pair. Orange + yellow = momentum execution pair. Blues high and warm colors crossing upward = directional confluence. Blues low and warm colors pushing upward = structural contradiction — short-term momentum fighting the macro context.

THE 5 CROSS PAIRS
Edo Multi Stoch monitors five cross pairs between the four layers, ordered from lowest to highest structural weight. Each cross is recorded in the panel log with timestamp and direction. Bullish crosses mark above the line, bearish crosses below. Shape and size reflect weight.
▲ K5 × K14 — Small triangle
The most frequent cross. Fast momentum crossing the classic reference. Useful as timing confirmation when context is already defined by the upper layers. By itself it is not an actionable signal.
▲▲ K5 × K50 — Medium triangle
Fast momentum crossing the operating structure. Indicates that K5 is aligning or misaligning with the intermediate context. More weight than K5×K14 but still requires macro confirmation.
▲▲▲ K14 × K50 — Large triangle
Standard momentum crossing the operating context. Medium-to-high weight. Signals that classic momentum has changed sides relative to the intermediate structure. Gains relevance when it coincides with key price levels.
◆ K14 × K89 — Medium diamond
Standard momentum crossing the macro anchor. Important structural event. Signals that classic momentum is breaking the background bias — a context shift in the K14 horizon. Watch for this cross when price is approaching a key level.
◆◆ K50 × K89 — Large diamond ◆
The heaviest cross in the system, marked with ◆ in the log. The intermediate structure crossing the macro anchor. The stochastic equivalent of a Golden Cross or Death Cross. Most infrequent and most significant. When it occurs with K14 and K5 already aligned in the same direction, the signal carries full system weight.

INFORMATION PANEL
The panel updates bar by bar and is organized into three sections. Position, size and color mode are all configurable.
📋 Cross Log
Timestamped history of recent crosses showing date, time, cross pair, and direction. Green rows = bullish. Red rows = bearish. The K50×K89 cross is marked ◆ in the CROSS column to make it immediately identifiable. Configurable between 3 and 15 rows. The log is especially useful for reading the sequence of events — a progressive build from K5×K14 through K14×K50 up to K14×K89 tells a story of systematic structural alignment.
📊 Current State
Two real-time readings of overall system alignment.
Macro X/3 counts how many of the three lower layers (K50, K14, K5) are currently above K89:
— 3/3 BULL BIAS (green): Full bullish alignment. Strongest bullish state the system can produce.
— 2/3 BULL BIAS (green): Majority alignment. Meaningful bullish bias, not yet complete.
— 1/3 MIXED (yellow): Transition state. Attention warranted, execution premature.
— 0/3 BEAR BIAS (red): Full bearish alignment. Strongest bearish state the system can produce.
K14 Zone shows the current condition of the classic momentum layer with live numerical value: OVERBOUGHT / OVERSOLD / BULL ZONE / BEAR ZONE.
🔢 Values
Live rounded values for all four layers in their corresponding line colors, each with a ▲ arrow if above 50 or ▼ if below. Read the state of the entire system at a glance without tracking four lines across the panel.
BACKGROUND ZONES
The oscillator panel background activates in two extreme K14 conditions.
🟢 Green background — Oversold zone (default ≤ 20)
Bearish momentum exhaustion. The market is at a structural extreme where bullish opportunities have historically appeared. Not a mechanical buy signal — a condition alert. Its highest value is when the Current State score is simultaneously transitioning upward.
🔴 Red background — Overbought zone (default ≥ 80)
Bullish momentum exhaustion. The market is at a structural extreme where corrections and consolidations have historically begun. Not a mechanical sell signal — a condition alert. Strong trending markets can sustain K14 in overbought territory for extended periods — always read zone context alongside the Macro X/3 score.
HOW TO READ IT
An efficient reading follows three steps.
1 — Current State first
The X/3 Macro score gives you the overall system bias immediately. 3/3 and 0/3 are the clearest and most reliable states — full alignment across all layers. 1/3 and 2/3 signal that something is changing but not yet confirmed.
2 — Read the color pairs
Blues high and warm colors crossing upward = full directional confluence. Blues low and warm colors pushing upward = structural contradiction. This visual read takes two seconds once you know the system.
3 — Check the Cross Log
A recent K50×K89 ◆ cross in the direction of the current price bias adds significant structural weight to the reading. A sequence of progressive crosses building from K5 up toward K50 tells you alignment is developing systematically.
Most actionable states:
— 3/3 BULL BIAS with blues above 50 and warm colors above the blue lines
— 0/3 BEAR BIAS with blues below 50 and warm colors below the blue lines
In ranging markets: when K89 oscillates near 50 without clear direction, faster layer crosses carry reduced reliability. Use K89 position relative to 50 as your primary structural filter until direction is established.

CONFIGURATION
— Periods: default 89 / 50 / 14 / 5 — all configurable, labels update automatically
— Smoothing: Smooth %K default 3 — balances sensitivity and visual clarity
— Levels: overbought / oversold thresholds + midline toggle
— Visibility: show or hide each layer independently
— Cross Panel: position (4 corners) / size (Small, Medium) / mode (Dark, Light) / history rows (3–15)
OPEN SOURCE
Edo Multi Stoch is published as a free open source indicator. Full source code is accessible to any TradingView user for study and adaptation. Part of the Edolab Markets free tools ecosystem alongside Edo EMA Core Cross, Edo Sentiment Map, Edo SuperTrend Core and Edo ZigZag Auto Fib SR.
This indicator is a technical analysis tool. It does not constitute financial advice or an investment recommendation. Trading financial markets involves significant risk of capital loss. Past performance does not guarantee future results. Always use proper risk management.
Instead of comparing %K against a %D signal line derived from the same calculation, Edo Multi Stoch replaces individual signal lines with a hierarchy of four periods where each slower layer acts as the real context for the faster one. Every cross between layers carries genuine structural meaning because it connects different time horizons, not derivatives of the same input. The system is visually cleaner, structurally more informative, and built around a single principle: understand the context before looking for the signal.
THE FOUR LAYERS
The system uses four stochastic periods with distinct roles. Default values are 89, 50, 14 and 5 — all fully configurable. If any period is changed, panel labels and cross log update automatically.
🔵 K89 — Dark Blue — Macro Context
The slowest and structurally heaviest layer. Defines the background bias of the market. Above 50 = bullish macro. Below 50 = bearish macro. Moves deliberately — when it shifts, it carries real weight. It is the system anchor: all confluence and contradiction in the indicator is measured against K89, not against the 50 midline.
🔷 K50 — Light Blue — Operating Context
The intermediate layer. Represents the operating trend where medium-term price movements develop. When K50 and K89 are aligned in the same zone, the trend is structurally clean. When they diverge, the market is in transition or correction. The cross of K50 over K89 is the single highest-weight event in the entire indicator.
🟠 K14 — Orange — Standard Momentum
The classic stochastic reference used by the majority of technical analysts. Reacts faster than the blues and respects overbought and oversold levels with greater frequency. Drives the background zone coloring on the oscillator panel and is the reference layer for the K14 Zone reading in Current State.
🟡 K5 — Yellow — Fast Momentum
The most reactive layer. Captures immediate momentum and reacts first to any directional shift. Its value is only real when aligned with the upper layers — a bullish K5 against bearish K89 and K50 is noise. A bullish K5 with all layers aligned above is timing in full confluence. K5 is the execution layer: it tells you when fast momentum is moving in the direction the structure has already confirmed.
Color logic: Dark blue + light blue = structural context pair. Orange + yellow = momentum execution pair. Blues high and warm colors crossing upward = directional confluence. Blues low and warm colors pushing upward = structural contradiction — short-term momentum fighting the macro context.
THE 5 CROSS PAIRS
Edo Multi Stoch monitors five cross pairs between the four layers, ordered from lowest to highest structural weight. Each cross is recorded in the panel log with timestamp and direction. Bullish crosses mark above the line, bearish crosses below. Shape and size reflect weight.
▲ K5 × K14 — Small triangle
The most frequent cross. Fast momentum crossing the classic reference. Useful as timing confirmation when context is already defined by the upper layers. By itself it is not an actionable signal.
▲▲ K5 × K50 — Medium triangle
Fast momentum crossing the operating structure. Indicates that K5 is aligning or misaligning with the intermediate context. More weight than K5×K14 but still requires macro confirmation.
▲▲▲ K14 × K50 — Large triangle
Standard momentum crossing the operating context. Medium-to-high weight. Signals that classic momentum has changed sides relative to the intermediate structure. Gains relevance when it coincides with key price levels.
◆ K14 × K89 — Medium diamond
Standard momentum crossing the macro anchor. Important structural event. Signals that classic momentum is breaking the background bias — a context shift in the K14 horizon. Watch for this cross when price is approaching a key level.
◆◆ K50 × K89 — Large diamond ◆
The heaviest cross in the system, marked with ◆ in the log. The intermediate structure crossing the macro anchor. The stochastic equivalent of a Golden Cross or Death Cross. Most infrequent and most significant. When it occurs with K14 and K5 already aligned in the same direction, the signal carries full system weight.
INFORMATION PANEL
The panel updates bar by bar and is organized into three sections. Position, size and color mode are all configurable.
📋 Cross Log
Timestamped history of recent crosses showing date, time, cross pair, and direction. Green rows = bullish. Red rows = bearish. The K50×K89 cross is marked ◆ in the CROSS column to make it immediately identifiable. Configurable between 3 and 15 rows. The log is especially useful for reading the sequence of events — a progressive build from K5×K14 through K14×K50 up to K14×K89 tells a story of systematic structural alignment.
📊 Current State
Two real-time readings of overall system alignment.
Macro X/3 counts how many of the three lower layers (K50, K14, K5) are currently above K89:
— 3/3 BULL BIAS (green): Full bullish alignment. Strongest bullish state the system can produce.
— 2/3 BULL BIAS (green): Majority alignment. Meaningful bullish bias, not yet complete.
— 1/3 MIXED (yellow): Transition state. Attention warranted, execution premature.
— 0/3 BEAR BIAS (red): Full bearish alignment. Strongest bearish state the system can produce.
K14 Zone shows the current condition of the classic momentum layer with live numerical value: OVERBOUGHT / OVERSOLD / BULL ZONE / BEAR ZONE.
🔢 Values
Live rounded values for all four layers in their corresponding line colors, each with a ▲ arrow if above 50 or ▼ if below. Read the state of the entire system at a glance without tracking four lines across the panel.
BACKGROUND ZONES
The oscillator panel background activates in two extreme K14 conditions.
🟢 Green background — Oversold zone (default ≤ 20)
Bearish momentum exhaustion. The market is at a structural extreme where bullish opportunities have historically appeared. Not a mechanical buy signal — a condition alert. Its highest value is when the Current State score is simultaneously transitioning upward.
🔴 Red background — Overbought zone (default ≥ 80)
Bullish momentum exhaustion. The market is at a structural extreme where corrections and consolidations have historically begun. Not a mechanical sell signal — a condition alert. Strong trending markets can sustain K14 in overbought territory for extended periods — always read zone context alongside the Macro X/3 score.
HOW TO READ IT
An efficient reading follows three steps.
1 — Current State first
The X/3 Macro score gives you the overall system bias immediately. 3/3 and 0/3 are the clearest and most reliable states — full alignment across all layers. 1/3 and 2/3 signal that something is changing but not yet confirmed.
2 — Read the color pairs
Blues high and warm colors crossing upward = full directional confluence. Blues low and warm colors pushing upward = structural contradiction. This visual read takes two seconds once you know the system.
3 — Check the Cross Log
A recent K50×K89 ◆ cross in the direction of the current price bias adds significant structural weight to the reading. A sequence of progressive crosses building from K5 up toward K50 tells you alignment is developing systematically.
Most actionable states:
— 3/3 BULL BIAS with blues above 50 and warm colors above the blue lines
— 0/3 BEAR BIAS with blues below 50 and warm colors below the blue lines
In ranging markets: when K89 oscillates near 50 without clear direction, faster layer crosses carry reduced reliability. Use K89 position relative to 50 as your primary structural filter until direction is established.
CONFIGURATION
— Periods: default 89 / 50 / 14 / 5 — all configurable, labels update automatically
— Smoothing: Smooth %K default 3 — balances sensitivity and visual clarity
— Levels: overbought / oversold thresholds + midline toggle
— Visibility: show or hide each layer independently
— Cross Panel: position (4 corners) / size (Small, Medium) / mode (Dark, Light) / history rows (3–15)
OPEN SOURCE
Edo Multi Stoch is published as a free open source indicator. Full source code is accessible to any TradingView user for study and adaptation. Part of the Edolab Markets free tools ecosystem alongside Edo EMA Core Cross, Edo Sentiment Map, Edo SuperTrend Core and Edo ZigZag Auto Fib SR.
This indicator is a technical analysis tool. It does not constitute financial advice or an investment recommendation. Trading financial markets involves significant risk of capital loss. Past performance does not guarantee future results. Always use proper risk management.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
EdoLab Markets – Precision Trading Tools
Get Exclusive Indicators:
edolab.io
All content provided is for informational and educational purposes only. Past performance does not guarantee future results.
Get Exclusive Indicators:
edolab.io
All content provided is for informational and educational purposes only. Past performance does not guarantee future results.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
EdoLab Markets – Precision Trading Tools
Get Exclusive Indicators:
edolab.io
All content provided is for informational and educational purposes only. Past performance does not guarantee future results.
Get Exclusive Indicators:
edolab.io
All content provided is for informational and educational purposes only. Past performance does not guarantee future results.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.