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??
Code: Select all
if LastBarOnChart then begin
if open next bar > 0 then value99=1;
No error message will be generated until you block out the last line.