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 rhyminkevin, Today, 04:58 PM
    0 responses
    6 views
    0 likes
    Last Post rhyminkevin  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    5 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    12 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    48 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    15 views
    0 likes
    Last Post bltdavid  
    Working...
    X