Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

close 15 min vs daily

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

    close 15 min vs daily

    Hello,

    I´m experiencing differences in my indicator and after checking all doubles and calculations in NT and in Excel I found out that the Close priorday in 15 min chart is different from the close in daily chart.

    When working round to find out the reason for differences in plottings I had the idea to draw the numbers directly in the chart. There one can see that for July 1st it plots for Closes[1][0] (=daily) and priordayclose different values. Why please? I send the screenshot to show more easily what I mean and how I have added with this snippet:
    string str8 = string.Empty;
    str8+=" C[1]: " + Closes[1][0];
    str8+="\r\npdclose= " + PriorDayOHLC1.PriorClose[0];
    Draw.TextFixed(this,"str8",str8, TextPosition.TopLeft,Brushes.Black, new SimpleFont ("Arial",10), Brushes.Transparent,Brushes.White,100);


    Thank you!
    Tony
    Attached Files
    Last edited by tonynt; 07-04-2022, 02:10 AM. Reason: add info and screenshot

    #2
    Hello tonynt,

    Thanks for your post.

    PriorDayOHLC will use intraday data while a daily data series will include the settlement price. Intraday data is also filtered by the Trading Hours template that is being used.

    This means that differences can be seen when comparing intraday data with daily data. You may want to consider deriving calculations from PriorDayOHLC instead of the daily data series for data that better matches.

    Let us know if you have any additional questions.

    Comment


      #3
      Hello,

      thank you for your reply. Of course I do compare charts with same trading hours. What trading hours template should show the same close? As a 15 min time period must match with the time of close of the day (unless the close would be eg 23:05) it should show same numbers when applying the "correct" trading hours to the 15 min chart, no?

      When using priorweekOHLC and in another code instead of using this indicator and adding dataseries week and work with OHLCs[1][0] then there are also differences from calculations with OHLC of the week.

      Sorry if there is a misunderstanding from my side now.

      Thank you!
      Tony
      Last edited by tonynt; 07-12-2022, 05:46 AM. Reason: add info

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      639 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X