Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 13:43:10 +0000



chart region of Line study not adhering

View Count: 540

[2016-05-05 13:48:22]
@sstfrederik - Posts: 403
I used the source for the Line study form studies7 and created a new study. No changes were made to the source, I set sc.GraphRegion = 1; I find that when I want to add this study this line will always display itself in a new region, and not in the region 1 as it was set in the source.

I would like the Graphregion to be fixed for this study so that it will overlay on another study in the same region by default. Is there a way this can be forced instead of the user needing to check chart region?

thanks.
[2016-05-05 17:51:17]
Sierra Chart Engineering - Posts: 104368
To do what you want place sc.GraphRegion = 1; under and outside of the sc. SetDefaults code block.
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
[2016-05-05 18:23:25]
@sstfrederik - Posts: 403
thanks. that worked.

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

Login

Login Page - Create Account