Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 08:06:03 +0000



Post From: Caught an unhandled exception in AsyncWindowProc for ACSIL Study

[2015-11-22 01:09:27]
Jayturn - Posts: 15
I have been developing a custom ACSIL study for quite some time and recently this exception message has started arising a few minutes after the study has loaded. It is being run on historical data only. Unfortunately I don't have any way of debugging the exception logic myself to identify where I may be going wrong in my code. Can you please provide me with information relating to where this error is triggered and what commonly causes it so I can resolve my code accordingly?

Steps taken to reproduce issue:
- Open SierraCharts
- Disconnect from Data Feed
- Open Chart Book where the custom ACSIL study is attached
- Wait a few minutes for the exception message to be logged in the Message Log Window

Copy of the Log is below:

Software version: 1323 | 2015-11-22 00:48:18
Uses New Spreadsheets | 2015-11-22 00:48:18
Usage end date: 2015-11-22 | 2015-11-22 00:48:18
Enabled for: Advanced Features. | 2015-11-22 00:48:18
Enabled for: Advanced Features 2. | 2015-11-22 00:48:18
Enabled for: Sierra Chart Historical Data Service. | 2015-11-22 00:48:18
Allow Support for Sierra Chart Data Feeds is enabled. | 2015-11-22 00:48:18
Current selected Data/Trading service: SC Historical Data | 2015-11-22 00:48:18
Chart Update Interval: 500 | 2015-11-22 00:48:18
Time Zone: +00:00:00 (UTC+00) | 2015-11-22 00:48:18
2015-11-21 19:48:18 Local computer time | 2015-11-22 00:48:18
2015-11-22 00:48:18 Local computer time in UTC | 2015-11-22 00:48:18
2015-11-22 00:48:18 Local computer time in SC Time Zone | 2015-11-22 00:48:18
Program path: C:\SierraChart\ | 2015-11-22 00:48:18
Data Files path: F:\Trading\Data\SierraCharts\ | 2015-11-22 00:48:18
OS Version Number: 6.2 | 2015-11-22 00:48:18
Locale Information: C | 2015-11-22 00:48:18

Checking for new symbol settings for ddf | 2015-11-22 00:48:18
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236 | 2015-11-22 00:48:18
HTTP connection to www.sierrachart.com:80 (3) | Connected. | 2015-11-22 00:48:20

SC Historical Data | Connected to data server. | 2015-11-22 00:48:23
SC Historical Data | Historical Intraday data will now be requested. | 2015-11-22 00:48:23
File >> Disconnect selected. | 2015-11-22 00:48:29
SC Historical Data | Disconnected | 2015-11-22 00:48:29
Symbol settings are up-to-date for ddf | 2015-11-22 00:48:30
Notice: The study 'Support and Resistance Lines' has sc.FreeDLL set to true. Use only during development! Set to false to reduce CPU time. | 2015-11-22 00:48:31
Intraday data recording state for symbol ESH13 is set to download 'Pending'. | 2015-11-22 00:48:31
HD Request # 2 | Downloading Intraday chart data for ESH13 to the file ESH13.scid. Service: cme | 2015-11-22 00:48:31
HD Request # 2 | Download start Date-Time: 2013-03-15 13:29:59.000 | 2015-11-22 00:48:31
HD Request # 2 | Using server: scdf1.sierracharts.com port 10149 | 2015-11-22 00:48:31
Socket (0) | Resolved address ds6.sierracharts.com to IP 8.18.161.131 | 2015-11-22 00:48:31
Socket (4) | Connected. | 2015-11-22 00:48:34
HD Request # 2 | Sending historical data logon request message. | 2015-11-22 00:48:34
HTTP connection to www.sierrachart.com:80 (3) | Closed. No error. | 2015-11-22 00:48:35
HTTP connection to www.sierrachart.com:80 (3) | Shutdown and closed. | 2015-11-22 00:48:35
HD Request # 2 | Requesting Intraday data. Start Date-Time: 2013-03-15 13:29:59. Record interval: 0. Symbol: ESH13 | 2015-11-22 00:48:38
HD Request # 2 | Decompressing data. | 2015-11-22 00:48:41
HD Request # 2 | Receiving Intraday data for ESH13 starting at 2013-03-15 13:29:59 | 2015-11-22 00:48:41
Socket (4) | Shutdown and closed. | 2015-11-22 00:48:41
The network socket for historical data has been closed. | 2015-11-22 00:48:41
Chart #3 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #3 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #5 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #5 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #4 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #4 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:42
HD Request # 2 | Historical data for ESH13 is delayed because connection to main data feed is not present. Current data will be received upon connection. | 2015-11-22 00:48:42
HD Request # 2 | Received 4 records from 2013-03-15 13:29:59 to 2013-03-15 13:29:59 (0.0 seconds) and wrote 0 records for ESH13 | 2015-11-22 00:48:42
HD Request # 2 | Intraday download COMPLETE for ESH13. Completion time: 11s. Unique request ID: 1 | 2015-11-22 00:48:42
Removed historical data download ID 1 | 2015-11-22 00:48:42

ESH13 50 Trades #1 | Performing a full recalculation because it has been tagged. Chartbook: JayES.cht | 2015-11-22 00:48:42
Chart #2 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:54
Chart #3 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:54
Chart #4 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:54
Chart #5 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:54
Chart #7 has tagged chart #1 for full recalculation. Chartbook: JayES.cht | 2015-11-22 00:48:54
ESH13 50 Trades #1 | Performing a full recalculation because it has been tagged. Chartbook: JayES.cht | 2015-11-22 00:48:54
Caught an unhandled exception in AsyncWindowProc. Message: 1025, wParam: 5, lParam: 72 | 2015-11-22 00:51:17 *