Skip to content
All library documents

Adding to Trend Positions on ColorJFatl Indicator Changes

Article MQL5 code base

Summary

This Expert Advisor uses changes in the ColorJFatl_Digit indicator’s line color as trade signals, assessed when a bar closes. It follows the indicated trend and increases position volume when unrealized profit, measured in points, rises past a threshold set in the EA inputs. The system stores the number of additions, most recent trade price, and most recent trade volume in a position comment.

The document says the compiled indicator file is required and reports that tests used default EA inputs on EURUSD at the four-hour timeframe in 2015. The stated tests did not use stop-loss or take-profit orders. No numerical results, detailed trade rules, risk controls, or evaluation of other markets and periods are included in the text, so it does not establish profitability or robustness. The approach’s reliance on adding size as profit grows makes the missing position and drawdown details especially relevant when evaluating it.

Key ideas

  • A bar-close change in the indicator line color triggers a trade signal.
  • The system increases position volume when profit exceeds a configured point threshold.
  • Position comments record the number of additions and the latest trade price and volume.
  • The described EURUSD four-hour tests used default settings in 2015 and omitted stop-loss and take-profit orders.
  • The document gives no numerical performance results or broader validation.

Tags

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