Login Page - Create Account

Support Board


Date/Time: Sat, 27 Jul 2024 05:52:11 +0000



Detect Chart Region

View Count: 821

[2015-06-23 06:29:14]
CustomIndicators - Posts: 126
I just finished programming a new bot, but there is one thing that drives me insane. When I apply it to the chart with other subgraph indicators/bots, it doesn't draw some of the rays in the correct subgraph. Of course, this is because they are set to go into Region = 2;

Is there a code I can use to automatically detect which region the bot landed in, so that it can just keep itself in line? I really want to switch that FreeDLL to 0. :)
[2015-06-23 07:48:32]
Sierra Chart Engineering - Posts: 104368
sc.GraphRegion
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
[2015-06-23 13:22:19]
CustomIndicators - Posts: 126
Thank you. Works like a charm. :)

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

Login

Login Page - Create Account