Jump to content
Medved Trader Forums

other symbol data

Recommended Posts

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?

Link to comment
Share on other sites

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 


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...

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...