Dollar Trailing
Posted: Feb 23 2009
Hi,
I am having a issue with the auto trail command listed below. I asked a question the other day about it but never got an answer so I decided to try again.
When the code listed below triggers I am seeing the Auto trader try to exit the position as expected, but it tries as much as currentask +1 so it never fills on the current bar. Is there a way to tell it to do a market cover order ?
Thanks
if openpositionprofit >= 1 then // This means the profit is >= 1 point
begin
setstopposition;
setdollartrailing(.25);
end;
I am having a issue with the auto trail command listed below. I asked a question the other day about it but never got an answer so I decided to try again.
When the code listed below triggers I am seeing the Auto trader try to exit the position as expected, but it tries as much as currentask +1 so it never fills on the current bar. Is there a way to tell it to do a market cover order ?
Thanks
if openpositionprofit >= 1 then // This means the profit is >= 1 point
begin
setstopposition;
setdollartrailing(.25);
end;