Support Board
Date/Time: Fri, 21 Feb 2025 18:50:48 +0000
Post From: How to change drawing order (above|below) of subgraphs in ACSIL study?
[2021-01-17 11:14:45] |
User164131 - Posts: 19 |
Hello, I am trying to make my own study based on your examples. It has two subgraphs: 1. extension line of VPOC (as a line) 2. VPOC of the bar (as a dash) SCSubgraphRef Subgraph_ExtensionLines = sc.Subgraph[0]; SCSubgraphRef Subgraph_VPOC = sc.Subgraph[1]; The question is how to draw an extension line below (underneath) the dash? I tried to change the order of subgraphs (VPOC as SG1, extension line as SG2) and vice versa but unfortunately, the extension line always draws above the dash (see screenshot). P.S. VPOC code Subgraph_VPOC.Data[BarIndex] = sc.TicksToPriceValue(VolumeAtPrice.PriceInTicks); extension line code n_ACSIL::s_LineUntilFutureIntersection LineUntilFutureIntersection; LineUntilFutureIntersection.StartBarIndex = BarIndex; LineUntilFutureIntersection.LineValue = sc.TicksToPriceValue(VolumeAtPrice.PriceInTicks); LineUntilFutureIntersection.LineColor = Subgraph_ExtensionLines.PrimaryColor; LineUntilFutureIntersection.LineWidth = Subgraph_ExtensionLines.LineWidth; LineUntilFutureIntersection.LineStyle = Subgraph_ExtensionLines.LineStyle; sc.AddLineUntilFutureIntersectionEx(LineUntilFutureIntersection); |
![]() |