here's how the onbar update looks now.
if ( Close[0]< Open[0] && Close[0]<Low[1] && CurrentBar- saveBar > 3) //>1 removes 2nd arrow, >2removes next 2 repeat arrows >0 removes none
{
DrawArrowDown(" down" + CurrentBar, false, 0, High[0]+ (TickSize*dist), Color.White);
saveBar = CurrentBar; // save the current bar number
}
if (alertBool)PlaySound(@"C:\mysounds\Alert1.wav");
}
and Variables had this: private bool alertBool;
Properties is the same as the cs file I uploaded
Comment