I am having trouble understanding this:
def rollover = GetYYYYMMDD() != GetYYYYMMDD()[1].
reference: https://usethinkscript.com/threads/relative-vol-for-firstbarofday.8359/
I guess, GetYYYYMMDD() and GetYYYYMMDD()[1] are two different elements in an array like structure. Why bother checking that? When will they equal to each other?
Please kindly help! Thank you!
def rollover = GetYYYYMMDD() != GetYYYYMMDD()[1].
reference: https://usethinkscript.com/threads/relative-vol-for-firstbarofday.8359/
I guess, GetYYYYMMDD() and GetYYYYMMDD()[1] are two different elements in an array like structure. Why bother checking that? When will they equal to each other?
Please kindly help! Thank you!
Last edited by a moderator: