Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:32:47 +0000



Charts stopped displaying properly with Custom Indicators drawing with GDI

View Count: 638

[2023-09-25 03:46:59]
User339987 - Posts: 13
Hi,

Some of my charts will stopped displaying properly after running for some time. When that happened, the whole instance will stopped function correctly, all the menu items, popup windows will not display properly.

I have some custom indicators running drawing with GDI functions.

Wondering if you have seen something like this before, or can give some pointers as to how to find out what is wrong, or maybe hitting certain system limits?

Because the whole instance stopped working properly, I have not been able to export the image with prescribed method, please pardon me for attaching with a shared links:

Working State:
http://nextcloud.loudersilence.net/index.php/s/an5bNfECPC6atdb

Broken State:
http://nextcloud.loudersilence.net/index.php/s/bDfBSNHMB3RYn52

Thank you very much!
[2023-09-25 09:16:53]
User907968 - Posts: 823
Some of my charts will stopped displaying properly after running for some time. When that happened, the whole instance will stopped function correctly, all the menu items, popup windows will not display properly.

I have some custom indicators running drawing with GDI functions.

GDI object or User Object leak in your custom study.
Check both of the above in task manager, on the details tab (you might need to add those columns, as they don't show by default).
Date Time Of Last Edit: 2023-09-25 09:17:22
[2023-09-25 20:44:02]
User339987 - Posts: 13
Thank you very much!! Will check those.
[2023-09-26 01:50:35]
Sierra_Chart Engineering - Posts: 17187
Use the new ACSIL drawing functions, which completely avoids problems with GDI object leaks or other exception issues. Refer to the Version Notes for the latest version:
https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2551

This will definitely solve the problem.
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
[2023-10-11 04:09:01]
User339987 - Posts: 13
Hi,

Switched to the new drawing functions, and everything has been working great.

Before the GDI objects count used to ran up to 9,999, now it's staying around the same as since the instance started.

Thank you so very much!!

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

Login

Login Page - Create Account