`time()` only works with exchange time chart?

This code only works correctly on charts set to Exchange time zone:


InSession(sess) => time(period, sess) != 0

value = InSession("0900-1630") ? 1 : 0

plot(series=value)
1 person has
this problem
+1
Reply