if i enter
if (Close[0] < Position.AvgPrice - ProfitS * TickSize)
works fine but only one curency
if i enter
if (Closes[1][0] < Position.AvgPrice - ProfitS * TickSize)
Exit at frst bar !!! dont count profit
AvgPrice count for every curency separate or sum of prices?
if (BarsInProgress==0)
{
entryOrder = EnterShort(0,Lot, "Sell");
entryOrder = EnterShort(1,Lot, "Sell1");
}
if (Closes[0][0] < Position.AvgPrice - ProfitS * TickSize ||
Closes[1][0] > Position.AvgPrice + StopS * TickSize)
if (BarsInProgress==0 || BarsInProgress==1)
{
entryOrder = ExitShort(0,Lot,"Exit Short","Sell");
entryOrder = ExitShort(1,Lot,"Exit Short1","Sell1");
}
Comment