OPEN-SOURCE SCRIPT
Stochastic MTF Table [XoRonX]

### Suggested Title
Stochastic MTF Table with Momentum & Divergence
### Description
This indicator provides a compact multi-timeframe overview of Stochastic conditions across
five fixed timeframes:
- M15
- M30
- H1
- H4
- D1
The table displays the current %K / %D values and classifies each timeframe as:
- OB — Over Bought
- OS — Over Sold
- Neutral
- DIV — Bullish or Bearish Divergence
### Momentum Confirmation
A momentum signal is confirmed when all five timeframes are aligned:
- All timeframes in Over Bought: Upward Momentum
- All timeframes in Over Sold: Downward Momentum
When a new five-timeframe momentum confirmation occurs, the indicator places:
- A green upward arrow below the candle for upward momentum.
- A red downward arrow above the candle for downward momentum.
- An optional candle color highlight.
chart clean.
### Divergence Detection
The indicator detects regular Stochastic divergence:
- Bullish Divergence: Price forms a lower low while Stochastic forms a higher low.
- Bearish Divergence: Price forms a higher high while Stochastic forms a lower high.
Divergence signals use confirmed pivots and therefore appear after the selected pivot
confirmation period.
### Customizable Settings
- Stochastic K period
- Stochastic D period
- K smoothing
- Over Bought and Over Sold levels
- Pivot left and right lookback
- Maximum distance between pivots
- Divergence display duration
- Optional OB/OS filter for divergence
- Table position and text size
- Momentum arrows and candle coloring
### Alerts
Alert conditions are available for:
- New Over Bought condition
- New Over Sold condition
- Bullish Divergence
- Bearish Divergence
- Five-timeframe Upward Momentum
- Five-timeframe Downward Momentum
### Important Note
Values from active higher-timeframe candles may change until those candles close. Momentum
and divergence indications should be used as confirmation tools, not as standalone buy or
sell signals.
This indicator is intended for technical analysis and educational purposes only. It does
not constitute financial advice.
Stochastic MTF Table with Momentum & Divergence
### Description
This indicator provides a compact multi-timeframe overview of Stochastic conditions across
five fixed timeframes:
- M15
- M30
- H1
- H4
- D1
The table displays the current %K / %D values and classifies each timeframe as:
- OB — Over Bought
- OS — Over Sold
- Neutral
- DIV — Bullish or Bearish Divergence
### Momentum Confirmation
A momentum signal is confirmed when all five timeframes are aligned:
- All timeframes in Over Bought: Upward Momentum
- All timeframes in Over Sold: Downward Momentum
When a new five-timeframe momentum confirmation occurs, the indicator places:
- A green upward arrow below the candle for upward momentum.
- A red downward arrow above the candle for downward momentum.
- An optional candle color highlight.
chart clean.
### Divergence Detection
The indicator detects regular Stochastic divergence:
- Bullish Divergence: Price forms a lower low while Stochastic forms a higher low.
- Bearish Divergence: Price forms a higher high while Stochastic forms a lower high.
Divergence signals use confirmed pivots and therefore appear after the selected pivot
confirmation period.
### Customizable Settings
- Stochastic K period
- Stochastic D period
- K smoothing
- Over Bought and Over Sold levels
- Pivot left and right lookback
- Maximum distance between pivots
- Divergence display duration
- Optional OB/OS filter for divergence
- Table position and text size
- Momentum arrows and candle coloring
### Alerts
Alert conditions are available for:
- New Over Bought condition
- New Over Sold condition
- Bullish Divergence
- Bearish Divergence
- Five-timeframe Upward Momentum
- Five-timeframe Downward Momentum
### Important Note
Values from active higher-timeframe candles may change until those candles close. Momentum
and divergence indications should be used as confirmation tools, not as standalone buy or
sell signals.
This indicator is intended for technical analysis and educational purposes only. It does
not constitute financial advice.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.