Support Board
Date/Time: Fri, 27 Dec 2024 17:39:54 +0000
Post From: Latest update keeps playing sound files even though i have logic to prevent..
[2016-03-12 20:59:53] |
KhaosTrader - Posts: 128 |
Hi, i just updated to the latest version, I have a sound file that plays when I get a setup, it uses the following code: if ( (CurrentBarTime >= AlertTime_Start) && (CurrentBarTime <= AlertTime_Stop) && (!sc.IsFullRecalculation) && (!sc.DownloadingHistoricalData) && AlertNewTradeSetup.GetYesNo() == SC_YES ) { SCString Buffer; Buffer = "c:\\!TradeAlert_Sounds\\"; Buffer += SymbolName; Buffer += "_Long.wav"; sc.PlaySound(Buffer.GetChars(), 1); } With the new update, it keeps on playing the sound file when loading the chart... |