Here is the code that the Wizard generates:
// Condition set 3
if (Position.MarketPosition == MarketPosition.Long)
{
ExitLongLimit(Position.AvgPrice + ATR(15)[0], "Exit Long PT", "Entry Long");
}
// Condition set 4
if (Position.MarketPosition == MarketPosition.Short)
{
ExitShortLimit(Position.AvgPrice + ATR(5)[0], "Exit Short PT", "Entry Short");
}
I can't seem to be able to tell the Wizard that for a Short Profit Traget the ATR needs to be subtracted from the Position.AvgPrice.
Thanks

Comment