double exit refused
Posted: Apr 21 2016
Hallo team, is never happen to you that when you are long you send togethet target and stop and you receive error from broker because one of 2 order try to go short?
it seems to me that in past we already had this discussion but i don't remember where i'm wrong...
it seems to me that in past we already had this discussion but i don't remember where i'm wrong...
Code: Select all
if marketposition = 1 then
Begin
SELL ("L_Target2") MarketPosition_at_Broker_for_The_Strategy shares next bar at LINEATGT limit;
SELL ("L_Stop2") MarketPosition_at_Broker_for_The_Strategy shares next bar at LINEASTOP stop;