Support Board
Date/Time: Tue, 15 Sep 2026 19:16:02 +0000
scsf_Parabolic in Studies.cpp seems broken with v2950 changes
View Count: 15
| [2026-09-15 17:14:07] |
| User719512 - Posts: 475 |
|
The prior code was: Input_StartAccelerationFactor.Name = "Start Acceleration Factor"; Input_StartAccelerationFactor.SetFloat(0.02f); Input_StartAccelerationFactor.SetFloatLimits(0.000001f, static_cast<float>(MAX_STUDY_LENGTH)); The new code is: Input_StartAccelerationFactor.Name = "Start Acceleration Factor"; Input_StartAccelerationFactor.SetDouble(0.02); Input_StartAccelerationFactor.SetFloatLimits(0.000001, MAX_STUDY_LENGTH); When I add the study, it shows a ~6e-315 value and selecting the input changes the value to 0, and no value seems valid to enter there. I cannot see the internals for how Set*Limits() is implemented, but I am guessing the union where FloatValueMin/Max are being set are not the right values/size and the SetDouble() is causing the code to correctly use DoubleValueMin/Max because of "ValueType = DOUBLE_VALUE;" in the SetDouble() call. |
| |
| [2026-09-15 17:48:29] |
| John - SC Support - Posts: 47901 |
|
We will look into this. It is fine in version 2949. If you need to go back to 2949, then follow these instructions: Software Download: Full Control Rollback Procedure For the most reliable, advanced, and zero cost futures order routing, use 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:
