Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 00:12:14 +0000



unhandled exception when doing a bar based backtest

View Count: 944

[2014-06-23 18:33:49]
Bob77 - Posts: 17
Hello,

I am trying to backtest a simple trade system using the spreadsheet system for trading study. The system enters long re. short on the close of a daily outside bar, with an attached order for both the stop loss and the take profit.

However, once I begin the bar based backtest, the same error message appears numerous times in the message log:

An unhandled exception was caught in c_Chart::WindowProc. Message: 32769, wParam: 34003, lParam: 0 | 2014-06-23 20:24:47
An unhandled exception was caught in c_Chart::WindowProc. Message: 275, wParam: 100, lParam: 0 | 2014-06-23 20:24:47
An unhandled exception was caught in c_Chart::WindowProc. Message: 275, wParam: 100, lParam: 0 | 2014-06-23 20:24:47
An unhandled exception was caught in c_Chart::WindowProc. Message: 275, wParam: 100, lParam: 0 | 2014-06-23 20:24:47
An unhandled exception was caught in c_Chart::WindowProc. Message: 275, wParam: 100, lParam: 0 | 2014-06-23 20:24:47
...

Even though there are markers on the chart, where the system would have taken a trade, there are no trades recorded in the trade activity log.

Could you have a look please?
[2014-06-23 19:19:25]
Sierra Chart Engineering - Posts: 104368
Are you using the non-CLR version of Sierra Chart? If you are not sure, then most likely you are not.

Are you using any non-built-in studies? For more help with this, refer to help topic 17 here:
http://www.sierrachart.com/index.php?l=doc/helpdetails17.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2014-06-23 19:19:40
[2014-06-23 19:27:49]
Bob77 - Posts: 17
I am using the normal version, and have recently updated to 1149. I am running on Windows 8.1

Also I am not using any non-built-in studies. The only studies that I am using are the volume and ATR one.
[2014-06-24 18:45:21]
Sierra Chart Engineering - Posts: 104368
We tried duplicating the problem but could not.

In order to isolate the problem, only open a single chart. And create a new spreadsheet with a different name that you use with the Spreadsheet study and then try running the back test again.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account