I need an EA for MT4 based on MACD cross and Moving Averages.

MQL4 Experts

Tâche terminée

Temps d'exécution 3 jours
Commentaires du client
Nuri delivered exactly what I asked. worked perfect!

Spécifications

I need an EA for MT4 based on MACD cross and Moving Averages. Below is a detailed description of the proposed EA. There's also a BUY example attached for clarity.  This EA should work for for all time frames and symbols.


Global Variables

MacDFast    = Fast=12 //Fast EMA Period

MacDSlow    = Slow=26 //Slow EMA Period

MacDSource  = Close   // Applied Price

MacDSignal  = 9       //Signal Line Period

MacDRangeLong  = -4.5,-45.0 //MacD Range for BUY signal when macd cross signal line

MacDRangeShort =  4.5, 45.0 //Range for SELL signal when macd cross signal line

EMA1    = 100 //100 Exponential Moving Average

EMA2    = 125 //125 Exponential Moving Average

EMA3    = 200 //200 Exponential Moving Average

LotSize = 0.01 //Default lot size

AlertOnly  = 0 //When all conditions are met, trigger mt4 alert

TradeOnly  = 0 //When all conditions are met, trigger mt4 trade

TakeProfit = 0 //Take Profit variable is set when conditions are met

StopLoss   = 0 //Stop Loss variable is set when conditions are met

RiskReward = 1.5 //Default risk/reward ratio multiplier

Session    = 0 //0=All Sessions, 1=New York, 2=London, 3=Tokyo, 4=Sydney (User can select multiple sessions)

MutipleOrders = 0 //0=Open Order when conditions are met 1=Only open one order at a time, additional order cannot be opened

ATR = 14 //Average true range used in stop loss calculation


Long: At Candle open

    if (previous candle high and low > EMA1) && (previous candle high and low > EMA2) && (previous candle high and low > EMA3) 

      if (current candle open > EMA1) && (current candle open > EMA2) && (current candle open > EMA3) 

if (macd and signal line cross between MacDRangeLong)


        if(AlertOnly = 1 && TradeOnly  = 0)

(

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward

  Alert("Buy at " + CurrentPrice + "Stop Loss " StopLoss + "Take Profit" + TakeProfit )

        )


if(AlertOnly = 0 && TradeOnly  = 1)

        (

  Buy Market Order

  LotSize = LotSize

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward


  when ( price = 50% of TakeProfit )

       StopLoss  = break even + 5 pips

  when ( price = TakeProfit )

     Trailing Stop Loss = calculated by subtracting the current ATR value from the lowest-low of the given lookback period 

       )


Short: At Candle open

    if (previous candle high and low < EMA1) && (previous candle high and low < EMA2) && (previous candle high and low < EMA3) 

      if (current candle open < EMA1) && (current candle open < EMA2) && (current candle open < EMA3) 

if (macd and signal line cross between MacDRangeShort)


        if(AlertOnly = 1 && TradeOnly  = 0)

(

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward

  Alert("Sell at " + CurrentPrice + "Stop Loss " StopLoss + "Take Profit" + TakeProfit )

        )


if(AlertOnly = 0 && TradeOnly  = 1)

        (

  Sell Market Order

  LotSize = LotSize

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward


  when ( price = 50% of TakeProfit )

       StopLoss  = break even + 5 pips

  when ( price = TakeProfit )

     Trailing Stop Loss = calculated by adding the current ATR value to the highest-high of the given lookback period

       )


Dossiers :

Répondu

1
Développeur 1
Évaluation
(414)
Projets
670
33%
Arbitrage
60
17% / 32%
En retard
113
17%
Travail
2
Développeur 2
Évaluation
(3)
Projets
5
0%
Arbitrage
0
En retard
3
60%
Gratuit
3
Développeur 3
Évaluation
(508)
Projets
764
63%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
4
Développeur 4
Évaluation
(24)
Projets
28
32%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
5
Développeur 5
Évaluation
(15)
Projets
17
6%
Arbitrage
1
0% / 100%
En retard
1
6%
Gratuit
6
Développeur 6
Évaluation
(236)
Projets
418
34%
Arbitrage
53
36% / 40%
En retard
153
37%
Occupé
7
Développeur 7
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
8
Développeur 8
Évaluation
(126)
Projets
151
48%
Arbitrage
6
83% / 17%
En retard
2
1%
Gratuit
9
Développeur 9
Évaluation
(68)
Projets
72
21%
Arbitrage
6
50% / 33%
En retard
1
1%
Gratuit
10
Développeur 10
Évaluation
(66)
Projets
143
34%
Arbitrage
10
10% / 60%
En retard
26
18%
Gratuit
Commandes similaires
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
"I need an expert advisor (EA) based on stochastic divergence and candlestick formation. It should be able to identify both hidden and regular divergences. The EA should also include modified risk-reward ratios, modified timeframes, and a trailing stop loss. It is important that the EA is 100% accurate. Once an experienced developer applies, I will share the complete strategy."
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for
I need someone that can make expert advisor for backtesting purpose. The input file is History trade report export file from MQl5 the expert advisor should open position the exact time of open trade on the report. The same as the close time
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD
Délais
de 1 à 5 jour(s)