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 hazylizard, Today, 08:38 AM
    0 responses
    0 views
    0 likes
    Last Post hazylizard  
    Started by Max238, Today, 01:28 AM
    5 responses
    42 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by giulyko00, Yesterday, 12:03 PM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by habeebft, Today, 07:27 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherS  
    Started by AveryFlynn, Today, 04:57 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X