Support Board
Date/Time: Fri, 10 Jan 2025 16:11:49 +0000
Post From: ACSIL - Getting the symbol for another chart
[2016-09-09 04:56:18] |
William O - Posts: 16 |
I would like to know the symbol of another chart. In my case I have a study that has the chart number for another chart from which I would like to submit orders. I need to know the symbol for the other chart so I can use the sc.BuyOrder and sc.SellOrder functions. With a chart number I can get the BaseData and the ChartName. To my knowledge BaseData does not contain any symbol info. The ChartName contains the symbol for that chart which I can extract but is unreliable because the name of the chart changes ( e.g. when i do a chart replay ). Is there a way that I can reliably know the symbol for another chart (perhaps something like sc.GetChartSymbol() ) ? Thanks in advance! |