Is there a way to code the order entry code so that it only looks forward instead of backwards?
if ( (Position.MarketPosition == MarketPosition.Flat) )
{ EnterLong(1);
SetProfitTarget(CalculationMode.Ticks, 6);
SetStopLoss(CalculationMode.Ticks, 8);
}
Gary

Comment