Originally Posted By: Spirit
If the time zone is 2, then set the zone to 2 in the dayclose and dayopen functions.


Even if the BarPeriod = 1?
It will take the correct value?

Is it correct the code below?
Code:
var C = dayClose(UTC+2,1);
var O = dayOpen(UTC+2,1);


Last edited by tradingest; 10/17/18 13:26.