It's funny, I can get the code to work when I hardcode the "currentOpen = 1.24". However, if I use this code:
def currentOpen = if getTime() crosses above RegularTradingStart(getYYYYMMDD()) then open else currentOpen[1];
it fails. On a multi-day chart, when TOS goes through the various days on...