Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator values for non-daily bars not consistent with daily bars?

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

  • NinjaTrader_ChelseaB
    replied
    Hello joemiller,

    Thank you for the files.

    I have opened a chart to the $EURUSD instrument using the Default 24/5 session and 360 minute bars.

    This chart shows the bars as ending at 6, 12, 18, and 24 hours.

    If the session break is at midnight 6 hours later would be 6:00 AM. Is there something in this code that should be causing the first bar to print at 5:00 AM instead of 6:00 AM?

    Is your PC time zone set to central time instead of eastern time?

    Also, regarding the day bars, using the default 24/5 template in the eastern time zone, the bars end at 24:00 causing the bars to show have the date of the next day. This causes my chart to show bars with dates tuesday - saturday.

    I am not seeing anything in the code that would prevent prints from happening during weekdays.

    Leave a comment:


  • joemiller
    replied
    The output windows show that Forex 6 hour bars are coming out 0000, 0600, 1200 and 1800 but they should be 1700, 2300, 0500 and 1100 and Mondays are not appearing in the file?

    Weekdays appearing in the day bar output file are making even less sense?
    Attached Files

    Leave a comment:


  • joemiller
    replied

    Chelsea,
    Hold off on looking at the items I sent in the previous post. The Analyzer session template was not set to Default 24/5. However, setting the template to the correct value did not fix the problem, the original problem still exists [ie] a discrepancy between daily and non-daily bar indicators.
    I am trying to pretty up the printout to the output window just a bit to make it more user friendly and then will resend all the now useless files sent in the previous post.

    Leave a comment:


  • joemiller
    replied
    Chelsea,

    Attached are the indictor, strategy, day bar output and 6 hour bar output.
    I will continue to work on this and will alert you If I discover anything.
    Attached Files

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello joemiller,

    Thanks for your post.

    It may be easier to demonstrate this.

    May I have the code you are using as well as the output from the output window?

    Leave a comment:


  • indicator values for non-daily bars not consistent with daily bars?

    Please give me your comments and thoughts on the following before I spend more time researching it.

    It appears [not absolutely sure yet] that indicator values for my non-daily bars are not consistent with those for daily bars.
    I am analyzing the Forex euro dollar/us dollar pair, five daily bars per week. I use “Bars.GetDayBar” in calculations for non-daily bars.

    Output window messages suggest that maybe indicator calculations for non-daily bars are not based on a five day week???

Latest Posts

Collapse

Topics Statistics Last Post
Started by charlesugo_1, 05-26-2026, 05:03 PM
0 responses
60 views
0 likes
Last Post charlesugo_1  
Started by DannyP96, 05-18-2026, 02:38 PM
1 response
148 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 05-11-2026, 05:56 AM
0 responses
162 views
0 likes
Last Post CarlTrading  
Started by CarlTrading, 05-10-2026, 08:12 PM
0 responses
97 views
0 likes
Last Post CarlTrading  
Started by Hwop38, 05-04-2026, 07:02 PM
0 responses
284 views
0 likes
Last Post Hwop38
by Hwop38
 
Working...
X