Tell me please, why this construction is not working? As result i have only 1 enter and 1 stop from the first signal (Long1).
protected override void OnBarUpdate()
{
if((High[0] - Low[0]) > (High[1] - Low[1]) * 2
&& Close[0] < Open[0]
&& enabled)
{
EnterLong(1, "Long1");
ExitLongStop(0, true, 1, 10, "Stop12", "Long1");
EnterLong(1, "Long");
ExitLongStop(0, true, 1, Close[0] + 20, "StaticSL", "Long");
ExitLongLimit(0, true, 1, Close[0] + 20, "StaticTP", "Long");
}
}

Comment