Support Board
Date/Time: Tue, 24 Dec 2024 01:27:21 +0000
Post From: PlaySound Issue
[2015-10-18 10:53:38] |
KhaosTrader - Posts: 128 |
I tried this and it seems to work.... Let me know if this is a correct way of doing it please. I figured I only needed the first condition, but I added another condition and then it seems to work ok. if ( (sc.DownloadingHistoricalData == 0) && (sc.Index > sc.ArraySize -5) ) { sc.PlaySound("c:\\!TradeAlert_Sounds\\QCL_Long.wav", 1); } |