I am currently using 1 minute bar for my trading. My strategy would like to place a stop limit order good until end of the 1 minute bar but not next tick once the condition is met. I am not sure the effect of Intra bar generate within signal. Here is the sample of code I would like to use. Can someone tell me it is work or not?
Code: Select all
If barstatus = 2 then intrabargeneration = True;
If last >= 25 then
begin
Buy ("Open Long") next bar 27 Stop 28 limit;
Intrabargeneration = False;
end;
Thanks for your help in advance.
Allen