[GridCategory("Parameters")]
public bool BE2
{
get { return be2; }
set { be2 = value; }
}
#endregion
}
}
I am every new to this:
This simple piece of code returns three separate { or ; expected errors
and...
the entire strategy has 128 lines of code yet there are tons of errors listed in lines 133-150 which to my knowledge don't exist.
Anyone have an idea?
Incidentally that bool statement refers to this:
if (be2 && Low[0] < Position.AvgPrice - ((Target1 + Target2)*TickSize))
SetStopLoss("target2", CalculationMode.Price, Position.AvgPrice, false);
Not sure if that makes a difference

Comment