Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 14:16:05 +0000



Custom Study throws error intermittently on Market Profile (TPO) chart

View Count: 611

[2021-03-06 22:48:22]
User587930 - Posts: 13
Hello,

I created a custom study to allow me to change a chart's tick size by clicking an Advanced Custom Study Button. On button click, I set sc.TickSize to a tick size value and then set sc.FlagToReloadChartData to 1. The study works as expected on a regular bar chart. Occasionally though it will throw an error on a Market Profile chart and it is more likely to happen when clicking between the Advanced Custom Study buttons I've assigned to my different tick sizes.

I've pasted the logs below. The error is thrown prior the the chart being reloaded.



Chart: LRCX[M] #6 - Period: 1 Weeks, TPOs: 0.01 x 30 min | Study: Custom Tick Size Buttons | Got event id 4, ACS Button On Event, | 2021-03-06 14:38:32.363
LRCX[M] #6 | Reloading chart. | 2021-03-06 14:38:32.381
Chart: LRCX[M] #6 - Period: 1 Weeks, TPOs: 0.50 x 30 min | Study: Custom Tick Size Buttons | Got event id 4, ACS Button Off Event | 2021-03-06 14:38:48.800
Chart: LRCX[M] #6 - Period: 1 Weeks, TPOs: 0.50 x 30 min | Study: Custom Tick Size Buttons | Got event id 3, ACS Button On Event, | 2021-03-06 14:38:48.814
LRCX[M] #6 | Caught an unhandled exception in c_Chart::WindowProc. Message: 15, wParam: 0, lParam: 0 | 2021-03-06 14:38:48.816 *
LRCX[M] #6 | Reloading chart. | 2021-03-06 14:38:48.883

[2021-03-08 10:51:14]
Sierra_Chart Engineering - Posts: 14234
Run Sierra Chart in Safe Mode and see if this resolves the issue:
Sierra Chart - Software Login Instructions: Using Safe Mode

This prevents all custom studies from being used.

The problem may not be from a custom study and the reason for this needs to be isolated.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2021-03-08 10:51:31
[2021-03-08 18:50:25]
User587930 - Posts: 13
Running Sierra Chart in safe mode doesn't show any errors in the logs. I'm not certain that was a good test though since I'm setting tick size using different methods. In safe mode, I used chart settings compared to the ACS buttons out of safe mode.

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

Login

Login Page - Create Account