Support Board
Date/Time: Sun, 12 Jan 2025 12:48:46 +0000
Post From: Study subgraph returns -nan when referencing [sc.Index - 1]
[2017-02-15 17:51:04] |
Sierra Chart Engineering - Posts: 104368 |
The problem is not this: However, as soon as I try to reference ES[sc.Index -1], the result is -nan.
This means Not a Number and it may be the result of a divide by zero. Refer to: https://en.wikipedia.org/wiki/Division_by_zero#Computer_arithmetic 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 |