Unfortunately, my strategy is not entering the proper quantity.
I checked the sample of scaling out from the forum, and believe that I have correctly applied the salient points.
I have the following in my Initialize section:
EntryHandling = EntryHandling.UniqueEntries;
TradeSize = MinTradeSize;
SetStopLoss("", CalculationMode.Ticks, Stop, false);
SetProfitTarget("ZLRe1", CalculationMode.Ticks, Target1);
SetProfitTarget("ZLRe2", CalculationMode.Ticks, Target2);
if(Position.MarketPosition == MarketPosition.Flat)
{
EnterLongLimit(1,KeltnerEMAChannelTrend(4, 1.5, 21).Midline[0], "ZLRe1");
if(TradeSize >= 2) EnterLongLimit(1, KeltnerEMAChannelTrend(4, 1.5, 21).Midline[0], "ZLRe2");
if(TradeSize == 3) EnterLongLimit(1, KeltnerEMAChannelTrend(4, 1.5, 21).Midline[0], "ZLRe3");
}
I figure I am missing something simple... Can anyone spot it?
Rod

Comment