DEXT Chart : Incorrect Previous Day Close Value in Option Chart

First of all thank you for implementing custom scripts in Dhan Chart.

I found an issue, whenever I try to get the previous day close of a particular NIFTY option it is provide previous day last candle close instead of the day close. I even checked in the existing indicator (Dext Prev Day OHLC) it is also showing incorrect PDC value. Original PDC in TradingView for NIFTY 19 OCT 22750 PUT is 121.95 whereas in DEXT chart it is showing 117.55. Attached both Dext Chart and TradingView Chart. Kindly fix this issue. Note: PDC for NIFTY50 Index is working fine.

TradingView Custom Indicator:

TradingViewChart

Dext Prev Day OHLC Indicator:

DextChart1

hello sir,

can you please check and see if you are facing this problem now? let us know.

Sir,

Still the same. Attached the latest images of TV Dhan and Dext Dhan for reference. In TV Dhan Previous Day Close is correct, same indicator in Dext Dhan showing Previous Day Last Candle Close as Previous Day Close. Same is showing when I use this code in Dhan Custom Script PDC = request.security(syminfo.tickerid, 'D', close[1], lookahead = barmerge.lookahead_on)

DEXT

Dext_Dhan

TV Dhan

TV_Dhan

okay sir, we will fix it properly

1 Like