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

Checking if a data source is connected

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

    Checking if a data source is connected

    How can I check if the data source (FXCM) is connected?

    #2
    Hello NinjaCustomer,

    Thank you for your note.

    I've attached a sample which will print the connection name to the output window.

    If you uncomment line 63, it will print to the output window when the connection is equal to the connection name FXCM.

    To test the script I suggest applying the indicator to a 1 second chart.

    I used Connection,


    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Irukandji, Today, 04:58 AM
    0 responses
    2 views
    0 likes
    Last Post Irukandji  
    Started by fitspressoburnfat, Today, 04:25 AM
    0 responses
    2 views
    0 likes
    Last Post fitspressoburnfat  
    Started by Skifree, Today, 03:41 AM
    1 response
    4 views
    0 likes
    Last Post Skifree
    by Skifree
     
    Started by usazencort, Today, 01:16 AM
    0 responses
    1 view
    0 likes
    Last Post usazencort  
    Started by kaywai, 09-01-2023, 08:44 PM
    5 responses
    604 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X