Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Starter - MetaTrader 5 Expert - MQL5 #22647 - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

The author of the idea - collector

mq5 code author - Bara Bashkakon

The EA applies position calculation based on trading history:

  • maximum risk percentage
  • Reduction factor (activated if a losing trade is detected)
  • Historical Days - The number of historical analysis days starting from the current date

This EA applies iCCI (Commodity Channel Index) and iMA (Moving Average) indicators as well as tracking indicators.

For iCCI (Commodity Channel Index), the CCI levels are set to integers as this allows for rounding of the indicator values. Also, CCI for the current bar and CCI for the previous bar have been set. These are the sources of CCI values.

Only for iMA (Moving Average) MA bar current is set. The previous bar of MA is MA bar current +1 . Additionally, the Average Delta parameter is set to MA - the difference between the current bar and the previous bar.


Attachment download

📎 starter.mq5 (41.25 KB)

Source: MQL5 #22647

Verification code Refresh