Support Board
Date/Time: Thu, 16 Jan 2025 03:12:46 +0000
NewOrder.Price1 not getting initialised
View Count: 648
[2017-10-10 13:49:59] |
User553714 - Posts: 184 |
Hi, I am reading NewOrder.Price1 throughout the life of a study backtest. When I read and write this member without setting Price1 I would expect zero to be displayed but instead it displays what looks like uninitialised garble ie. long undefined numbers, either in scientic notation or very long integers. This is the only structure member that i am encountered this behaviour with, all the other structure members display zero when not set. It's not affecting my study as i only work with Price1 when i have set it but it does seem odd. Regard |
[2017-10-10 16:52:31] |
Sierra Chart Engineering - Posts: 104368 |
It is being set to DBL_MAX. This signifies it is unset. Since 0 can be a valid price. 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: