The title says it all, I'd like to know how to assign an entry fill price to a variable that I can use for determination of profit targets.
I've tried the following but there always seems to be a 0 value in entryOrder.AvgFillPrice
entryOrder = EnterLongLimit(NumStocks, Close[0] + 1 * TickSize, entrySignal);
profitLimit = ProfitTarget(ProfitMAPeriod).ProfitTargetSMA[0] + entryOrder.AvgFillPrice;
Thanks

Comment