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

Addional dataseries CL in script

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

    Addional dataseries CL in script

    Hello,

    when I use in my code "Add("$USOIL",PeriodType.Range,4);" (from fxcm) it works correct in my indicators and scripts. When I do "Add("CL 08-17", PeriodType.Range, 4);" then the panel is empty. What might be the reason for this? How is the correct syntax to add CL please?

    Thank you!
    Tony

    #2
    Hello tonynt,

    Thanks for opening the thread.

    Your syntax is fine. If you are connecting with FXCM, it would not be expected to be able to receive futures data since FXCM is FOREX only.

    For more information on our supported providers and the data they offer, please refer to the documentation page here: http://ninjatrader.com/support/helpG...y_provider.htm
    JimNinjaTrader Customer Service

    Comment


      #3
      Hello Jim,

      sorry, I didn't write that I'm connected with continuum. Of course I can not expect to receive futures data from fxcm. I mentioned fxcm to show that it works with USOIL.

      Best
      Tony

      Comment


        #4
        Hello Tony,

        sorry, I didn't write that I'm connected with continuum. Of course I can not expect to receive futures data from fxcm.
        Thanks for clearing that up, that will certainly make a difference.

        Did you see any errors in the log tab of the Control Center?

        Are you able to receive real time data on a chart with CL 08-17?

        The next troubleshooting step we should take should be to reset the instruments in case there is an issue with the CL instrument.

        To reset your instruments please follow the steps below.
        • Disconnect from your data feed: NinjaTrader Control Center> File> Disconnect> Select your data feed.
        • Reset your Instruments: NinjaTrader Control Center> Tools> Options> Data tab> Reset Instruments>OK.
        • Restart NinjaTrader> Connect (NinjaTrader Control Center> File> Connect> Select your connection.

        These steps are most effective after closing and reopening NinjaTrader 7.

        I have attached a simple indicator that we can test. If you encounter the issue on this script while taking the steps above, could you tell me more about the chart's data series that you attach the indicator to?

        I look forward to assisting you further.
        Attached Files
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Stanfillirenfro, Yesterday, 09:19 AM
        7 responses
        51 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by TraderCro, 04-12-2024, 11:36 AM
        4 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Mindset, Yesterday, 02:04 AM
        1 response
        15 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by agclub, 04-21-2024, 08:57 PM
        4 responses
        18 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Irukandji, Today, 04:58 AM
        0 responses
        6 views
        0 likes
        Last Post Irukandji  
        Working...
        X