Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 02:30:38 +0000



[Programming Help] - How to monitor changes to TPO chart?

View Count: 112

[2025-02-13 03:51:38]
Mark Lewis - Posts: 27
What is the best way to trigger a custom study to run when "right-click" menu items are used on a TPO chart (i.e. Letter/Blocks In Own Column, or Merge With Next Profile)?

I would like to continue using manual looping for performance reasons and have the following set in defaults:

sc.AutoLoop = 0;

Any ideas or thoughts? Thanks!
[2025-02-14 17:07:34]
cmet - Posts: 690
Can you explain exactly what it is you're trying to do?

After you execute the item on the right click menu, what's supposed to happen?

Does it add another study to the chart? Does it execute code and post output somewhere?
[2025-02-14 20:14:37]
Mark Lewis - Posts: 27
Can you explain exactly what it is you're trying to do?

I needed this. As I was writing my response to explain it to you, I realized my error. I was confounding it with an issue I'm experiencing in another custom study I'm working on. In this case, I wasn't resetting my subgraph values. While new computations were taking place, old computations that no longer met the criteria to show the subgraph value were not removed.

It's probably a similar problem with my other custom study, which I should be able to resolve by tracking the rectangles I create via the custom study.

Anyways, thank you very much for helping me.

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

Login

Login Page - Create Account