protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (CurrentBars[0] < 256)
return;
// Set 1
if ((CrossAbove(EMA1, EMA2, 1))
&& (CrossAbove(EMA2, EMA3, 1))
&& (CrossAbove(EMA1, Close, 1)))
{
trueFalse = 1;
}
else if (trueFalse == 0)
Plot0.Set(trueFalse);
But I get error plot doesn't exist in the current content
Comment