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

add cfd-instrument in script

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

    add cfd-instrument in script

    Hello,

    I couldn´t find how to add cfd instruments (data fxcm) in the script like I do for futures with eg "Add("NQ 12-16", PeriodType..."

    What do I have to write in Initialize when I want to add CFD UK100 and FRA40?

    Thank you
    Tony

    #2
    Hello tonynt, and thank you for your question.

    If you visit any instrument selector, such as the one in the upper left corner of a chart, and press the magnifying glass icon, you will be taken to a search screen. If you then type "cfd" in the filter, you will see a list of CFD type instruments, including UK100 and FRA40 . If you then select and add one of these instruments, you will see how it should be displayed in a string.

    I am including a picture where I have searched for every cfd instrument in the search screen, and another picture where I have added every CFD instrument in the form Ninja expects it in e.g. a NinjaScript string. Please let us know if there are any other ways we can help.
    Attached Files
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ScottWalsh, Today, 06:52 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by ScottW, Today, 06:09 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by ftsc2022, 10-25-2022, 12:03 PM
    5 responses
    256 views
    0 likes
    Last Post KeyonMatthews  
    Started by Board game geek, 10-29-2023, 12:00 PM
    14 responses
    244 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Waxavi, 04-19-2024, 02:10 AM
    4 responses
    56 views
    0 likes
    Last Post sonia0101  
    Working...
    X