Steps Install packages npm install npm install tulind run the backtests npm run backtest My strategy code is in testStrategy2.js inside "strategies" folder. I have used MACD parameters in the code to get the maximum profit for the past three months in backtesting.