Skip to content
All library documents

Transferring Backtest Chart Objects to a New Chart

Article MQL5 code base

Summary

This document explains a workflow for preserving chart objects created during a backtest and viewing them on a separate chart. The described script saves the objects from the testing chart to a file, then loads them onto a new chart that has the desired template applied. This lets a trader review backtest annotations or other chart objects in a fresh chart setup.

The workflow uses two modes: save from the completed testing chart, then show on the new chart. The document gives no detail about which object types are supported, how the file is structured, or whether object properties are preserved exactly. It also supplies no example results or evidence that the script changes or improves backtest analysis. Its contribution is a practical charting utility for carrying visual test artifacts into a separate review environment, rather than a method for designing, evaluating, or validating a trading strategy.

Key ideas

  • The script saves chart objects from a completed backtest to a file.
  • A separate chart can load a template before the saved objects are shown.
  • The workflow uses a save step on the testing chart and a show step on the review chart.
  • The document does not specify supported object types or preservation details.
  • The utility supports visual review but does not describe strategy evaluation methods.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.