Skip to content
All library documents

A CCI Expert Advisor That Opens Trades at New Bars

Article MQL5 code base

Summary

This brief description outlines an expert advisor that checks its signals only when a new bar appears. It opens a buy position when the Commodity Channel Index rises above a configurable upper threshold and opens a sell position when the indicator falls below a lower threshold. The sample is identified as using a 15-minute chart, though no threshold values or additional entry filters are supplied.

The description says positions have no stop loss, take profit, or trailing management. It mentions a sample test but provides no results, test conditions, or performance statistics, so there is no evidence here about profitability or risk-adjusted behavior. The rules explain a basic threshold-based CCI system, but leave exits and position risk largely unspecified; those omissions limit what can be inferred about a complete trading strategy.

Key ideas

  • The advisor evaluates entry conditions when a new bar begins.
  • A buy signal occurs when CCI exceeds its upper threshold, while a sell signal occurs below its lower threshold.
  • The example uses a 15-minute chart but does not state threshold values.
  • The described system has no stop loss, take profit, or trailing exit, and supplies no test results.

Tags

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