I just wonder why this statement not always true during trading hours!
def rth = getTime() >= RegularTradingStart(getYYYYMMDD()) && getTime() <= RegularTradingEnd(getYYYYMMDD());
So is this one:
Def customtime = SecondsFromTime(0659) > 0 and SecondsFromTime(2000) < 0;
Thank you,
def rth = getTime() >= RegularTradingStart(getYYYYMMDD()) && getTime() <= RegularTradingEnd(getYYYYMMDD());
So is this one:
Def customtime = SecondsFromTime(0659) > 0 and SecondsFromTime(2000) < 0;
Thank you,