Login Page - Create Account

Support Board


Date/Time: Fri, 20 Sep 2024 06:58:10 +0000



Problem referencing subgraph values from an overlaid study in ACSIL

View Count: 1216

[2014-09-15 18:35:18]
WarEagle - Posts: 73
I wrote an indicator that draws a rectangle between two prices that come from another indicator using the overlay study code given in the documentation. It works great on an indicator applied directly to the chart. However, the values I would like to use are from the same indicator applied to a second chart (different time frame) and then overlaid on the main chart with the 'Study/Price Overlay' indicator. When I use subgraphs of the overlaid indicator for the values the drawing does not show up.

Is there a limitation in accessing subgraphs of an overlaid indicator or am I doing something wrong?

Thanks
[2014-09-15 20:04:48]
Sierra Chart Engineering - Posts: 104368
No limitation. You need to look at your code closely and see what the problem is.

Have a look at this example here:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILRefOtherTimeFrames.php#OverlayStudy

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-09-15 20:05:43
[2014-09-15 21:19:58]
WarEagle - Posts: 73
I am using that exact code snippet, thanks. I finally got it working. After getting a different overlaid indicator to plot properly I figured it must be in the overlay settings. After some trial and error it turns out the "Copy Source Data To Latest Corresponding Destination Bar" setting was set to no and when set to yes it works. The overlay worked fine without changing that setting so that is what threw me off.

So that is the solution in case someone finds this in a search for the same problem in the future.

Thanks again.

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

Login

Login Page - Create Account