To Create a Strategy Based on 2 Exponencial Moving Average

MQL5 专家

指定

I would like to create an expert based on the require bellow:


1 - Use 2 exponencial moving avarage;

2 - Check is price is above or bellow short EMA;

3 - Check trend to make a decision if will buy or sell;

4 - Buy/sell evetytime price touchs short EMA;

5 - Getout strategy: If price goes above/bellow long EMA start the getout strategy. Double volume
     on the last top price above long EMA, after that change take profit to 10points. Do this 2x so
     I can get out of the wrong order;

6 - Buy/Sell wit TP of 40pts everytime;


Example:

Check trend, if market is stable (no trend) start experts:

If price is above short EMA for the last 4 candles, buy at the short EMA line, with TP of 40pts;

If price is bellow, sell at the EMA line with TP of 40pts;


Getout strategy:
When buy 2 volume, put another buy request of 2 volumes at 30pts bellow the last bottom price bellow long EMA,
if price get there, change TP to 10pts only to get out of order;

When price gets to the second order, make another buy limit of 4 volume at 30pts bellow the last bottom price.


反馈

1
开发者 1
等级
(2678)
项目
3428
68%
仲裁
78
49% / 14%
逾期
343
10%
空闲
发布者: 1 代码
2
开发者 2
等级
(186)
项目
205
26%
仲裁
12
25% / 58%
逾期
39
19%
空闲
3
开发者 3
等级
(7)
项目
7
29%
仲裁
0
逾期
4
57%
空闲
4
开发者 4
等级
(414)
项目
670
33%
仲裁
60
17% / 32%
逾期
113
17%
工作中
5
开发者 5
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲

项目信息

预算
30 - 100 USD