Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 18:18:35 +0000



[Programming Help] - The Custom DLL study has just caused a CPU exception

View Count: 497

[2020-04-16 19:44:15]
User712062 - Posts: 14
Hello. Would you please tell me why this is happening.Those 3 custom dll worked for a while. suddenly I can not work with them anymore.I made them.I don't know if it has anything to do with this problem. but in all 3 this cpu exception started when I worked with time variables.
From the moment I remove the study from the chart and restart sierra I can not use them anymore Even if I remove the time variables I was testing.
I use message log a lot for testing.Does it has anything to do with the CPU exception?I also use build Advance Custom Studies DLL quite often.
This are some of the functions I was using.I hope you can help me. Thanks in advance. Regards. Bill.

time = std::modf(sc.BaseDateTimeIn[ri], &date);

SCDateTime scdTime = time, scdOldTime = oldTime; scdTime.RoundDateTimeDownToSecond(); scdOldTime.RoundDateTimeDownToSecond();

SCString TimeString = sc.TimeToString(sc.CurrentSystemDateTime);

SCString DateString = sc.DateToString(sc.CurrentSystemDateTime);

int CurrentBarDate = sc.BaseDateTimeIn[sc.Index].GetDate();

int Time = sc.BaseDateTimeIn.TimeAt(sc.Index);

int Time = sc.BaseDateTimeIn.TimeAt(MiddleIndex);

int CurrentBarTime = sc.BaseDateTimeIn[sc.Index].GetTime();

SCDateTime StartDateTime = sc.BaseDateTimeIn[MiddleIndex].GetDate();

int StartBarIndex = sc.GetContainingIndexForSCDateTime(sc.ChartNumber, StartDateTime);

Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2020-04-16 12:10:23.966 *
Warning: The Custom DLL study "PROFILEDYNAMIC_64.scsf_AdjustSwingsCE" has just caused a CPU exception. | 2020-04-16 12:11:07.046 *

Warning: The Custom DLL study "PROBANDOLINEAS_64.scsf_SwingHighAndLowCustom" has just caused a CPU exception. | 2020-04-16 15:12:54.036 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2020-04-16 15:12:54.036 *

Warning: The Custom DLL study "MIOBETTERVOLUME_64.scsf_BetterVolume" has just caused a CPU exception. | 2020-04-16 15:18:08.295 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2020-04-16 15:18:08.295 *

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account