Support Board
Date/Time: Tue, 25 Feb 2025 15:55:57 +0000
[Programming Help] - Problem on sc.Input
View Count: 577
[2021-04-13 14:13:18] |
User554446 - Posts: 29 |
Hi, I am setting on one indicator I am building the sc.Input in order to accept float as input. I am using the code sc.Input[2].SetFloat(4.0f). Problem is that in the input in the settings just accept integer. Should I have to change something or set other parameters to accept also the decimals? Thank you so much |
[2021-04-15 21:16:11] |
|
We are not understanding this. The sc.Input[].SetFloat function accepts a floating-point value even in the Settings Window.
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 Date Time Of Last Edit: 2021-04-15 21:16:59
|
[2021-04-16 11:46:43] |
User554446 - Posts: 29 |
Problem is that I use sc.Input[2].SetFloat(4.5f) and it in the input I find just for and not 4.5.. Thank you |
To post a message in this thread, you need to log in with your Sierra Chart account: