Tracking and Closing Buy and Sell Orders Separately
Summary
This chart helper totals profits for buy and sell orders separately and displays the totals in two buttons. Clicking a button closes all tracked orders on that side for the chart’s symbol. The author describes using it when a trade moves against them and they attempt to recover by averaging into the position.
Order selection can be scoped by a magic number: a negative value includes all magic numbers for the symbol, zero selects manually opened orders, and a positive value targets orders associated with another automated strategy. A comment string can further narrow the selection. The document explains the tool’s filtering and close controls but provides no performance evaluation or risk analysis. Averaging into losing trades can increase exposure, and the helper itself does not define entry, exit, or position-sizing rules.
Key ideas
- The helper displays separate profit totals for buy and sell orders on the chart symbol.
- Each button closes all tracked orders on its corresponding side.
- A magic number setting controls which orders are included.
- A comment filter can further restrict the tracked orders.
- The document gives no evidence that averaging positions improves trading outcomes.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.