Forum: ThinkOrSwim
June 13th, 2019, 10:51 PM
|
Replies: 4
Views: 5,149
def isopen=if secondsFromTime(0930)>=0 and...
def isopen=if secondsFromTime(0930)>=0 and secondstillTime(1600)>=0 then 1 else 0;
def isclosed=if secondsFromTime(1600)==0 then 1 else 0;
def tradinghours=if isopen then 1 else 0;
def...
|