can anybody help me to get the closing price of regular trading hour when extended hour is on i have tried using security function with session.regular but it keeps getting extended hour closing price i want actually price at 3:15 From indices and and if i tried to get new session and closing price it only work in 5 and 15 min chart i want it to work in any time frame.
Thank you for reading