Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 11:01:07 +0000



Post From: TickValue & PointValue for Instrument

[2024-06-10 00:19:58]
emmanuel - Posts: 57
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