Idea by: Aleksey Filatkin.
MQL5 code by: barabashkakvn.
If you’re looking to enhance your trading game, check out the CCFp (Complex Common Frames percent) Expert Advisor (EA). This tool is built around a cluster indicator that can help streamline your trading decisions.

This EA utilizes Stop Loss, Take Profit, and Trailing levels measured in actual points. For example, a parameter of 500 translates to 0.00500 for a five-digit symbol and 0.0500 for a four-digit one.
Key Inputs
- Lots - the volume of the position to be opened
- Stop Loss - your stop loss setting
- Take Profit - your take profit setting
- Trailing Stop - the trailing stop setting
- Trailing Step - step size for trailing
- Step - the step between indicator values
- Close opposite positions - option to close contrary positions
- Magic Number - unique identifier for the EA.
For the default settings on EURUSD, H1: you'll find two scenarios to consider—one where "Close opposite positions" is set to true, and another where it’s set to false.


Related Posts
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Harnessing MQL5 Wizard for Bullish and Bearish Harami Signals with CCI Confirmation
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Mastering Bullish and Bearish Harami Patterns with Stochastic in MT5
- Mastering the Moving Average EA for MetaTrader 5: A Trader's Guide