-----
protected override void OnBarUpdate()
{
if (CurrentBar < 10)
return;
Value[0] = High[0] - Close[0];
}
---
1. If I use this indicator in a strategy, what would be values of Value[0] for the first 10 bars? Will be 0, or will be double.NaN ?
2. What would Value.IsValidDataPoint(0) return for the first 10 bars?
Comment