Need an EA to autotrade when specific requirements are met based on 200/50 EMA and Stochastic indicators and uses ATR for setting SL and TP

MQL5 Experts Forex

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
I received most of what I asked for. The code was commented well so from there I was able to tweak to get it perfect...and learn a little in the process. Very good communication as well.

Spécifications

Hello. I'm trying to learn MQL5 to do this but have been hitting a wall getting it completed. So I'd like someone to code the EA for me and include the source files so I can learn from it...(to see what I'm doing wrong basically).

Inputs:

  1. Trading pair will be whatever is selected on the chart it's applied to.
  2. Lot size can be fixed or percentage. If fixed is selected, the default is 0.1. If percentage is selected the default is 1%. But either can be changed to suit the current needs.
  3. Max spread: default will be 5 but will not trade if the default spread is lower than the current brokerage amount.
  4. Hours for trading: default will be all hours, but can set a start and stop time if required.
  5. Days that trades can be opened: default will be Mon-Fri (Forex) but will have option to turn off individual days.
  6. Max orders: default will be 1 (only one trade open at a time) but can be changed to allow more.
  7. Stop Loss (SL): default will be 1.5x the Average True Range (ATR) when the trade is opened but can be changed as required.
  8. Take Profit (TP): default will be 1.5x the SL.
  9. Stochastic Range high (for shorts): default is 80 but can be adjusted as required.
  10. Stochastic Range low (for longs): default is 20 but can be adjusted as required.

Indicators used: all using the timeframe of the selected chart.

  • 200 period Exponential Moving Average (EMA)
  • 50 period Exponential Moving Average (EMA)
  • Stochastic: K length 14, D length 14, smoothing, 3, 3
  • Average True Range (ATR): 14 RMA smoothing

Requirements to open a long position:

  • No other orders currently open
  • Currently trading above both the 200 EMA and 50 EMA and 200 EMA is below the 50 EMA.
  • If, at any point, the 50 EMA moves below the 200 EMA, the process resets.
  • Price closes below the 50 EMA.
  • Both stochastic D and K are below the selected low range (default 20).
  • This doesn't have to be on the same candle that closed below the 50 EMA. We can wait until stochastic D and K cross below the selected low range unless 2 candles close below the 200 EMA or 50 EMA crosses below 200 EMA. If either of those happen then the process resets.
  • Stochastic K moves above stochastic D, but both are still below the selected low range. (Now trigger long position).
  • If either stochastic K or D move above the selected low range, the process resets.

Requirements to open a short position:

  • No other orders currently open
  • Currently trading below both the 200 EMA and 50 EMA and 200 EMA is above the 50 EMA.
  • If, at any point, the 50 EMA moves above the 200 EMA, the process resets.
  • Price closes above the 50 EMA.
  • Both stochastic D and K are above the selected high range (default 80).
  • This doesn't have to be on the same candle that closed above the 50 EMA. We can wait until stochastic D and K cross above the selected high range unless 2 candles close above the 200 EMA or 50 EMA crosses above 200 EMA. If either of those happen then the process resets.
  • Stochastic K moves below stochastic D, but both are still above the selected high range. (Now trigger short position).
  • If either stochastic K or D move below the selected high range, the process resets.

Info on the chart:

When the EA is running, please display the following in a box on the chart:

  • Current spread
  • Open order information
  • SL settings
  • TP settings
  • Possibly other normally included info

Attached is a screenshot of what a successfully place order would look like. Let me know any additional questions you may have.

Dossiers :

PNG
ForexEntry.png
102.3 Kb

Répondu

1
Développeur 1
Évaluation
(100)
Projets
125
23%
Arbitrage
12
0% / 75%
En retard
22
18%
Gratuit
2
Développeur 2
Évaluation
(328)
Projets
514
19%
Arbitrage
35
46% / 31%
En retard
34
7%
Travail
3
Développeur 3
Évaluation
(39)
Projets
59
20%
Arbitrage
6
33% / 17%
En retard
1
2%
Travail
Publié : 2 codes
4
Développeur 4
Évaluation
(39)
Projets
50
18%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
5
Développeur 5
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
6
Développeur 6
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
7
Développeur 7
Évaluation
(67)
Projets
97
35%
Arbitrage
11
27% / 45%
En retard
13
13%
Gratuit
8
Développeur 8
Évaluation
(85)
Projets
174
44%
Arbitrage
3
100% / 0%
En retard
5
3%
Gratuit
Publié : 1 code
9
Développeur 9
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(4)
Projets
7
43%
Arbitrage
1
0% / 0%
En retard
1
14%
Gratuit
12
Développeur 12
Évaluation
(195)
Projets
242
34%
Arbitrage
11
45% / 45%
En retard
8
3%
Gratuit
Publié : 1 article, 8 codes
13
Développeur 13
Évaluation
(68)
Projets
111
69%
Arbitrage
1
100% / 0%
En retard
2
2%
Gratuit
14
Développeur 14
Évaluation
(90)
Projets
118
17%
Arbitrage
44
23% / 39%
En retard
20
17%
Gratuit
15
Développeur 15
Évaluation
(64)
Projets
83
28%
Arbitrage
9
33% / 56%
En retard
9
11%
Gratuit
Publié : 1 code
16
Développeur 16
Évaluation
(215)
Projets
226
76%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(33)
Projets
43
16%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(72)
Projets
80
10%
Arbitrage
38
8% / 58%
En retard
6
8%
Gratuit
19
Développeur 19
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
20
Développeur 20
Évaluation
(611)
Projets
714
33%
Arbitrage
46
48% / 41%
En retard
14
2%
Occupé
21
Développeur 21
Évaluation
(2674)
Projets
3411
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
Publié : 1 code
22
Développeur 22
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
23
Développeur 23
Évaluation
(2343)
Projets
2948
63%
Arbitrage
124
44% / 26%
En retard
429
15%
Gratuit
Commandes similaires
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Hi, I’m looking for an experienced MT5/MQL5 developer to assess and potentially develop a custom trade copier. The requirement is to copy trades from Vantage Web Copy Trading to an MT5 account in real time. Core requirements: Source: Vantage Web Copy Trading Destination: MT5 Instrument: XAUUSD only Copy trade opening and closing Copy partial closures No SL/TP required MT5 account can be with Vantage or another
Swing Breaks & AMD Expert Advisor The Swing Breaks & AMD Expert Advisor is an automated trading system designed around two core market-structure concepts: Swing Breaks and the AMD (Accumulation, Manipulation, Distribution) model . The EA is designed to analyze price action, identify meaningful swing structures, detect potential breaks of those structures, and evaluate the surrounding market behavior for possible AMD
I'm looking for a swing trading EA that takes 1-3 trades / week, holds these positions from a few days up to about 1.5 weeks. Symbol : any Strategy : any Timeframe : any Platform : MT4 only The catch : you would need to come up with the STRATEGY AND do the CODING The must have's : c onstant monthly returns, low drawdown I will backtest the trial version of your .ex4 file for 20+ years with 99.9% tick data accuracy
I'm a ninja trader day trader and I have worked with a company called Legendary Trader and use their indicated and automated strategies to trade. I rencenly have been playing with a free indicator I was able to download that uses CCI & ATR calculations to define the market being in an up or down trend. I have found in reviewing historical data that taking a trade when the signal flips from bull to bear sentiment or
PROJECT OVERVIEW I need a production-grade, modular Expert Advisor for MetaTrader 5 built to institutional coding standards. This is not a simple indicator-crossover bot. The system must be object-oriented, fully commented, and structured so individual modules can be replaced or disabled without breaking the build. Broker: IC Markets Raw. Primary symbol: XAUUSD. Secondary validation: EURUSD, GBPUSD, USDJPY, AUDUSD
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
need an EA or indicator done , based on any strategy but with the following specific risk management parameters ; were i am able to do at least 2RR(standard reward-risk ratio for every trade) , fair win rate that is at leat 50% , EA should be able to generate at least 2 trades and above per week , favourable sharpe ratio . total drawdown of not more than 8% any given month and not over 3% any given day , would
I need an MQL5 trading robot for Forex. It should open and close trades based on my strategy rules. Please include money management, stop loss, take profit, and lot size settings. The EA should be stable, easy to edit, and tested before delivery. I will share the exact entry and exit rules with the developer
I need a professional programmer who can code this top tier professional synthetic index EA structure perfectly to my laptop extra perfectly payment after successful job very urgent needed here in Nigeria at onitsha Here is my contact you can message me on my WhatsApp 09121052987/ direct call 09038568050

Informations sur le projet

Budget
50 - 80 USD
Délais
de 2 à 5 jour(s)