Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 23:17:25 +0000



Post From: Suggested way of displaying InternalOrderID per bar in ACSIL?

[2022-04-07 21:22:16]
1+1=10 - Posts: 270
Hi jwick,

Storing it in a subgraph (visible on the chart value window) isn't reliable because of rounding issues with ints vs floats.

Yes, it's important to think about the distinction between floats and integers but it the effect is only relevant during calculations -- it does not affect display.

For example, if you have an InternalOrderId of 2358046 that gets stored as a float it might be stored as 2358056.00000001 but you get to choose the subgraph's value format. If you choose a "integer" value format with no decimals shown then it will be displayed as 2358056.

You can test this using auto-looping by writing sc.Index to a subgraph, and you'll see all the bars numbered as integers from 0 to sc.ArraySize - 1.