This indicator is in principle similar to Stochastic Oscillator, but contains the following improvements: - advanced Ehlers-based smoothing (typically results in earlier signals than regular EMA smoothing) - graceful degradation when few candles present for improved accuracy in the beginning of the chart - buy/sell signals based on K-D crossover above/below thresholds
I got an error in the code but i replaced in all situations:
x = na
with
x = float(na)
I realized that its because i changed it to script version 4. so some of the code needed the newer syntax
x = na
with
x = float(na)
I realized that its because i changed it to script version 4. so some of the code needed the newer syntax