I do not see the exact previous open, close, high and low values of previous Day candle.
Sometime I get values of high, open, low, close values are not at all accurate.
so basically I am unable to get the exact information of all the values in C# strategy.
example, used below code for getting details of Axis Bank for 21/01/2021(on 22/01/2021 day using below code) values appeared as Low:673.6 High:690.8 Open:676.45 Close:689.5)
double previousDayClose = PriorDayOHLC().PriorClose[0];
double previousDayHigh = PriorDayOHLC().PriorHigh[0];
double previousDayOpen = PriorDayOHLC().PriorOpen[0];
double previousDayLow = PriorDayOHLC().PriorLow[0];
But actual Low:669.75 High:695 Open:680.75 & Close:675.85
I have also attached the trading platform candles which is not similar if you observe, so why do I see such difference?
Comment