• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EMA Order Flow Cumulative Delta

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

    EMA Order Flow Cumulative Delta

    I would like to insert average Order Flow Cumulative Delta but I have error "Indicator 'EMA': Error on calling 'OnBarUpdate' method on bar 0: You are accessing an index with a value that is invalid since it is out-of-range. a series [barsAgo] with a value of 5 when there are only 4 bars on the chart.
    "


    #2
    Hello bebbus,

    Thanks for your post.

    Typically that error would mean to that you are trying to access data that has not been processed and typically you would check the CurrentBars[n] to ensure that enough bars have been processed before trying to access a historical bar via a bars ago reference. https://ninjatrader.com/support/help...urrentbars.htm

    The order flow cumulative delta indicator requires that you load 1 tick data series, please see " Order Flow Cumulative Delta Values NinjaScript or Strategy Builder access " here: https://ninjatrader.com/support/help...tive_delta.htm So if you have not Added the 1 tick series, that may also cause that error.

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I solved thanks
      NinjaTrader's trading software & futures brokerage equips traders with an award-winning trading platform & low commissions for futures trading. Download software or open a futures account.
      Last edited by bebbus; 01-11-2019, 10:38 AM. Reason: I solved thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by johnnybegoode, Yesterday, 10:06 PM
      0 responses
      4 views
      0 likes
      Last Post johnnybegoode  
      Started by stasha, Yesterday, 07:35 PM
      1 response
      10 views
      0 likes
      Last Post stasha
      by stasha
       
      Started by johnnybegoode, Yesterday, 07:06 PM
      0 responses
      11 views
      0 likes
      Last Post johnnybegoode  
      Started by contrax, 10-02-2017, 05:32 PM
      8 responses
      2,131 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by lehula, 01-09-2019, 04:39 PM
      4 responses
      24 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Working...
      X