Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 04:55:00 +0000



Post From: Do I need to use 2 independent STUDIES?

[2017-02-03 10:08:34]
Sierra Chart Engineering - Posts: 104368
For each condition that is true on a particular chart bar you need to use a separate study sc.Subgraph. Each Subgraph can only have a single Draw Style. That Subgraph Draw Style applies across all chart bars.

Refer to the documentation here:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle

These need to be separate study Subgraphs. They cannot use the same SubgraphIndex
sc.Subgraph[SubgraphIndex].DrawStyle = DRAWSTYLE_SQUARE_OFFSET_LEFT_BODY;
sc.Subgraph[SubgraphIndex].DrawStyle = DRAWSTYLE_SQUARE_OFFSET_RIGHT_BODY;
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