Martingale DCA Grid Bot Simulator with Compounding V4.1Simulates a DCA Martingale grid bot for backtesting purposes, with an option to compound earnings by every number of months. This bot uses the same order size for the initial order as it does for the first grid buy. Several popular crypto grid bots function this way.
**This is a work in progress. Backtesting results will vary based on chosen timeframe and calculation options. Check results yourself to verify a level of accuracy you're comfortable with.**
Remember to set pyramiding to at least your number of grids +1 (default is 15 for up to 14 grids)
For high value coins like bitcoin, you will have to drastically reduce your "Min Qty Threshold" in the options pages, especially for small accounts. This ensures the bot can buy in small enough quantities for your initial order and first grids to make sense. The simulation will not be accurate or could completely break without this setting low enough. Simply lower this value until results stabilize.
The bot will give best results with the bar magnifier enabled. Otherwise, lower timeframes should give more accurate results at the expense of shorter time in the market.
Estrategia Pine Script®






















