Enhancing 2MA Crossover EA

  • Thread starter Thread starter RedEye
  • Start date Start date
  • Watchers Watchers 2

RedEye

Trader
Jun 24, 2023
5
1
9
Kuala Lumpur, Malaysia
Hi all,

I just started learning MQL few months ago and I have been trying to enhance further "2 MA Crossover MT4 Expert Advisor" that can be freely downloaded from here. I coded in option to use previous candle ATR as StopLoss and some other options on moving averages used.

I am trying to include Money Management as well but don't know how to get/determine the proper lot size having known the StopLoss and Risk Percentage. I hope someone can assist me here and I am attaching the modified code for your review.

Thanks in advance!

-RedEye-
 

Attachments

  • 🎉
Reactions: Enivid
Hi all,

I just started learning MQL few months ago and I have been trying to enhance further "2 MA Crossover MT4 Expert Advisor" that can be freely downloaded from here. I coded in option to use previous candle ATR as StopLoss and some other options on moving averages used.

I am trying to include Money Management as well but don't know how to get/determine the proper lot size having known the StopLoss and Risk Percentage. I hope someone can assist me here and I am attaching the modified code for your review.

Thanks in advance!

-RedEye-
You can copy over the MM functions from this EA:
https://www.earnforex.com/metatrader-expert-advisors/Amazing/
 
  • ℹ️
Reactions: RedEye