3x Stoch on Given Time-frame v0.13x stochastic oscillators (K only), set the timeframe you want the stoch to be based off.
Smooth and length is hard-coded to give easy view of the time-frame set in the indicator arguments shown on-chart. Edit these in the Pine Editor as needed.
smooth = 6
length1 = 5
length2 = 8
length3 = 14