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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    262 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    168 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    170 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    257 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    209 views
    0 likes
    Last Post CarlTrading  
    Working...
    X