Sir I have the data but I don't have afl to take it out from Amibroker.
The AFL named TDTOHLC is for index, it does not have volume column while the one named TDTOHLCV is for cash and futures with volume column.
In the second line you have to change the required dates for data export, e.g., Buy = ( (DateNum() >= 1140601) AND (DateNum() <= 1140630)
here export is from 01-06-2014 to 30-06-2014.
regards.
rm