protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (CurrentBars[0] < 1)
return;
// Set 1
if (Delta11.Buys[0] < Zero-900)
{
EnterLong(Convert.ToInt32(DefaultQuantity), "1");
}
// Set 2
if (Delta11.Sells[0] > Zero+900)
{
EnterShort(Convert.ToInt32(DefaultQuantity), "1");
}
Comment