Home › Forums › Trading System Mentor Course Community › AmiBroker Coding and AFL › Number of Trades Per Day
Any suggestions for the code required to count the number of trades per day, when running the daily equity ROC exploration on a backtest?
this is the original code:
if (Name() != “~~~EQUITY”) Error(“Switch to the ~~~EQUITY ticker first”); Filter = 1; AddColumn(ROC(C, 1), “Daily Return %”, 1.5); AddColumn(?????, “Number of Trades”, 1.5);
I am making progress, buy using a combination of Excel formulas and exploration data.