Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 04:41:28 +0000



ACSIL: Question about sc.Input[].SetDouble()

View Count: 76

[2025-03-05 16:05:01]
Tony - Posts: 564
Hi,

I am trying to manually calculate commissions:

if (sc.SetDefaults)
{
MesRoundTripCost.Name = "MES Round Trip Cost";
MesRoundTripCost.SetDouble(2.42);
MesRoundTripCost.SetDoubleLimits(0.0, 3.0);

EsRoundTripCost.Name = "ES Round Trip Cost";
EsRoundTripCost.SetDouble(4.38);
EsRoundTripCost.SetDoubleLimits(0.0, 6.0); // Cost = Exchange + NFA + Commission + Routing
}
But when I open the Study Settings window, I see additional digits added (attached a screen shot)
wonder is there anyway to remove them?

Thanks so much!
Date Time Of Last Edit: 2025-03-05 16:12:35
imageComm.png / V - Attached On 2025-03-05 16:04:34 UTC - Size: 25.81 KB - 17 views
[2025-03-05 16:16:43]
Tony - Posts: 564
After I removed those digits manually, save and restart Sierra,
and they never appear again, it's all good.

Thanks

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

Login

Login Page - Create Account