How to use timenum function?

mastermind007

Well-Known Member
#2
i want the value of variable Y to be 90 @09:30 and then it changes to 120 @09:35??? How to do it in amibroker??? I m stuck at this.. :confused::confused:
Y = IIF(TimeNum() == 093000, 90, IIF(TimeNum() == 093500, 120, 0));