Support Board
Date/Time: Sun, 05 May 2024 18:04:58 +0000
Post From: horizontal bars diagramm
[2019-01-01 10:36:40] |
MD236 - Posts: 28 |
Thanks for the really fast answer and a happy new year. I know this study but I want to realize this kind of diagramm from ASCIL because I want to display pulling and stacking and delta volume. I tried this code to display how often the same close appears: SCSFExport scsf_test(SCStudyInterfaceRef sc)
I attached the result. My questions here are:{ SCSubgraphRef sg1 = sc.Subgraph[0]; if (sc.SetDefaults) { // Set the configuration and defaults sc.GraphName = "test"; sc.GraphRegion = 0; sc.AutoLoop = 0; // manual loop sg1.Name = "BidVolume"; sg1.DrawStyle = DRAWSTYLE_HORIZONTAL_PROFILE; sg1.PrimaryColor = RGB(247, 77, 68); return; } for(int i=sc.ArraySize -10;i< sc.ArraySize;i++) sg1[i] = sc.Close[i]; } 1. how can I place the diagramm on the right edge of the chart 2. how can I setup it so it use only say 20% of the chart area? After this simple use I want to display the delta per price (I know how to get this values) like a volume profile but I need to know how to plot the delta per price because this is now working: sg1[price]=deltaValue;
|