Author of the idea — George F.Peskov, author of the MQL5 code — barabashkakvn.Â
The trading strategy uses two MA indicators, one ATR and one CCI.
The value of the ATR indicator is used when calculating the Stop Loss level.
The RA uses lot calculation based on the specified percent of margin (for more details see example EA Money Fixed Margin).
The checking algorithm before opening a position:
calculation of lot size as a specified percent of margin
↓
calculation of Stop Loss level
↓
checking funds for opening the position
↓
a basic check for Buy and Sell
↓
checking return of the ticket
Results on EURUSD, H1:
Â