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.
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน