Support Board
Date/Time: Fri, 27 Dec 2024 01:03:56 +0000
Latest update keeps playing sound files even though i have logic to prevent..
View Count: 996
[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... |
[2016-03-12 23:38:20] |
Sierra Chart Engineering - Posts: 104368 |
We have an idea why this is occurring. We are checking on this and will work on a solution. We will have a new release out probably tomorrow. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-13 07:25:39] |
KhaosTrader - Posts: 128 |
Ok thank you... Please let me know when the release that will fix this is released so I can download the right one at the right time...
|
[2016-03-13 09:20:47] |
Sierra Chart Engineering - Posts: 104368 |
We were mistaken. We had thought maybe there was an implementation problem with some recent changes to sc.IsFullRecalculation. But we do not see a problem. Refer to the documentation for this member. It is working properly as documented. What do you mean by: when loading the chart...
There is no way we can test to what you gave us. We need a simple and complete study function. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-13 12:26:41] |
KhaosTrader - Posts: 128 |
Ok, I put a sound function on the example code, the only part that is important is the playsound part.. SCSFExport scsf_SoundTester(SCStudyInterfaceRef sc) { // Section 1 - Set the configuration variables and defaults if (sc.SetDefaults) { sc.GraphName = "Sound Tester"; // During development set this flag to 1, so the DLL can be rebuilt without restarting Sierra Chart. When development is completed, set it to 0 to improve performance. sc.FreeDLL = 1; sc.AutoLoop = 1; //Automatic looping is enabled. sc.Subgraph[0].Name = "Name"; sc.Subgraph[0].DrawStyle = DRAWSTYLE_LINE; sc.Subgraph[0].PrimaryColor = RGB(0, 255, 0); sc.Input[0].Name = "Float Input"; sc.Input[0].SetFloat(0.0f); return; } // Section 2 - Do data processing here if ( (sc.GetBarHasClosedStatus(sc.Index) == BHCS_BAR_HAS_CLOSED) && sc.Close[sc.Index - 1] > sc.Close[sc.Index] && (!sc.IsFullRecalculation) && (!sc.DownloadingHistoricalData) ) { //const char* p_Symbol; //p_Symbol = sc.Symbol.GetChars(); SCString Buffer; Buffer = "c:\\!TradeAlert_Sounds\\"; Buffer += "CL"; Buffer += "_Short.wav"; sc.PlaySound(Buffer.GetChars(), 1); //sc.AddMessageToLog("Short alert!",0); } } |
[2016-03-13 12:28:35] |
KhaosTrader - Posts: 128 |
The problem can be seen if you do a Replay Chart.. I do it on a time based chart and see (actually hear) the problem...
|
[2016-03-13 19:52:06] |
Sierra Chart Engineering - Posts: 104368 |
We now determined the reason for the problem and it is resolved. There will be a new release out later this evening.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-13 19:58:35] |
KhaosTrader - Posts: 128 |
Ok thank you...
|
[2016-03-15 22:09:02] |
KhaosTrader - Posts: 128 |
There still seems to be an issue.. If I load up several charts (different instruments) at the same time, and while some charts are loading data and others are waiting to load data, I get sound events firing. I have to clear the alert sound queue to make it stop and then it will work properly.. Can you please look into this? Thank you. |
[2016-03-16 02:35:06] |
Sierra Chart Engineering - Posts: 104368 |
This does not make sense that this would be affected by multiple charts being loaded. Can you consistently reproduce the issue? We will have to do more testing but we cannot get to this for another day or so. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-16 07:26:38] |
KhaosTrader - Posts: 128 |
It seems that in my code, as chart data is loading , i am getting the sound events firing, as once they are loaded, then i clear the queue its fine. The reason why I mention multiple charts , is because then there is a lot of data being loaded at the time the program is started. Ok , thank you for testing this , i understand it will be a day or two, that is fine. |
[2016-03-19 04:15:33] |
Sierra Chart Engineering - Posts: 104368 |
We do see this problem and we are correcting it now. We will have a new release out later this evening. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-19 10:33:46] |
KhaosTrader - Posts: 128 |
Thank you, much appreciated.
|
[2016-03-19 17:50:53] |
Sierra Chart Engineering - Posts: 104368 |
This has been released. Update to the latest prerelease.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2016-03-19 19:47:32] |
KhaosTrader - Posts: 128 |
Hi, I see that there is a PreRelease: 1383 (March 19, 2016), that is on the website, I assume this has the fix... However when will this version become a "current release" version? I installed the prerelease just now.. but I assume a version that is "current release" would be more stable... ? |
[2016-03-20 00:06:57] |
Sierra Chart Engineering - Posts: 104368 |
Refer to this information here: https://www.sierrachart.com/index.php?page=doc/download.php#AboutPrereleases Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: