protected override void Initialize()
{
Overlay = true;
CalculateOnBarClose = false ;
}
/// </summary>
protected override void OnBarUpdate()
{
if (CurrentBar == Bars.Count - 2)
{
int nCount = this.list.Count;
bool bPriceFound = false;
if (FirstTickOfBar == true)
{
// print my information
}
else
{
// collect information
}
the issue is it is always printing and never collecting information. It never goes to the the else statement
}
Comment