Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

how to determine the current forex pair on the trading char

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

    how to determine the current forex pair on the trading char

    And how to determine the current forex pair on the trading chart?

    Is it possible to inverse forex pair on trading chart?

    How check that this forex pair are existing

    What happens if I add on the chart not existing forex pair or future contract?
    Last edited by Daniel11; 05-11-2016, 06:28 AM.

    #2
    Hello Daniel11,

    Thank you for your post.

    If you wish to pull the Instrument Name in code you can use Instrument.FullName: http://ninjatrader.com/support/helpG...t_fullname.htm

    An inverse would require custom plotting. You can find an example of custom plotting under Tools > Edit NinjaScript > Indicator > CustomPlotSample in NinjaTrader.

    I am not sure on your question "how to check that this Forex pair exists". Do you mean in regards to your next question?

    If you add an instrument that does not exist it will be rejected as the database does not hold an entry for that non-existent instrument.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 08:14 AM
    3 responses
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frankthearm, Today, 09:08 AM
    0 responses
    2 views
    0 likes
    Last Post frankthearm  
    Started by samish18, Yesterday, 08:57 AM
    11 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by yertle, Today, 08:38 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by love2code2trade, Yesterday, 01:45 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X