Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 b20 Pivots do not return values

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

    #16
    Originally posted by NinjaTrader_Bertrand View Post
    Harry, thanks for providing the snippet - looking into it now.
    Hi Bertrand, could you reproduce the problem?

    Comment


      #17
      This is simply a race condition for the async nature of the scenario you have. When you are connected the loading of data is simply not fast enough to be done before the calculations thus you end up with 0 as your values. When you are not connected and everything is off the repository it is able to grab values earlier and actually get that done for some historical bars. It is simply not fast enough to be able to grab it for historical bars when connected, but it will work on real-time events that come up afterwards once everything gets done.
      Josh P.NinjaTrader Customer Service

      Comment


        #18
        How shall I handle that? I know three other traders who have a problem with this specific issue, strategies not running, charts not being displayed. What would you suggest to make it work?

        Originally posted by NinjaTrader_Josh View Post
        This is simply a race condition for the async nature of the scenario you have. When you are connected the loading of data is simply not fast enough to be done before the calculations thus you end up with 0 as your values. When you are not connected and everything is off the repository it is able to grab values earlier and actually get that done for some historical bars. It is simply not fast enough to be able to grab it for historical bars when connected, but it will work on real-time events that come up afterwards once everything gets done.

        Comment


          #19
          An easy way to beat the async nature of things is pushing the scenario to be a more "synced" scenario by using HLCCalculationMode.CalcFromIntradayData instead.
          Josh P.NinjaTrader Customer Service

          Comment


            #20
            I am aware of this, but this results in false pivots, as the settlement price is only available from daily data. So how can I access the correct pivots in DailyBars mode? Besides, I have a number of other indicators that use daily data and suffer from the same problem.

            Originally posted by NinjaTrader_Josh View Post
            An easy way to beat the async nature of things is pushing the scenario to be a more "synced" scenario by using HLCCalculationMode.CalcFromIntradayData instead.

            Comment


              #21
              Harry, one way would be using a Pivots indicator that uses the MultiSeries concept, thus not running into the async series loading issues.
              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by fx.practic, 10-15-2013, 12:53 AM
              5 responses
              5,404 views
              0 likes
              Last Post Bidder
              by Bidder
               
              Started by Shai Samuel, 07-02-2022, 02:46 PM
              4 responses
              95 views
              0 likes
              Last Post Bidder
              by Bidder
               
              Started by DJ888, Yesterday, 10:57 PM
              0 responses
              8 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by MacDad, 02-25-2024, 11:48 PM
              7 responses
              159 views
              0 likes
              Last Post loganjarosz123  
              Started by Belfortbucks, Yesterday, 09:29 PM
              0 responses
              8 views
              0 likes
              Last Post Belfortbucks  
              Working...
              X