Join our fan page
- Views:
- 4764
- Rating:
- Published:
- 2017.08.10 10:27
- Updated:
- 2018.06.26 13:03
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The EA trades based on the Fractals indicator. It only trades at the emergence of a new bar. Lot calculation: percentage of free margin. When an upward fractal is found, a Sell signal is generated and all Buy positions are closed. When a downward fractal is found, a Buy signal is generated and all Sell positions are closed.
For optimization purposes.
Two input parameters simplify configuration:
- Distance (in pips)
- and Signal bar
Fractals minimum distance. The "Distance" parameter
Signal bar — bar number (relative to the current one) on which the fractal is checked.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18326

The CandleRange indicator with the timeframe selection option available in the indicator input parameters.

The PercentageCrossoverChannel_System indicator with the timeframe selection option available in the indicator input parameters.

The EA trades in the specified time interval. It takes into account High and Low within a certain number of bars. The EA includes protection against the "not enough money" error.

The trading system is based on the PercentageCrossoverChannel_System indicator signals.