protected override void OnBarUpdate()
{
if (BarsInProgress == 0)
{
}
else if (BarsInProgress == 1)
{
Value[0] = Close[0];
}
}
How can I check if there is not a value for the bar and if true, use Close[1]?

Comment