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