LastAlertTime = Time[0];
if ((val1[0]!=EMPTY_VALUE) && (val1[0]!=0) && (SoundBuy) && (LastAlertTime != Time[0]))
double b4plusdi,nowplusdi,b4minusdi,nowminusdi; datetime LastAlertTime = D'';
LastAlertTime = Time[0];
LastAlertTime = Time[0];
This works.HI... I have tested and improved the codes. Now i have finished 90% result. Still i have few issues. Pls help me with this. Check line 64 and 66. Pls help me.