after I hit F5 it plotted the new dots
here is my code
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if(CurrentBar == 0)
{
textFont1 = new Font("Wingdings",srDotSize );
}
if (CurrentBar < 2)
return;
// Note: savebar1 = CurrentBar at the first dot + 20
// Note: savePos1 = Price Low or High at the first dot
if ( CurrentBar < savebar1)
{
DrawText(CurrentBar.ToString()+"l1" , true, "l", 0 , savePos1, colorUT,
textFont1, StringAlignment.Center, Color.Empty, Color.Empty, 1);
savebar1 = savebar1 - 1;
}

Comment