I want a code written in amibroker, the code should be able to buy stocks on a specific date and sell on a specific date, ie buy on the first on jan and sell on the 31st jan. i want the output to be a table indicating the stock code, number of time stock finish up/down, largest decline/increase and average increase in percentage. The output table should be able to be exported to excel. It is basically searching for seasonality in stocks.