| 
 PureBytes Links 
Trading Reference Links 
 | 
I am trying to exit on the bar of entry only using following code
Buy{setup condition} next bar at open + Value1;
In a separate signal I have two exits as follows
If marketposition <> 1 then begin
   ExitLong("1stDayProfit")  Open tomorrow + Value10 limit;
   ExitLong("1stDayLoss")    Open tomorrow - Value20 stop;
end;
What I am finding is that if the Entry price is greater than the
ExitLong("1stDayProfit")  price it exits at the Entryprice
If I change from limit to a stop order for ExitLong("1stDayProfit")
 and the high is less than the ExitLong("1stDayProfit") price it also exits
at the entryprice
How can I code it to exit correctly on the same day as entry?
Mel
melsmail@xxxxxxxxxxx
 |