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 code
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