Login Page - Create Account

Support Board


Date/Time: Fri, 27 Jun 2025 03:53:45 +0000



Post From: CPU exception

[2021-10-30 06:11:55]
Tony - Posts: 595
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