Date of the bar N-periods before the current bar (in YYYYMMDD format).

Syntax:

Today[N]

 

Example:

//what was the date 10 days ago ?
previousDate = Today[10]

RETURN previousDate

 

Share this