Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 12:00:13 +0000



GetYesNo

View Count: 669

[2018-11-11 15:31:49]
User336946 - Posts: 37
Hello. I'm having an issue where GetYesNo always returns 0, no matter what is set for the input. Any ideas?
[2018-11-12 01:13:25]
Sierra Chart Engineering - Posts: 104368
This would mean that the input is currently in a 0 or false state.

What you get for the value will be based upon what you see listed for the input in the Inputs list in the Study 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
[2018-11-12 01:16:33]
User336946 - Posts: 37
That’s the thing, it’s not. It’s currently set to Yes but code reports it as No. I’ll post example code tomorrow.
[2018-11-12 01:17:47]
Sierra Chart Engineering - Posts: 104368
Then you must be doing something wrong or misunderstanding something. There can be little doubt about that.
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
[2018-11-12 01:19:34]
User336946 - Posts: 37
I guess we will see when I show you the code that doesn’t work as expected. It’s possible for sure I’m doing something wrong but I write a lot of Sierra code so I wouldn’t bet on it. I’ve restarted Sierra now and it’s reading the right value, so it may have something to do with FreeDLL or something else not reading the settings right. I’ll leave you alone about it until I have a step by step repeatable issue.
Date Time Of Last Edit: 2018-11-12 01:56:22

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

Login

Login Page - Create Account