The first statement is not really a limit order. I wonder if there is any difference between the two???Buy this bar on close;
Buy next bar at market;
Sa
The first statement is not really a limit order. I wonder if there is any difference between the two???Buy this bar on close;
Buy next bar at market;
Andrew,Dear Spaceant,
These are both market orders.
The only difference is that there are chances that you may have Buy this bar on close; unexecuted due to the session end.
You may set your session to end a little bit earlier than actual one.
If thisis right, should Andrew mean:I think he is referring to unexecuted due to the session end.
because you will need some time for your order to get to the exchange.
Code: Select all
if barstatus = 2 then
print("c=", text(currenttime_s));
if barstatus = 0 then
print("0=", text(currenttime_s));