Skip to content
All library documents

Bar-Close Trading Signals from a Semaphore Indicator

Article MQL5 code base

Summary

This Expert Advisor uses the wlxBWWiseMan-2 semaphore indicator. It generates a trade signal at bar close when a graphical object in the corresponding signal color appears. The document also notes that the compiled indicator must be installed in the terminal’s indicator directory and that a supporting trade library is used for broker compatibility and for setting stop loss and take profit alongside an opening order.

The reported test concerns USD/CHF on a four-hour chart in 2013, using the advisor’s default inputs. Stop loss and take profit were disabled in that test. The text refers to deal history and a results chart, but supplies no numerical performance measures here, so profitability and robustness cannot be assessed. The signal depends on a specific external indicator and bar-close object behavior, which limits reproducibility without those components and their precise settings.

Key ideas

  • The advisor acts when a bar closes and a matching colored indicator object is present.
  • A separate compiled indicator and supporting trade library are required for the described setup.
  • The cited test used USD/CHF four-hour data from 2013 with default inputs.
  • Stop loss and take profit were not used in the reported test, and numerical results are absent.

Tags

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