Skip to content
All library documents

SilverTrend Signal Re-Entry System with Profit-Based Scaling

Article MQL5 code base

Summary

This Expert Advisor uses closing-bar arrows from the SilverTrend_Signal indicator to open positions. It scales an existing position when the most recent deal’s profit points exceed a threshold set in the EA inputs. A trade comment records the scale count along with the last deal’s price and volume, allowing the system to retain scaling information. The description also explains how the compiled indicator can be embedded as a resource in the EA so the compiled expert can run on another terminal without a separate indicator file.

The stated tests use default EA inputs on EURUSD four-hour bars for 2015, with stop loss and take profit disabled. The document refers to charts of example trades and test results but gives no numerical performance measures or enough detail to assess robustness. It does not specify the scaling threshold, position limits, or risk controls, so the test setup should not be treated as evidence of profitability or live-trading suitability.

Key ideas

  • The system opens trades when a SilverTrend_Signal arrow appears at bar close.
  • It adds to a position when the last deal’s profit points pass a configured threshold.
  • Trade comments store scaling count and details of the most recent deal.
  • The compiled EA can include the indicator as an internal resource.
  • The described EURUSD test used four-hour bars in 2015 without stop loss or take profit.

Tags

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