Hello everyone,
I'm trying to construct an alert system that will fire when the stochastic values agree with each other across 3 time frames, with a few small conditions.
I'm not too familiar with eSignal scripting so I used the wizard in 10.6 to create the main structure and continued with my code from there, using forum posts as a reference (Thanks Alexis!).
My question is, where do I go from here? I've programmed all of the conditions, and I would like to be able to attach the study to my watch list.
As it stands, the code compiles but gives me the error "failed to call function 'getValue': invalid number of arguments, 2. Expected arguments, 1." when added to the watch list. I suspect I'm not using getValue properly.
I hope I have sufficiently commented the code to make it understandable. See attachment.
Thanks.
I'm trying to construct an alert system that will fire when the stochastic values agree with each other across 3 time frames, with a few small conditions.
I'm not too familiar with eSignal scripting so I used the wizard in 10.6 to create the main structure and continued with my code from there, using forum posts as a reference (Thanks Alexis!).
My question is, where do I go from here? I've programmed all of the conditions, and I would like to be able to attach the study to my watch list.
As it stands, the code compiles but gives me the error "failed to call function 'getValue': invalid number of arguments, 2. Expected arguments, 1." when added to the watch list. I suspect I'm not using getValue properly.
I hope I have sufficiently commented the code to make it understandable. See attachment.
Thanks.
Comment