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 ageeholdings, Today, 05:22 AM
    0 responses
    3 views
    0 likes
    Last Post ageeholdings  
    Started by llanqui, 04-28-2024, 10:32 AM
    2 responses
    17 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by DroneBlackCa, Today, 05:17 AM
    0 responses
    3 views
    0 likes
    Last Post DroneBlackCa  
    Started by tradingnasdaqprueba, 04-09-2024, 09:52 AM
    7 responses
    49 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by deamenvc, Today, 05:00 AM
    0 responses
    4 views
    0 likes
    Last Post deamenvc  
    Working...
    X