Page 1 of 1

Slow Stochastic and Predict

Posted: Wed Jan 17, 2024 4:03 am
by kiasucapital
Hi I am trying to get the Predict tool and defaults to the UltraSmooth Momentum and I'd like to change it to work
with the Slow Stochastic and I keep getting the error message I've attached. Any ideas on how to do this?Image

Re: Slow Stochastic and Predict

Posted: Wed Jan 17, 2024 2:21 pm
by sbank
Stochastics(slow) is the name of an indicator. Here you would need to use the function instead.

If you look at the QScript of the Stochastics Indicator, it has these parts:

Code: Select all

input:length(14),overbought(70),oversold(30),kcolor(red),
    dcolor(blue),zonecolor(green),thickness(1);

plot1=slowk(length);
plot2=slowd(length);
[...]
  
So you would either use slowk(10) or slowd(10) in your predict indicator. (Change out 10 to be the length that you want.)

Edit: PS: Welcome to the club!! :-D

Re: Slow Stochastic and Predict

Posted: Thu Jan 18, 2024 12:59 am
by kiasucapital
Awesome!! Thanks it works.