Support Board
Date/Time: Fri, 14 Mar 2025 15:30:12 +0000
Accessing all horizontal lines on a chart for all symbols
View Count: 138
[2024-12-29 17:14:03] |
sean3000 - Posts: 65 |
I'm trying to access all horizontal line drawings on a chart, including for symbols that are not the currently displayed symbol. GetUserDrawnChartDrawing() seems to only return drawings that match the current chart's displayed symbol. Example: 1. Chart 1 currently displaying NVDA with a horizontal line at 141 2. Chart 2 currently displaying MSFT with a horizontal line for NVDA at 139 When using GetUserDrawnChartDrawing() on Chart 1: - Returns the 141 line since chart is displaying NVDA When using GetUserDrawnChartDrawing() on Chart 2: - Returns nothing, even though there is an NVDA line at 139 As a workaround, I'm using GetUserDrawnDrawingByLineNumber() and looping through a large range of negative numbers like -1 to -9999. This is inefficient but will find all lines regardless of which chart/symbol is currently displayed. Is this intended behavior of GetUserDrawnChartDrawing()? If so, is there a way to access all drawings across charts besides iterating through line numbers? |
[2024-12-30 01:24:08] |
Sierra_Chart Engineering - Posts: 18784 |
In the charts that you are accessing from ACSIL regarding Chart Drawings, make sure this Chart Setting for those charts is set to Yes: Chart Settings: Show Chart Drawings For Different Symbols (Chart >> Chart Settings >> Chart Drawings menu) Otherwise, there is no solution. The behavior you see is as intended. 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 Date Time Of Last Edit: 2024-12-30 01:24:37
|
To post a message in this thread, you need to log in with your Sierra Chart account: