PROTECTED SOURCE SCRIPT

2x4x Stochastic

150
2x4x Stochastic (with signal boxes, triggers, and %D display)

This indicator visualizes four Stochastic %D lines (D1–D4) along with their corresponding higher timeframe (HTF) versions, all scaled into separate sections of the same pane. It provides clear visual signals when all local and HTF stochastics are either overbought or oversold.

Key features:

4 customized stochastic %D calculations: D1 (9,1,3), D2 (14,1,3), D3 (40,1,4), D4 (60,1,10)

Automatic or manual higher timeframe selection

Signal box appears when all 8 stochastics are above overbought or below oversold thresholds (Standard mode)

Optional white line marks end of signal box

Optional green/red dotted line when HTF stochastic breaks defined trigger level after a signal box

Adjustable OB/OS levels for LTF and HTF separately (e.g., 15/85 or 10/90)

Full alarm system with time filter (e.g. 09:00–22:00) for box start, box end, and white line

This version uses only the Standard logic for signals – no alternative modes. Clean, stable, and optimized for performance.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.