Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

own Series<double> to keep track of the daily OHLC values

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

    own Series<double> to keep track of the daily OHLC values

    Hi,

    I want to create my own Series<double> to keep track of the daily OHLC values I wish to use for your indicator.

    The problem is that this Series<double> updates with each OnBarUpdate() of my primary series. How can I make the series update once a day instead of updating every 5 minutes as my primary series does?

    Best Regards,

    #2
    Hello Redmoon22,

    Thanks for your post.

    Correct, any created dataseries will match the primary bars (chart bars). One solution would be to add a daily bar series and sync your data series to it using the method identified in this reference sample: http://ninjatrader.com/support/forum...ead.php?t=3572

    If all you need is the daily OHLC values simply adding a day bar series will likely be the easiest and then just reference those values as needed. Here is a link to multi time frame considerations: http://ninjatrader.com/support/helpG...nstruments.htm

    Another alternative that uses the existing primary bars data series is the method GetDayBar() which will construct a daily bar based on the 5 minute data: http://ninjatrader.com/support/helpG...?getdaybar.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X