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

Comment