Skip to content

Commit 6af3668

Browse files
committed
v1.1.8
1 parent e7fab57 commit 6af3668

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stoch-x.pine

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// --------------------------------------------------------------------
66
// Stoch X: Stochastic with Divergence & Signals
77
// On Github: https://github.com/realanthonyc/Stoch-X
8-
// v1.1.7
8+
// v1.1.8
99
// --------------------------------------------------------------------
1010
indicator(title="Stoch X: Stochastic with Divergence & Signals", shorttitle="Stoch X", format=format.price, precision=1, timeframe="", timeframe_gaps=true)
1111

@@ -49,7 +49,7 @@ d = ta.sma(k, periodD)
4949

5050
// Dynamic Period Logic
5151
// 30 minutes = 1800 seconds
52-
// Logic handles Ticks/Range/Volume (na seconds) by defaulting to Regular (False on isLowTF)
52+
// Logic handles Ticks/Range/Volume (na seconds) by defaulting to Regular (false on isLowTF)
5353
currentSeconds = timeframe.in_seconds(timeframe.period)
5454
isLowTF = not na(currentSeconds) and currentSeconds <= 1800
5555
periodS_Dynamic = isLowTF ? periodS_Low : periodS
@@ -72,7 +72,7 @@ fill(h0, h1, color=color.rgb(33, 150, 243, 95), title="Background")
7272

7373
// === Plotting: Cross Signals ===
7474

75-
// Updated to use K2 and S for crossing logic
75+
// Use %K2 and %S for crossing logic
7676
bullCross = ta.crossover(k2, s) and k2 < valLower
7777
bearCross = ta.crossunder(k2, s) and k2 > valUpper
7878

0 commit comments

Comments
 (0)