Sound alert

#1
Hey guys Im using this code for alerts,
however can the code be modified to alert only on candle close,
Oh ya and if possible a better sound also

_SECTION_BEGIN("Ultimate Alert");
Buy = Cross(C, Study("UP",1));
Sell = Cross(Study("DN",1),C);

AlertIf(Buy, "SOUND C:\\Windows\\Media\\chimes.wav", "Buy",1,1,100 );
AlertIf(Sell, "SOUND C:\\Windows\\Media\\ding.wav", "Sell",2,1,100);
_SECTION_END()
 

Similar threads