I see 'Failed to recalculate study because response is too large' error

This error appears if the total size of the report generated during Deep Backtesting is too large and hits the limit. The limitation is enabled for our servers to work more efficiently.

To avoid this error, reduce the number of plot functions and drawings in your strategy script - comment them out or remove completely from the code.

Strategy's plots and drawings are not displayed on the chart in the Deep Backtesting mode, so removing them will not affect the strategy in this mode. You can find the explanation here: Why are the results of Deep Backtesting not shown on the chart?

Specifically, the following functions can be removed/commented out: