I am using 1 second delayed data on the eur/usd to try and get a working slow stochastic indicator. Nothing seems to work, I have tried implementing the formula: %K = (Current Close - Lowest Low)/(Highest High - Lowest Low) * 100:
K1 = (high - low) /100 K = (close - low)/K1 and k = (close - low) / (high - low) * 100
using decimal numbers (as opposed to floats)in a python script and have used the STOCH function from TAlib but they both produce the same type of result; numbers for the K line (D line not yet implemented) that jump all over the place.