Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 13:48:26 +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