• 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, 11:38 AM. Reason: I solved thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mathew Maria-Andujar, Today, 06:07 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by Jack22, Today, 06:16 AM
      0 responses
      0 views
      0 likes
      Last Post Jack22
      by Jack22
       
      Started by TazoTodua, Today, 05:06 AM
      0 responses
      2 views
      0 likes
      Last Post TazoTodua  
      Started by jjanguda, Today, 03:32 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by jjanguda, Today, 01:11 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_EricB  
      Working...
      X