Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 00:37:35 +0000



[Programming Help] - Working with sc.GraphDrawType

View Count: 693

[2019-11-05 17:06:38]
brenanstewart - Posts: 28
I programmed a study and currently have it using sc.Subgraph[0].DrawStyle = DRAWSTYLE_LINE. Instead of drawing a line, I want it to plot candlesticks. It looks like in order to do this I need to use sc.GraphDrawType = GDT_CANDLESTICK. I've been referencing this page:

ACSIL Interface Members - Variables and Arrays: sc.GraphDrawType

I haven't been able to get it to work using sc.Subgraph[SC_OPEN][], sc.Subgraph[SC_HIGH][], sc.Subgraph[SC_LOW][], sc.Subgraph[SC_LAST][]. Is there an example study I can look at that uses GDT_CANDLESTICK (or something similar) for the Graph Draw Type?
[2019-11-05 17:47:27]
Ackin - Posts: 1865
scsf_AskBidVolumeDifferenceBars
scsf_UpDownVolumeDifferenceBars
scsf_CumulativeDeltaBarsVolume
scsf_CumulativeDeltaBarsTicks
scsf_CumulativeDeltaBarsTickVolume

in the /ACS_Source folder in the folder Sierra Chart is installed -> Studies8.cpp


To the extent there are any examples, they would be in the /ACS_Source folder that is included with your Sierra Chart install. Refer to the information here for how to search through those files for potential example programs:
How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies

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

Login

Login Page - Create Account