Can someone please help me quickly as i am finding esignal efs more and more frustrating. I have searched many posts on this forum as well as google but still can't comprehend this simple problem. I think other questions have been asked about this but they seem to refer more to esignal price studies which it is easy to refer to previous value.
Lets say i have custom price study:
e.g.
var longLow = null;
if (low(0) < low(-1)) &&
(low(0) < low(-2)) &&
(low(0) < low(-3))
longLow = low(0); // Hence all i am doing is storing this variable.
Now lets assume all my entry conditions were met once again (lets say 30 bars later - assuming 1 min intraday bars), then how do i refer back to longLow(-1).
I am finding it impossible to get the value of longLow(-1) as it is a custom variable based on a custom price study. The strategy i am currently working on has on average 5 signals per day. However, each new signal requires the values of the previous signal.
Please help anyone.
Thankyou
Lets say i have custom price study:
e.g.
var longLow = null;
if (low(0) < low(-1)) &&
(low(0) < low(-2)) &&
(low(0) < low(-3))
longLow = low(0); // Hence all i am doing is storing this variable.
Now lets assume all my entry conditions were met once again (lets say 30 bars later - assuming 1 min intraday bars), then how do i refer back to longLow(-1).
I am finding it impossible to get the value of longLow(-1) as it is a custom variable based on a custom price study. The strategy i am currently working on has on average 5 signals per day. However, each new signal requires the values of the previous signal.
Please help anyone.
Thankyou
Comment