How to get 2nd last trading day's date in afl amibroker

0 votes
i.e. if  current trading day is 17-07-2017, now on that day(17-07-2017) how I can get 2nd last  trading day date which is 14-07-2017. if I use  date= ref(datenum(),-1);I did not get  that 14-07-2017. which is I required.

warm regards

Mahesh khatavkar
asked Jul 16, 2017 in AmiBroker by anonymous

1 Answer

0 votes
answered Jul 17, 2017 by admin (9,260 points)