Support Board
Date/Time: Thu, 12 Jun 2025 08:04:44 +0000
[Programming Help] - Hidden drawing levels - need clarification and read access function to Hide/Show of Levels
View Count: 374
[2022-11-07 19:25:18] |
JohnR - User831573 - Posts: 333 |
I have also searched and read forums streams about this topic that I could find. ex - ASCIL Hide Main Line Keep All Others It looks like there used to be a function or property that was used to show / no show a level. Please provide either the structure to use where I can find the array / values of Levels, or if there is a function I should use to get read access this Hide/Show check mark property for each level. I do understand the Level[x] value of FLT_MAX means the Level does not exist for this instance of a drawing object and don't draw it. I did 3 runs with VS2022 debugger and watch variables. I have 1 Pitchfork on a chart, and I can get its values correctly. In run #1 - all 4 levels are "Show checked" In run 2, I uncheck Level 3 the yellow line, then in run 3 I check it again. All 3 variable watches look the same for all 4 of the levels I am showing. But - as you can see from my debug sessions, There is no distinctions in any of the arrays related to Levels that show any difference with show / hide of a level during a test. Also doing a search within NotePad++ I came across 9 hits on the word Hide and all related to Menu, Study and DLL. Also there are hits for Tool.Show, but none refer to the Levels. only properties related to the overall drawing object. F:\SierraChart\ACS_Source\studies.cpp (22 hits) Line 1626: Tool.ShowPrice = 1; Line 1627: Tool.ShowPercent = 1; Line 1699: Tool.ShowPrice = 1; Line 1700: Tool.ShowPercent = 1; Line 2632: Tool.ShowEndPointPrice = 1; Line 2633: Tool.ShowAngle = 1; Line 2634: Tool.ShowPriceDifference = 1; Line 2635: Tool.ShowNumberOfBars = 1; Line 2636: Tool.ShowTimeDifference = 1; Line 2829: Tool.ShowLabels = 1; Line 2830: Tool.ShowLabelsAtEnd = 1; Line 3229: Tool.ShowTickDifference = 1; // text options Line 3230: Tool.ShowPriceDifference = 1; Line 3231: Tool.ShowCurrencyValue = 1; Line 3297: Tool.ShowEndPointTime = 1; Please advise. Thanks for your time to look into this. JohnR |
![]() |
To post a message in this thread, you need to log in with your Sierra Chart account: