Support Board
Date/Time: Mon, 25 Nov 2024 02:32:36 +0000
Point Variable Size with Border primary color issue
View Count: 319
[2024-03-27 02:18:13] |
LudaTrades - Posts: 26 |
I've got some strange behavior with Point Variable Size with Border, no circles fill in except for circles located on the left visible bar. On OpenGL enabled I see outlines only with fills correct on left visible bar. On OpenGL disabled I see outlines with solid white fill and only correct fill on left visible bar. I made a simple test study to double check it wasn't anything in my code causing this. It seems to be a bug with the drawstyle, attached image for reference. SCSFExport scsf_BodyHighLow(SCStudyInterfaceRef sc)
{ SCInputRef Input_CircleSize = sc.Input[0]; SCSubgraphRef Subgraph_BodyHigh = sc.Subgraph[0]; SCSubgraphRef Subgraph_BodyLow = sc.Subgraph[1]; if (sc.SetDefaults) { sc.GraphName = "Candle Body High and Low"; sc.AutoLoop = 1; sc.GraphRegion = 0; Input_CircleSize.Name = "Circle Size"; Input_CircleSize.SetInt(10); Subgraph_BodyHigh.Name = "Body High"; Subgraph_BodyHigh.DrawStyle = DRAWSTYLE_POINT_VARIABLE_SIZE_WITH_BORDER; Subgraph_BodyHigh.PrimaryColor = RGB(0,255,0); Subgraph_BodyHigh.SecondaryColor = RGB(255,255,255); Subgraph_BodyLow.Name = "Body Low"; Subgraph_BodyLow.DrawStyle = DRAWSTYLE_POINT_VARIABLE_SIZE_WITH_BORDER; Subgraph_BodyLow.PrimaryColor = RGB(255,0,0); Subgraph_BodyLow.SecondaryColor = RGB(255,255,255); return; } float BodyHigh = sc.BaseDataIn[SC_LAST][sc.Index] >= sc.BaseDataIn[SC_OPEN][sc.Index] ? sc.BaseDataIn[SC_LAST][sc.Index] : sc.BaseDataIn[SC_OPEN][sc.Index]; float BodyLow = sc.BaseDataIn[SC_LAST][sc.Index] >= sc.BaseDataIn[SC_OPEN][sc.Index] ? sc.BaseDataIn[SC_OPEN][sc.Index] : sc.BaseDataIn[SC_LAST][sc.Index]; Subgraph_BodyHigh[sc.Index] = BodyHigh; Subgraph_BodyHigh.Arrays[0][sc.Index] = Input_CircleSize.GetInt(); Subgraph_BodyLow[sc.Index] = BodyLow; Subgraph_BodyLow.Arrays[0][sc.Index] = Input_CircleSize.GetInt(); } |
drawstyle_nofill.png / V - Attached On 2024-03-27 02:14:12 UTC - Size: 153.69 KB - 70 views |
[2024-04-09 21:12:53] |
Sierra_Chart Engineering - Posts: 17166 |
This is still pending review. We do not know how soon we can get to it.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: