EA Using Simple Moving Averages

MQL4 指标 专家

工作已完成

执行时间8 天

指定

Create an Expert Advisor (EA) to work on Meta Trader 4 (MT4) and use to trade Forex markets. The EA will run on one chart only with a chosen timeframe. The EA will monitor three indicators: Average True Range (ATR); and two Simple Moving Averages. The EA will open long or short trades based upon the crossing of MA lines. When the short term MA crosses above the long term MA, go long. When the shorter term MA crosses below the longer term MA, go short.

Only take one trade at a time and each trade should be closed out with a take profit or stop loss before starting the next trade. Once a trade has been opened, the EA will decide stop loss and take profit positions based upon a percentage of the Average True Range (ATR) indicator.


Specifications:

Please code the following input variables.

 

Variables

Units

Description

1

Sample Size

 

Number of trade outcomes (e.g. 20 outcomes).

3

Higher Moving Average

 

Higher Indicator (e.g. 13 M15). – Simple MA

4

Lower Moving Average

 

Lower Indicator (e.g. 5 M15). Simple MA. Enter long or short trades when lower indicator crosses higher one. e.g. When lower indicator is above higher indicator, long trades and vice versa.

5

Total Lots

 

All lot sizes – Standard, Mini, Micro (e.g.  0.3 lots)

6

Take Profit 1

%

Choose percentage of Average True Range (ATR) e.g. 30%

7

Take Profit 1 Lots

 

Number of lots to close at Take Profit 1 (e.g. 1 lot)

8

Take Profit 2

%

Choose percentage of Average True Range (ATR) e.g. 60%

9

Take Profit 2 Lots

 

Number of lots to close at Take Profit 2 (e.g. 1 lot)

10

Take Profit 3

%

Choose percentage of Average True Range (ATR) e.g. 90%

11

Take Profit 3 Lots

 

Number of lots to close at Take Profit 3 (e.g. 1 lot)

12

Stop Loss 1

%

Choose percentage of Average True Range (ATR) e.g. -90%

13

Stop Loss 1 Lots

 

Number of lots sold at Stop Loss 1 (e.g. 3 lots)

14

Stop Loss 2

 

Only activated once Take Profit 2 has been reached. Stop Loss 2 is set to close the trade when any point is reached under the starting point (based upon real time trade, not close of candle). When activated, Stop Loss 2 closes all remaining lots immediately.

 

15

Stop Loss 2 Lots

 

Number of lots sold at Stop Loss 2 (e.g. remaining number of lots)

 

Q: Can EA calculate brokerage fees?


附加的文件:

反馈

1
开发者 1
等级
(33)
项目
49
12%
仲裁
16
0% / 88%
逾期
10
20%
空闲
2
开发者 2
等级
(365)
项目
412
36%
仲裁
35
26% / 57%
逾期
63
15%
空闲
3
开发者 3
等级
(414)
项目
670
33%
仲裁
60
17% / 32%
逾期
113
17%
工作中
4
开发者 4
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
相似订单
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well
the sl doesnt work i want the tp logic to remain i need the trend direction fucntion tow ork i the trend is up then only buys if down only sells i need the fibo nacci fucntion to work as well and the flat zone function to work as well and i need the code to trade 1% of the balance //+------------------------------------------------------------------+ //| US500_EA.mq4 | //|

项目信息

预算
50+ USD
开发人员
45 USD
截止日期
 1 天