What am I missing?
See attached picture.
Code is below:
SetProfitTarget("L1", CalculationMode.Ticks, Variable0);
SetStopLoss("L1", CalculationMode.Ticks, Variable0, false);
CalculateOnBarClose = true;
}
protected override void OnBarUpdate()
{
// Condition set 1
if (Close[0] > EMA(14)[0])
{
EnterLong(DefaultQuantity, "L1");
Variable0 = High[1] + Low[1] * TickSize;
}
Comment