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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    58 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X