Page 5 of 5

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