Hello,
I want to buy after two consecutive down gaps at the open of next day and sell at the close of same day. I'm trying to learn EL before I commit to an account. Will this code work?
if L[2] > H[1] AND L[1] > H[0] then begin
Buy Next Bar at open;
sell next bar at close;
end;
I don't know whether the sell command to exit position can be activated if inside the conditional and before a position is established.
Thanks,
Bill
I want to buy after two consecutive down gaps at the open of next day and sell at the close of same day. I'm trying to learn EL before I commit to an account. Will this code work?
if L[2] > H[1] AND L[1] > H[0] then begin
Buy Next Bar at open;
sell next bar at close;
end;
I don't know whether the sell command to exit position can be activated if inside the conditional and before a position is established.
Thanks,
Bill