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

0 votes
asked Jul 16 in AmiBroker by anonymous
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

1 Answer

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