Support Board
Date/Time: Mon, 03 Feb 2025 10:16:03 +0000
Post From: Ascil example for DRAWSTYLE_HORIZONTAL_PROFILE ?
[2019-11-03 07:12:17] |
User574685 - Posts: 28 |
I found some code : SCSFExport scsf_mp(SCStudyInterfaceRef sc)
{ SCSubgraphRef sg1 = sc.Subgraph[0]; if (sc.SetDefaults) { sc.GraphName = "MP"; sc.GraphRegion = 0; sc.AutoLoop = 0; sg1.Name = "BidVolume"; sg1.DrawStyle = DRAWSTYLE_HORIZONTAL_PROFILE; sg1.PrimaryColor = RGB(64, 0, 0); return; } for(int i=sc.ArraySize -10;i< sc.ArraySize;i++) sg1[i] = sc.Close[i]; } It`s evidently can`t work properly It`s depicting some garbage at index close .. Howto feed data into that type of subgraf ? Thanks For Help Dave[/i][/i] Date Time Of Last Edit: 2019-11-03 12:02:52
|