Kasper Posted May 11, 2023 Report Share Posted May 11, 2023 I see following in Beta 9880.100. ADDED - PAINTBARS/SCANS - Ability to reference other symbol data. NOTE: Calculations are only triggered by primary symbol's changes, not secondary one Can you tell which function is it? Quote Link to comment Share on other sites More sharing options...
nasdorq Posted May 11, 2023 Report Share Posted May 11, 2023 Interesting new feature. A few questions: -does the secondary symbol need to be in a portfolio or another primary chart in order to stream? -does the secondary symbol use the same data source at the primary symbol? or smartsource? -is it possible to use indicator values for the secondary symbol, for example a volume delta? Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted May 11, 2023 Report Share Posted May 11, 2023 this feature is done via GetSymbolData(String symbol) for example, to get the SymbolData object for AAPL, you could do: var otherSymbolData = GetSymbolData("AAPL"); then reference otherSymbolData.Ask for example. Properties within othersymbolData would be same as referencing this.SymbolData NOTE: the paintbar will NOT cause the data for the other symbol to stream, backfill, etc. You need to have that symbol actively getting data by having it in the portfolio getting data, or a chart, index panel. Cannot do indicator values on the secondary symbol. You could do another paintbar and do SetInterVar for that, though does get complicated... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.