Skip to content
All library documents

Trading Bar-Color Reversals with the STLMCandle Indicator

Article MQL5 code base

Summary

This document outlines an automated forex system that enters a trade when the STLMCandle indicator changes color at a bar close. A transition between blue-green and orange triggers a deal in the corresponding direction. The post identifies the required indicator files and describes an Expert Advisor setup, including a library intended to support brokers with nonzero spreads and simultaneous stop-loss and take-profit settings.

The only performance context given is a test on EURUSD four-hour bars for 2015, accompanied by chart references; numerical results and detailed methodology are absent. The stated test used the default Expert Advisor inputs and did not use stop-loss or take-profit orders. This limits what can be inferred about risk control or robustness. The document explains the signal rule but does not describe position sizing, transaction-cost assumptions, out-of-sample validation, or comparisons with alternative settings, so the historical test reference alone does not establish profitability.

Key ideas

  • The system generates trade signals when the STLMCandle color changes at a bar close.
  • The two indicator colors are blue-green and orange, with a transition in either direction triggering a deal.
  • The document references a 2015 test on EURUSD four-hour bars but supplies no numerical performance measures.
  • The described test used default inputs and omitted stop-loss and take-profit orders.
  • The signal rule alone does not establish robustness or profitability.

Tags

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