Login Page - Create Account

Support Board


Date/Time: Sun, 01 Nov 2026 13:00:02 +0000



scsf_Parabolic in Studies.cpp seems broken with v2950 changes

View Count: 293

[2026-09-15 17:14:07]
User719512 - Posts: 521
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.
imagesierra-parabolic.png / V - Attached On 2026-09-15 17:13:51 UTC - Size: 30.26 KB - 56 views
[2026-09-15 17:48:29]
John - SC Support - Posts: 48377
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
[2026-09-15 19:42:36]
Sierra_Chart Engineering - Posts: 25339
We apologize for this. We started work on this, but did not finish it at the time release was made.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-09-16 22:16:11]
User719512 - Posts: 521
Fixed in v2952. Will take some getting used to the "look" of the new/extra digits after the decimal for doubles, but this is a huge step forward everywhere. Great updates to all the other studies. Thx Sierra!
[2026-09-17 04:13:49]
Sierra_Chart Engineering - Posts: 25339
There should be a solution to the extra digits, but it is not so simple. We will have to go very deep down into the formatting functions and figure out the solution.

These are not the standard, compiler provided, number formatting functions. We have our own based on open source code which are very high performance compared to what Microsoft provides
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2026-09-17 04:14:29

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

Login

Login Page - Create Account