Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Call for Master instrument name in script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Call for Master instrument name in script

    Hello. How to call for Master instrument name? I tried like this in MyIndicator(string symbol)
    Add(MyIndicator(Instrument.MasterInstrument.Name)) ;
    But it doesn't work.
    Because script see "EURUSD" instead of "$EURUSD"
    Last edited by alexstox; 07-23-2014, 01:57 AM.

    #2
    alexstox, I would suggest instead using the fullname here - https://www.ninjatrader.com/support/...t_fullname.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    213 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    122 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    145 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    228 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    189 views
    0 likes
    Last Post CarlTrading  
    Working...
    X