Pin*_*ucF 5

您可以使用timestamp()函数:

//@version=4
study("")
days = (timestamp(2020, 05, 28, 00, 00) - timestamp(2020, 05, 26, 12, 00)) / (24 * 60 * 60 * 1000)
plot(days)
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述