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

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

author EAcpu | 5 reads | 0 comments |

EMAplusWPR_V2 - expert for MetaTrader 4

EMAplusWPR_V2 - expert for MetaTrader 4

EMAplusWPR_V2 - expert for MetaTrader 4

EMAplusWPR_V2 - expert for MetaTrader 4

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.

5 minutes optimized for EURUSD

I removed some errors, removed position sizes, added some inputs.

You use it at your own risk. I am not responsible for your losses, you must change, test and optimize it for your purposes.

http://codebase.mql4.com/en/code/10116

http://codebase.mql4.com/en/code/10201

outer string separator 1 = "-----trend setting------" ; outer boolean use EMA trend = true ; // trade with EMA trend
outer integer trendbar = 1 ; // how many bars should be in trend
outer double EMA trend = 144 ; // trend EMA period

outer string separator 2 = "-----WPR settings------" ; outer double iWPRP period = 46 ; // Entering and exiting WPR periods
External double iWPR drawdown = 30 ; // Minimum WPR drawdown allowed for another trade
external boolean exit with WPRE = true ; // Use exit with WPR indicator

Outer string separator 3 = "-----Position setting------" ; Outer double lot size = 0.1 ; // Fixed lot size
external integer maximum number of transactions = 2 ; // maximum number of transactions allowed in the pyramid
External double stop loss = 50 ; // stop loss
External double take profit = 200 ; // take profit
external boolean use TrailingStop = false ; // use trailing stop
external double trailing stop = 10 ; // trailing stop
external boolean exit with no profit = false ; // Exit a trade when it is not profitable in the specified number of bars
External integer Maximum unprofitable bars = 5 ; // Number of unprofitable bars

Attachment download

📎EMAplusWPR_V_2.mq4 (12.11 KB)

Source: MQL5 #10413

Verification code Refresh