Skip to content
All library documents

A Manual Strategy Tester with Stop-Based Position Sizing

Article MQL5 code base

Summary

This document describes a modified chart indicator for practicing and reviewing manual trading strategies on historical data. It produces operation reports in tables and charts and saves chart templates, with and without annotations. The stated purpose is to help users study how orders trigger and how signals form under an approximation of market rules.

The modification adds a live view of open-order profit, a chart comment with main parameters, and a report field for order execution time. It stops when the balance is negative and sizes positions according to the StopLoss value; at zero risk, position size remains at the minimum. StopLoss and an equal TakeProfit are drawn on the bar to show the levels used in the exercise. These are tool features, not evidence of strategy profitability. The document gives no testing results, detailed execution assumptions, or guidance on whether its market-rule approximation captures real trading costs and fills.

Key ideas

  • The indicator lets users practice manual strategies and review historical signals and operations.
  • It reports operations in tables and charts and adds order execution time to the report.
  • Position size is based on the StopLoss value, with minimum size at zero risk.
  • It visualizes StopLoss and an equal TakeProfit level on the chart.
  • The document describes tool functionality but supplies no profitability evidence.

Tags

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