Announcement

Collapse
No announcement yet.

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

    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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        61 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X