I have write an EA which use many methods to open and close trade,and you can modify each method, It's a combination of multi strategies, Very simple system which you can use your parameters to trade with
First method is moving average cross,
You can choose to use 2 Moving average cross system or 3 moving average cross,
set MA_MODE to 1 :to use 2 moving average cross system
set MA_MODE to 2 :to use 3 moving average cross system
set MA_MODE to 3 :to use Both Option 1 & 2
second method is based on RSI with four modes,
RSI mode 1: use the RSI in OVERBOUGHT & OVERSOLD, if it is in OVERBOUGHT Zone then it will be Good For Opening a sell position,or if it is in OVERSOLD zone then it will give you a Buy Signal
RSI mode 2: Use RSI as a trend, if RSIcurrent > RSIprevious and the Current Open Price > Previous Open Price, then it will Give You a Buy Signal, Or if RSIcurrent < RSIprevious and the Current Open Price < Previous Open Price, then it will Give You a Sell Signal,
RSI mode 3: USE both of RSI MODE 1 & RSI MODE 2
RSI MODE 4: USE RSI IN THE BUY ZONE SIGNAL OR SELL ZONE SIGNAL,which means if RSI is in the buy zone signal then it will give you buy and if RSI is in the SELL zone It will give you a sell
Third Method is based on macd with Three Modes
MACD MODE 1: USE TREND DIRECTION
MACD MODE 2: USE buy signal in sell zone and sell signal in the buy zone
MACD MODE 3: USE Both Mode 1 & Mode 2
I am using this MACD http://codebase.mql4.com/716 Which is not lazy!!! you must first download this and copy it to expertsindicators
Fourth Method is based on Stochastic with two modes JUST LIKE RSI MODE 1& RSI MODE 2
Fifth Method is based on Parabolic Sar
I use ATR to find the best stop loss & take Profit, You just give the ATR Period and Atr_multiple to get SL&TP,
This EA Use a Money Management System,with the Risk Parameter in %
I Have add an option named Auto_Close which it will CLose a Trade If The Opposite Signal Recieved, if you set Open_opposite_after_close to 1 will open an order if the Opposite Signal Recieved;
You can choose to exit an order with ma signaling or macd or rsi or stoch or sar.....
you can use all of them or just any of them, you just set the option to 1(which means True), And 0(which means False);
USE_MA :TO USE MOVING AVERAGE CROSS SIGNAL SET THIS TO 1 ELSE TO 0
USE_RSI :TO USE RSI SIGNAL(BASED ON RSI_MODE) SET THIS TO 1 ELSE TO 0
USE_MACD :TO USE MACD(BASED ON MACD_MODE) SIGNAL SET THIS TO 1 ELSE TO 0
USE_STO: TO USE STOCHASTIC SIGNAL SET THIS TO 1 ELSE TO 0
USE_SAR:TO USE PARABOLIC SAR SIGNAL SET THIS OPTION TO 1 ELSE TO 0
If you need to optimize this EA : you can Optimize it in Open Price Only Model;
i'll wait for your comments;
Cause I need your comments to Fix this Ea; I have used this on my demo account for a week with my optimization, (EURUSD 1H), with 200% profit;and 16% drawdown
If you Find any bug Just tell me to fix it and make it a better EA;
Help Me to making this a better EA,Thank you guy
Sorry For the code, i don't have enough time to do some makeover on it, but i add important comments to it
This EA works Great if optimize on every condition of market.
If you correct some bugs or even the code plz email me at: farshad.saremifar @ gmail .com
Live Statement : http://farshad.saremifar.mt4live.com/
First method is moving average cross,
You can choose to use 2 Moving average cross system or 3 moving average cross,
set MA_MODE to 1 :to use 2 moving average cross system
set MA_MODE to 2 :to use 3 moving average cross system
set MA_MODE to 3 :to use Both Option 1 & 2
second method is based on RSI with four modes,
RSI mode 1: use the RSI in OVERBOUGHT & OVERSOLD, if it is in OVERBOUGHT Zone then it will be Good For Opening a sell position,or if it is in OVERSOLD zone then it will give you a Buy Signal
RSI mode 2: Use RSI as a trend, if RSIcurrent > RSIprevious and the Current Open Price > Previous Open Price, then it will Give You a Buy Signal, Or if RSIcurrent < RSIprevious and the Current Open Price < Previous Open Price, then it will Give You a Sell Signal,
RSI mode 3: USE both of RSI MODE 1 & RSI MODE 2
RSI MODE 4: USE RSI IN THE BUY ZONE SIGNAL OR SELL ZONE SIGNAL,which means if RSI is in the buy zone signal then it will give you buy and if RSI is in the SELL zone It will give you a sell
Third Method is based on macd with Three Modes
MACD MODE 1: USE TREND DIRECTION
MACD MODE 2: USE buy signal in sell zone and sell signal in the buy zone
MACD MODE 3: USE Both Mode 1 & Mode 2
I am using this MACD http://codebase.mql4.com/716 Which is not lazy!!! you must first download this and copy it to expertsindicators
Fourth Method is based on Stochastic with two modes JUST LIKE RSI MODE 1& RSI MODE 2
Fifth Method is based on Parabolic Sar
I use ATR to find the best stop loss & take Profit, You just give the ATR Period and Atr_multiple to get SL&TP,
This EA Use a Money Management System,with the Risk Parameter in %
I Have add an option named Auto_Close which it will CLose a Trade If The Opposite Signal Recieved, if you set Open_opposite_after_close to 1 will open an order if the Opposite Signal Recieved;
You can choose to exit an order with ma signaling or macd or rsi or stoch or sar.....
you can use all of them or just any of them, you just set the option to 1(which means True), And 0(which means False);
USE_MA :TO USE MOVING AVERAGE CROSS SIGNAL SET THIS TO 1 ELSE TO 0
USE_RSI :TO USE RSI SIGNAL(BASED ON RSI_MODE) SET THIS TO 1 ELSE TO 0
USE_MACD :TO USE MACD(BASED ON MACD_MODE) SIGNAL SET THIS TO 1 ELSE TO 0
USE_STO: TO USE STOCHASTIC SIGNAL SET THIS TO 1 ELSE TO 0
USE_SAR:TO USE PARABOLIC SAR SIGNAL SET THIS OPTION TO 1 ELSE TO 0
If you need to optimize this EA : you can Optimize it in Open Price Only Model;
i'll wait for your comments;
Cause I need your comments to Fix this Ea; I have used this on my demo account for a week with my optimization, (EURUSD 1H), with 200% profit;and 16% drawdown
If you Find any bug Just tell me to fix it and make it a better EA;
Help Me to making this a better EA,Thank you guy
Sorry For the code, i don't have enough time to do some makeover on it, but i add important comments to it
This EA works Great if optimize on every condition of market.
If you correct some bugs or even the code plz email me at: farshad.saremifar @ gmail .com
Live Statement : http://farshad.saremifar.mt4live.com/
Attached File(s)