Support Board
Date/Time: Fri, 19 Dec 2025 08:40:50 +0000
Post From: CPU exception
| [2021-10-30 06:11:55] |
| Tony - Posts: 660 |
|
Hi bradh, I finally had time to do some investigation, thanks for the tips and tricks, they worked great! It turned out that the issue is related to s_BarPeriod::IntradayChartBarPeriodParameter1, I used it as denominator in my coding, after I changed the code from: BarPeriod.IntradayChartBarPeriodParameter1 to max(BarPeriod.IntradayChartBarPeriodParameter1, 1), I don't get CPU exception message anymore. Not sure why it happened, because I never set bar period to 0-0-0, there are always some numbers. Thanks again, Date Time Of Last Edit: 2021-10-30 06:13:27
|
