Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 20:36:40 +0000



Post From: Working with sc.GraphDrawType

[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?