Create an EA based EMA and Traditional MACD with ATR

MQL4 专家

指定

Hey folks!
So I want to start straight from creating an EA based on a traditional MACD with an EMA filter.

Basically, EA will only open a buy order (at candle close) if the price is above the EMA and will open a sell order (at candle close) if the price is below the EMA.

The buy signal will be the crossing of the MACD signal line with the 0 line (when the price is above the EMA) and when there is still the main trend of the EMA price and when the MACD signal line touches / crosses the histogram that is above 0. again. As for the sell position, quite the opposite. Price below EMA line: the macd line crosses the 0 level from above and the next sell position is when the signal line crosses the histogram. (I can post the screenshot for better understanding - sell and buy are only open after the candlestick is closed.)

As for the option for the EA:

- As for risk management, it will be based on the ATR. SL / TP will be taken from the ATR value with the option to multiply TP/SL separately from the value shown by the ATR at the moment after the candle closes.

-Position size: Fixed lot or "X"% of the agreed capital. E.g. 5% of $ 100. Despite some losing positions, where the account will already have a deposit of fo example, $80, EA will still open a SL worth $5 counting from $100 until we manually change it. Calculation of the position margin % based on the ATR.
So, sometimes the ATR will show, for example, 50 points, which is our SL and this has EA to calculate what lot size to open on a !given pair! so that a possible loss gives us, for example, X% loss which we will set above. Sometimes the ATR will show 30 points and EA also has to calculate lot size to be the same X% of deposit that we set above.

- Maximum number of open trades
- Modify MACD values,
- Choose a time frame,
- Modify SL and TP with "X" x ATR,
- EMA value (and choice of MA method),
- Trading sessions fixed hourly and separate days,
- Martingale option,

I think that's it, thanks for your interest!



反馈

1
开发者 1
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
2
开发者 2
等级
(71)
项目
103
20%
仲裁
6
0% / 83%
逾期
3
3%
空闲
3
开发者 3
等级
(878)
项目
1391
67%
仲裁
117
32% / 42%
逾期
215
15%
空闲
4
开发者 4
等级
(48)
项目
61
39%
仲裁
1
0% / 100%
逾期
7
11%
工作中
5
开发者 5
等级
(68)
项目
81
11%
仲裁
12
67% / 25%
逾期
5
6%
空闲
6
开发者 6
等级
(236)
项目
418
34%
仲裁
52
37% / 40%
逾期
153
37%
繁忙
7
开发者 7
等级
(1091)
项目
1771
61%
仲裁
14
64% / 7%
逾期
84
5%
工作中
8
开发者 8
等级
(19)
项目
35
26%
仲裁
10
30% / 70%
逾期
5
14%
空闲
9
开发者 9
等级
(294)
项目
371
21%
仲裁
43
60% / 23%
逾期
43
12%
工作中
10
开发者 10
等级
(92)
项目
132
35%
仲裁
13
38% / 31%
逾期
32
24%
空闲
11
开发者 11
等级
(3)
项目
5
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(34)
项目
60
23%
仲裁
11
73% / 9%
逾期
3
5%
空闲
13
开发者 13
等级
(1)
项目
3
0%
仲裁
1
0% / 100%
逾期
1
33%
空闲
14
开发者 14
等级
(15)
项目
17
6%
仲裁
1
0% / 100%
逾期
1
6%
空闲
15
开发者 15
等级
项目
2
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
(65)
项目
96
52%
仲裁
3
33% / 67%
逾期
24
25%
空闲
17
开发者 17
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(568)
项目
641
41%
仲裁
21
57% / 29%
逾期
47
7%
工作中
19
开发者 19
等级
(264)
项目
538
50%
仲裁
55
40% / 36%
逾期
224
42%
工作中
20
开发者 20
等级
(87)
项目
114
26%
仲裁
7
29% / 57%
逾期
5
4%
空闲
21
开发者 21
等级
项目
0
0%
仲裁
0
逾期
0
空闲
22
开发者 22
等级
(66)
项目
143
34%
仲裁
10
10% / 60%
逾期
26
18%
空闲
23
开发者 23
等级
(563)
项目
932
47%
仲裁
301
59% / 25%
逾期
124
13%
工作中
相似订单
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
Estou a procura de um programador que faça um robo que automatize as análises feitas por ele nas ondas de Elliot e que faça entradas precisas com proteções das mesmas e com proteções também ajustáveis para não entrar em noticias de 2 ou 3 estrelas, e que seja para o mercado B3 Mini Indice ou Mini Dolar
Sosso 30+ USD
I would like to order an automated robot to the job for me as I have no clue on whatsoever the trading is about. The bot should be able to do it's job, everything for me and it providing the best services for one to use
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Strategy: 1. Identify strong supply and demand levels. Draw them in the chart in green and red. In Tradingview: Market Structure Break & Order Block by EmreKb von EmreKb --> Strong demand and supply area refer to picture below (Buy and Sell Zones). There must be a strong demand / supply zone on a higher time frame in order for the set up to be valid. The time frame can be selected in the settings. E.g. "Higher Time
Hi there, I currently have a scalping strategy based of 3 thrid party indicators that I would like automated. This would help me with running the strategy through the strategy tester. Two of the indicators dont have iCustom functionality to pull the data in, so another way would have to be devised. The strategy incorpates trading activity, sentiment in the for of the ratio of traders in profit, and a third techincal
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
OK I just need 1 MOD Who can do it free There is a (Reciever EA) that receives signals from a (Sender EA) I need to ADD one mod It may even look like the option/signal is there= Ignore it Coding was wrong on that part This is simple The option in the Reicver EA will Be called "Open Copy Live" with the option to Set to True or False When set to true the Reicver EA will Watch
Hi there, I need a very highly skilled mt4 programmer to code and design an EA from scratch. The logic of the EA will be discussed with you in comments section, only reach out if you can code perfectly for mt4 using MQL4 coding solutions language, EA must be able to run well without any problems and work according to the logic thanks
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better

项目信息

预算
30+ USD
VAT (23%): 6.9 USD
总计: 36.9 USD
开发人员
27 USD
截止日期
 5 天