Page 5 of 6

Re: Stochastic signals

PostPosted: Tue Nov 17, 2015 10:03 pm
by juancrevuelta
Alexander.Gettinger wrote:Strategies:

The attachment Stochastic_Overbought_Oversold_Strategy.lua is no longer available


The attachment Stochastic_Overbought_Oversold_Strategy.lua is no longer available


The attachment Stochastic_Overbought_Oversold_Strategy.lua is no longer available


Hello,

I am making a little change to this strategy in order to add a confirmation in a TF lower the stochastic has to be on the same direction that the actual stochastic but the I am getting this error: "Index is out of range" I have been looking for this error but I do not find any clue about it.

Could any body help me with this?

Many thanks in advanced,

JCR

Re: Stochastic signals

PostPosted: Tue Nov 24, 2015 7:36 am
by Apprentice
You can not use same period index, for multiple time frame data sources.
Try to use core.findDate or methods used for MTF strategies.
viewtopic.php?f=28&t=2712

Re: Stochastic signals

PostPosted: Tue Nov 24, 2015 9:03 pm
by juancrevuelta
Many thanks apprentice, I will look into this info.

Best Regards,

JCR

Re: Stochastic signals

PostPosted: Thu May 21, 2020 3:00 pm
by Avignon
Bug with Stochastic_Overbought_Oversold_Strategy.lua

Capture.png


I haven't tested the others.

Re: Stochastic signals

PostPosted: Mon May 25, 2020 6:23 am
by Apprentice
Your request is added to the development list.
Development reference 1351.

Re: Stochastic signals

PostPosted: Tue May 26, 2020 9:17 am
by Apprentice
Fixed.

Re: Stochastic signals

PostPosted: Tue May 26, 2020 5:22 pm
by Avignon
I keep getting the same error message.

I tried the other 2 indicators, I also have the same error message for each one.

Re: Stochastic signals

PostPosted: Wed May 27, 2020 5:22 am
by Apprentice
Stochastic_Overbought_Oversold_Signal.lua
(6.8 KiB) Downloaded 80 times

Try this version.

Re: Stochastic signals

PostPosted: Thu May 28, 2020 6:07 am
by Avignon
This one works. Thank you.

Is it possible to have the signal in the input of the oversold/overbought area instead of the output as at present?

Re: Stochastic signals

PostPosted: Fri May 29, 2020 4:30 am
by Apprentice
I'm not sure I understand,
can you elaborate with an example?