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

EMAplusWPR - MetaTrader 4 Expert | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 2 reads | 0 comments |

EMAplusWPR - expert for MetaTrader 4

EMAplusWPR - expert for MetaTrader 4

EMAplusWPR - expert for MetaTrader 4

EMAplusWPR - expert for MetaTrader 4

EMAplusWPR - expert for MetaTrader 4

Actual version: http://codebase.mql4.com/en/code/10413

Expert Advisor who trades based on EMA trends and gets buy/sell signals from Williams %R

I tried to create an Expert Advisor that can trade with a starting equity of 1000 euros and minimize drawdowns. Hope you like it. I appreciate every feedback.

Input EMA, iWPRPeriod optimized for EURUSD 5M

Take Profit = 200;

Maximum stop loss = 50;

Maximum lot size = 0.1; //Maximum lot size for each position

Maximum number of contracts = 2; // Maximum open positions, 2 is the best choice for smoother equity

index index=144; // EMA determines the trend

iWPRPeriod=46; //Williams percentage range to determine buy/sell signals

To use my position size, increase maxLots size

For position size I use the following code:

Ilo=0.1* MathSqrt((AccountBalance()) / 300);

Many=NormalizeDouble(Ilo, 1);

if (lot size <0.1) lot size = 0.1;

if (number of lots>maxLots) number of lots=maxLots;

EMAplusWPR - expert for MetaTrader 4


Attachment download

📎 emapluswpr_v_2.mq4 (12.11 KB)

Source: MQL5 #10116

Verification code Refresh