Support Board
Date/Time: Tue, 26 Nov 2024 22:15:56 +0000
Cannot find ACSIL to Show/Hide an individual Tool.Level[ ]
View Count: 288
[2023-10-12 14:30:43] |
User92573 - Posts: 530 |
Dear Support I've looked through the documentation and the header file .h but cannot locate the the means to replicate the "Show Levels" checkbox as can be seen/selected in the retracement tools and similar. //.h DrawingType = DefaultUseTool.DrawingType; LineWidth = DefaultUseTool.LineWidth; LineStyle = DefaultUseTool.LineStyle; // ------------------------------------- // SCSFExport scsf_UseToolExampleRewardRisk(SCStudyInterfaceRef sc) Tool.LevelColor[0] = COLOR_DARKRED; Tool.LevelStyle[0] = LINESTYLE_SOLID; Tool.LevelWidth[0] = 2; // But no equivalent to Hidden // I can select exclude code block to comment out the block for that level but then I cannot reselect/make visible when the tool is selected. Please can you provide example ACSIL code to set individual levels to show/hide. Many thanks. Date Time Of Last Edit: 2023-10-12 14:36:51
|
[2023-10-12 14:43:17] |
User431178 - Posts: 543 |
Using Drawing Tools From an Advanced Custom Study: s_UseTool::RetracementLevels[] Set the relevant value(s) in the RetracementLevels array to FLT_MAX |
[2023-10-12 16:35:35] |
User92573 - Posts: 530 |
Hi, thank you but not the solution I was looking for as it loses the set value. The sc tool has a simple check box alongside each level that either shows/or hides the individual preset level. It doesn't require the float value be set to [0]. I'm looking for the the code to access the Show/Hide without changing preset level values. Not in .h or structures. It was queried years ago here: Hide Retracement Levels for a Price Retracement Drawing using ACSIL But I cannot find any reference to ShowLines[] in the header, and still no way to initially set a specific line/level to hide. Hopefully Engineering will revisit the post. Date Time Of Last Edit: 2023-10-12 17:11:04
|
[2023-10-12 17:41:44] |
User431178 - Posts: 543 |
Hi, thank you but not the solution I was looking for as it loses the set value.
Maybe not, but it is the only ACSIL accessible solution that currently exists. |
To post a message in this thread, you need to log in with your Sierra Chart account: