Login Page - Create Account

Support Board


Date/Time: Sat, 13 Sep 2025 12:34:46 +0000



Post From: TickValue & PointValue for Instrument

[2024-06-10 00:19:58]
emmanuel - Posts: 63
In your function `GetTicksPerPoint(SCStudyGraphRef sc, float tickSize)` you are dividing by tickSize. If the tick size somehow ends up being zero, you'll get a division by zero error. That would probably crash your study.

It's worth handling that situation.
Date Time Of Last Edit: 2024-06-10 00:20:17