Strategy Contribution Report
- Utilità
- Versione: 1.0
- Attivazioni: 5
Which strategy contributed to a portfolio’s drawdown? Strategy Contribution Report groups your MetaTrader 5 trading deals by magic number and plots their combined realised P/L. Select one group to see how the curve and maximum drawdown change when its deals are removed. Every retained deal keeps its original volume.
Read the report
Attach the utility to a separate desktop MT5 chart. The default window covers the most recent 90 days across all symbols. You can set the history length, filter by symbol and select an initial magic number.
- Portfolio net adds profit, commission, swap and fees booked on buy and sell deals. The table shows each group’s fill count, gross profit, costs with swap, and net result in account currency.
- Booked max drawdown measures the largest peak-to-trough decline on the combined realised P/L curve. The curve starts at zero at the beginning of the selected window. Deals stamped in the same millisecond enter the total together.
- Drawdown without group shows the same calculation after removing the selected group. Click another row to compare it. The chart overlays the two curves, and the footer shows the change in drawdown.
In the illustrated example, the portfolio earned 51 units and its maximum booked drawdown was 113. Removing magic 101 leaves 37 units and a drawdown of 91. The group contributed 14 units of net profit, while the observed drawdown fell by 22 units when its deals were excluded.
Export and interpretation
Click CSV to save the group breakdown and the selected curve to two local files. The curve export includes both running drawdowns and millisecond timestamps. The group export lists balance and credit entries and other broker postings separately from trading deals.
Groups use the magic number recorded on each deal. A shared magic number combines strategies, and zero appears as an untagged group. The calculation uses booked changes in P/L and includes costs on opening fills. Floating P/L while positions are open, changes to margin usage and the effect of resizing other strategies fall outside this historical comparison. Works with Algo Trading switched off.
