Lastbaronchart will never = TRUE in a signal that also possesses "open next bar" anywhere in the code.
I have to use "open next bar". How might I detect the last bar on chart??
Test:
Code: Select all
if LastBarOnChart then begin
raiseruntimeerror("LBOC");
if open next bar > 0 then value99=1;
MC12 17490