if(iStochastic(NULL, PERIOD_CURRENT, 5, 10, 2, MODE_LWMA, 0, MODE_SIGNAL, i) > 7 //Stochastic Oscillator > fixed value && iStochastic(NULL, PERIOD_CURRENT, 5, 43, 3, MODE_LWMA, 0, MODE_MAIN, i) == 3 //Stochastic Oscillator is equal to fixed value )
You will find it extremely rare (if ever) for the stochastic to exactly equal 3 so don't expect the continue to be executed.
if(iStochastic(NULL, PERIOD_CURRENT, 5, 10, 2, MODE_LWMA, 0, MODE_MAIN, i) > 5 && iStochastic(NULL, PERIOD_CURRENT, 5, 43, 3, MODE_LWMA, 0, MODE_MAIN, i+1) < 5 //Stochastic Oscillator crosses above fixed value )
You are looking for a cross of 2 stochastics with different settings ???
Keith Watford:
Hi keith, I forgot to include, please ignore my indicator settings because I changed them to preserve my strategy. Thank you for understanding.
You will find it extremely rare (if ever) for the stochastic to exactly equal 3 so don't expect the continue to be executed.
You are looking for a cross of 2 stochastics with different settings ???

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
So as you can see I am using continue but for some reason multiple arrows pop up. Im trying to only get one arrow to pop up and then have the entire thing reset so it starts from the top again. Has anyone done this before? Id love to see how. Maybe I modify the loop to only run once? I dont know