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

FXCM BarsRequest Multi-TimeFrame freeze the chart

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

    FXCM BarsRequest Multi-TimeFrame freeze the chart

    Hello,

    The NT8 chart freezes waiting for the Data from the connection, only when using FXCM datafeed, indicator works fine on Continuum datafeed and Kinetick.

    I am developing a indicator that uses some historical data from other timeframe different to the chart timeframe.

    The problem hapens using 2 different aproaches:

    - If I use new BarsRequest() inside OnStateChange with State.DataLoaded + TriggerCustomEvent for updating indicator values.

    - Also if I use AddDataSeries() + BarsInProgress == 1 + BarsArray, etc...

    Both technical solutions result on the same problem, can you help me with this?

    I found this thread (similar to mine) but there is no "final solution" from you on the thread.



    Thanks in advanced.
    Pablo

    #2
    Hello Pablo,

    Do you have a reduced script that can demonstrate the behavior?

    Or would you like me to test the script in the forum post you have linked?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,

      I think I found one solution/problem :

      One question for you > Does FXCM provides 1 TICK data for FOREX instruments (GBPUSD, EURUSD, etc..)?

      Because I disable "Historical data from Ninja Servers" on the FXCM connection properties and then I only use M1 and higher timeframes on my indicator and its working fine now.

      I believe TICK data from Ninja servers and FXCM datafeed don't work well together even that charts can use 1 TICK data (when historical are loaded from NT servers) but they might not work on the same multi-timeframe indicator, is that the suposed behaviour of NT?

      Regards
      Pablo

      Comment


        #4
        Hello Pablo,

        Yes, FXCM does have historical tick data.



        If the server is set to FXCM's historical data servers you will get 1 day of historical data.

        If the server is set to NinjaTrader's historical data servers you will get as much historical data as has been recorded on that server for the selected instrument.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea,

          We are having some errors when geting data from FXCM, Do you have some help to avoid this problems on the chart / platform or indicator's code :

          Error on requesting bars series: 'HTTP receive response failed object' /pricearchive/EURUSD_Default... errorCode 12152

          AND

          Error on requesting bars series: QuotesLoader has not replied for 30000 ms. The request has been canceled by timeout.

          Thanks
          Pablo

          Comment


            #6
            Hello Pablo,

            Please send an email to platformsupport [at] ninjatrader [dot] com so that we may further assist.
            In the email, please include a link to this forum thread.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by rocketman7, Today, 02:12 AM
            4 responses
            21 views
            0 likes
            Last Post q0t6p5
            by q0t6p5
             
            Started by trilliantrader, 04-18-2024, 08:16 AM
            7 responses
            27 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by samish18, 04-17-2024, 08:57 AM
            17 responses
            65 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by briansaul, Today, 05:31 AM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by PaulMohn, Today, 03:49 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X