September Is The Worst Month Of The Year For Stocks (Amibroker And Tradestation Code)
The strategy in plain English:
The code below buys on the open the first day of September, and sells on the open the first day of October:
Click here for the original article.
Amibroker code:
Buy= Month()==9;
buyPrice= O;
Sell= Month()==10;
sellPrice= Open ;
Tradestation code:
{
September is the worst month of the year for stocks (Strategy 29)
The code below buys on the open the first day of September, and sells on the open the first day of October
}
if Month(Date next bar) = 9 then
buy next bar open;
if Month(Date next bar) = 10 then
sell next bar open;
Disclosure: We are not financial advisors. Please do your own due diligence and investment research or consult a financial professional. All articles are our opinions – they are not suggestions to buy or sell any securities.
