protectedoverridevoid OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(Close[0]);
if (CurrentBar < (5))
return;
if (ToTime(Time[0]) >= 74500 && ToTime(Time[0]) <= 74600)
{PlaySound(@"C:\Program Files\NinjaTrader 6.5\sounds\Alert1.wav");}
Comment