Support Board
Date/Time: Sat, 28 Dec 2024 09:29:26 +0000
[User Discussion] - ACSIL Drawing Question
View Count: 770
[2016-02-13 11:31:52] |
User55519 - Posts: 37 |
Hello, I am searching everywhere but cannot find an answer to this. I have a study that does some math, and ends up with a number between -100 and 100, once per bar. I want to plot a line in region 2 or something that will be continuous, like a moving average or RSI/MACD, etc. I have everything figured out and have tested in debugging, but I do not know how to make a continuous line with no breaks. Right now I'm using orange diamond drawing style with this code: sc.Subgraph[0].DataColor[sc.Index] = sc.Subgraph[1].PrimaryColor;
sc.Subgraph[0][sc.Index] = myNumberHere; It's working but looks terrible. I really need a line. Anyone have some sample code or something that can show me the error of my ways? I actually need to draw 3 separate lines. Not sure if that changes anything about the above. Thanks to anyone who can save me here! Date Time Of Last Edit: 2016-02-13 11:36:49
|
[2016-02-14 01:11:29] |
Kiwi - Posts: 375 |
Why not use the line drawing style sc.Subgraph[0].DrawStyle = DRAWSTYLE_LINE; |
To post a message in this thread, you need to log in with your Sierra Chart account: