TradingView
haribotagada
25 ตุลา 2023 เวลา 4 นาฬิกา 42 นาที

Get start of previous day on any timeframe 

S&P 500SP

คำอธิบาย

Useful on pine scripts which need to identify the start of the previous trading day i.e. from the perspective of today's date - not the previous day on each bar calculation.

Works on any timeframe - which is the whole point as on a daily chart you can simply do time[1].
เพิ่มเติม