Login Page - Create Account

Support Board


Date/Time: Sat, 15 Nov 2025 13:05:03 +0000



[Programming Help] - Custom Study: Apply changes twice causes unexpected/undesired outcomes

View Count: 19

[2025-11-15 03:22:09]
DirtyGoats - Posts: 7
Good day and thank you for your time in advance.

Wasn't sure how to properly title this, but I have a custom study that I'm toying around with that draws rectangles from a candle and extends it right. When I apply the study...click "ok" while in the Study Settings menu...click "OK" in the Chart Studies window the chart will perform its "Calculating Study..." and things work perfectly. HOWEVER, if I go into the study a second time and make an input change and click "OK" in the study settings menu I'll get certain rectangles that will also extend all the way left...while also extending to the right. It doesn't impact all rectangles though. so i'm not sure what's really happening or how to resolve. What part of my code would need to be shared to help troubleshoot? Or is there something i might simply be missing that needs to be added?
imagebefore.png / V - Attached On 2025-11-15 03:16:01 UTC - Size: 2.21 KB - 8 views
imageafter.png / V - Attached On 2025-11-15 03:16:07 UTC - Size: 2.58 KB - 7 views
Attachment Deleted.

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

Login

Login Page - Create Account