hope you are best of health.
I need a weekly/monthly pivot points indicator. Since havent' written it yet so i would write it myself.
I studied your "Pivot Points" indicator which plots daily pivot points. I need help understanding the function Trunc().
Code: Select all
day := trunc(Time(index));
Why did you use this function. If it truncates the datetime variable then what does it output? If it only outputs "the Day" the could i use Dayof(time(i)) or Dateof(time(0)) instead?
Thanks and regards