If, for example I have:
var X=((high(0)+low(0))/2);
How can I reference the value of X on some previous bar? Could I use something like:
var Y=(X.getValue(-10));
Or do I need to create an array of X and reference it somehow through that?
Thanks for helping a muppet like me. It is appreciated.
var X=((high(0)+low(0))/2);
How can I reference the value of X on some previous bar? Could I use something like:
var Y=(X.getValue(-10));
Or do I need to create an array of X and reference it somehow through that?
Thanks for helping a muppet like me. It is appreciated.
Comment