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 专家 外汇

工作已完成

执行时间1 一天
客户反馈
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.

指定

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.

附加的文件:

PNG
ForexEntry.png
102.3 Kb

反馈

1
开发者 1
等级
(100)
项目
125
23%
仲裁
12
0% / 75%
逾期
22
18%
空闲
2
开发者 2
等级
(328)
项目
512
19%
仲裁
33
45% / 30%
逾期
34
7%
已载入
3
开发者 3
等级
(39)
项目
57
18%
仲裁
6
33% / 17%
逾期
1
2%
空闲
发布者: 2 代码
4
开发者 4
等级
(39)
项目
50
18%
仲裁
6
33% / 50%
逾期
0
空闲
5
开发者 5
等级
(144)
项目
186
41%
仲裁
24
58% / 21%
逾期
13
7%
空闲
6
开发者 6
等级
(77)
项目
243
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 1 文章
7
开发者 7
等级
(67)
项目
97
35%
仲裁
11
27% / 45%
逾期
13
13%
空闲
8
开发者 8
等级
(85)
项目
172
44%
仲裁
3
100% / 0%
逾期
5
3%
空闲
发布者: 1 代码
9
开发者 9
等级
(1)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
10
开发者 10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
开发者 11
等级
(4)
项目
7
43%
仲裁
1
0% / 0%
逾期
1
14%
空闲
12
开发者 12
等级
(195)
项目
242
34%
仲裁
11
45% / 45%
逾期
8
3%
空闲
发布者: 1 文章, 8 代码
13
开发者 13
等级
(68)
项目
111
69%
仲裁
1
100% / 0%
逾期
2
2%
空闲
14
开发者 14
等级
(90)
项目
118
17%
仲裁
44
23% / 39%
逾期
20
17%
空闲
15
开发者 15
等级
(64)
项目
83
28%
仲裁
9
33% / 56%
逾期
9
11%
空闲
发布者: 1 代码
16
开发者 16
等级
(209)
项目
220
75%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
(33)
项目
43
16%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(72)
项目
80
10%
仲裁
38
8% / 58%
逾期
6
8%
空闲
19
开发者 19
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
20
开发者 20
等级
(571)
项目
662
32%
仲裁
42
45% / 45%
逾期
12
2%
工作中
21
开发者 21
等级
(2661)
项目
3382
68%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
22
开发者 22
等级
(568)
项目
641
41%
仲裁
25
48% / 36%
逾期
46
7%
工作中
23
开发者 23
等级
(2322)
项目
2925
63%
仲裁
123
45% / 25%
逾期
429
15%
空闲
相似订单
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a demo version to see how it does and if I'm
https://youtu.be/mUoczuxL0XE?si=2IzxX4jhML_-4f47&nbsp ; ...... “Secret London Session CRT Model - Insane Accuracy | ICT Secrets.” The model is called London Twilight and focuses on quick scalps near the end of London session. Source summary notes it uses CRT + Turtle Soup + PO3/AMD , mainly between 3:00 AM and 5:00 AM EST/New York time . ( Video Highlight | AI Video Summarizer ) Give your MQL5 coder these rules
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
I want to buy proven profitable EA, any kind of strategy is considerable, working on any forex pairs or XAUUSD. I don't want to build from the scratch, so only apply if you already have profitable EA. Please send your EX4 file in advance with your application (MANDATORY), with additional information as below : - Pair and timeframe to use, minimum initial capital requirement, and so on - Type of EA (scalping, in day
Alert indicator 30+ USD
I want an alert indicator using moving average and another one is customized indicator, but i don't have it's source file. is it possible? if yes let me know we will discuss further
Auto trading system with hi probability win rate. Trades and auto trading system works well on gold and forex most important risk reward ratio. It must be 1:3 or more then that
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Intraday Trade Ninja EA Indicators used: Price Border(TMA) MA-X Arrows xSuperTrend Candles EMA 49 & 89- Per Candle Color Switching Lemansignal 200 SMA Major Criteria to consider before a trade setup or condition is taken · The price must have touched/tested the upper or
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause

项目信息

预算
50 - 80 USD
截止日期
 2  5 天