if (FirstTickOfBar) boolAlertSounded = false;
if (!boolAlertSounded)
if (Instrument.MasterInstrument.Name == "6E"){PlaySound("6elongdivergence.wav");}
else if (Instrument.MasterInstrument.Name == "CL"){PlaySound("cllongdivergence.wav");}
else if (Instrument.MasterInstrument.Name ==
boolAlertSounded = true;
if (Instrument.MasterInstrument.Name == "6E")
SET TIMER TO WAIT 5 SECONDS
{PlaySound("6elongdivergence.wav");}
else if (Instrument.MasterInstrument.Name == "CL")
SET TIMER TO WAIT 10 SECONDS
{PlaySound("cllongdivergence.wav");}
boolAlertSounded = true;
Any ideas how to achieve this?
Thanks in advance
DJ

. Actually I used to use that before but the problem was it would go off every 60 seconds or so. Say a 10 Renko bar may sit there for 30 minutes. If I set it for 30 minutes then there were 5 bars in 30 minutes how would that work?
Comment