Return the close value of the Daily timeframe of the N bar before the current one.
Syntax:
1 |
DClose(N) |
Example:
1 2 3 4 5 6 |
//Giving the weekly close on each Friday bar if(DayOfWeek[0] = 5) THEN LastWeekClose = DClose(5) ENDIF RETURN LastWeekClose |
What’s the exact daytime to define Dclose? Market closing time? with DAX it would be 17:30. or is it just the daily 0:00 oclock?
Dclose returns the official daily close of the instrument.