Relatively simple MA crossover system needed

MQL5 Experts

Trabalho concluído

Tempo de execução 7 dias
Comentário do desenvolvedor
Good employer! Thank you :)
Comentário do cliente
Good help from employee during the process. Got the EA I wanted :)

Termos de Referência

This EA is supposed to work like this (inputs are in blue):

 

The selected MA crosses the selected price level up or down. The EA opens a position in that direction with a market order at next candle open (based on the MA Timeframe) with the size as selected in Size on first cross. When the MA crosses the price level up, it will buy and when the MA crosses the price level down, it will sell.

For every cross after the first cross, it will keep doing the same as described above, except that now it uses the selected Size on sequential crosses.

If for example I fill in the following in the input fields:

Price level:                                 115

Size on first cross:                       1

Size on sequential crosses:           2

Say that the current price is at 114.5, then with the above inputs, it will buy 1 lot/share/future/cfd with a market order when the MA closed beyond the 115 price level, and if it crosses down the 115 level afterwards it will sell 2. In this example there will always be a position open at any time, because 1 long position – 2 sells = 1 short position.

It is important that the EA only takes a trade when it actually crosses the price level and doesn’t buy right away when for example the EA was activated when the current price level at that moment was 116 because the EA sees that “116 is greater than the selected price level, so buy now”. It needs to actually cross the level.

 

These are all the inputs for this EA:

                                                                                                                       Selections:

ATR Timeframe

1 min – 1 month

                                    ATR Length

  1 - infinite

 

==== < Moving Average > ====

Selections:

 

MA Method

AMA/SMA/EMA/VWMA/WMA/DEMA/TEMA/HMA

 

MA Timeframe

1 min – 1 month

 

MA Period

1 – infinite

 

 

 

 

==== < Key Level > ====

I n steps of :

 

Price level

0.00001

 

Size on first cross

0.01

 

Size on sequential crosses

0.01

 

 

==== < TP/SL> ====

I n steps of :

 

Profit Target

0.1

 

Stop Loss

0.1

 

Trailing Stop Loss

0.1

 

 

 

 

==== < Confirmation > ====

Selections:

Use

False/True

MA Method

AMA/SMA/EMA/VWMA/WMA/DEMA/TEMA/HMA

MA Timeframe

1 min – 1 month

MA Period

1 – infinite

 

 

Explanation per input that are not explained yet:


MA Method

Selectable MA types (all based on closing price):

  - Adaptive Moving Average

  - Simple moving average

  - Exponential moving average

  - Volume weighted moving average (external indicator that I will provide. Tick data need to be used as source)

  - Linear weighted moving average

  - Double exponential moving average

  - Triple exponential moving average

  - Hull moving average (external indicator that I will provide)

The MAs need to be put into the EA in this exact order.


Price level

This price level I should be able to fill in manually. This could be for example 1.18456 or 115.11 or 12394.75.


TP/SL (section)

These work based on the selected ATR Timeframe and ATR length. The EA will close the trade with a market order when the Profit Target/Stop Loss/Trailing Stop Loss is hit. The size for these should follow the inputs size on first cross and size on sequential crosses, so that it always only closes out the current open positions and never more or less.


Confirmation (section)

These inputs work the exact same as in the Moving Average section. This confirmation can be turned on by selecting “true”, or off when selecting “false” as input.

What it does is that the EA will only take a new position when the criteria that are selected in the confirmation section are met (for the first cross as well as all sequential crosses).


If for example the following confirmation inputs are selected:

MA Method: SMA

MA Timeframe: 15 min

MA Period: 1

The EA will only buy when the selected MA in the Moving Average section crossed the selected price level, and the current price level is also above the 15 min 1 SMA. The same is true for the reverse when selling instead of buying; then the current price level needs to be below the 15 min 1 SMA.


Note:

Both price level and MA and the confirmation MA should be visible on the chart, so that crossovers can easily be spotted and analysed.  


Respondido

1
Desenvolvedor 1
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(204)
Projetos
264
63%
Arbitragem
9
22% / 33%
Expirado
10
4%
Trabalhando
3
Desenvolvedor 3
Classificação
(12)
Projetos
16
44%
Arbitragem
1
100% / 0%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(304)
Projetos
509
47%
Arbitragem
29
10% / 45%
Expirado
138
27%
Livre
5
Desenvolvedor 5
Classificação
(10)
Projetos
14
14%
Arbitragem
7
0% / 43%
Expirado
1
7%
Trabalhando
6
Desenvolvedor 6
Classificação
(142)
Projetos
208
80%
Arbitragem
18
33% / 44%
Expirado
10
5%
Trabalhando
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(568)
Projetos
641
41%
Arbitragem
22
55% / 32%
Expirado
47
7%
Trabalhando
9
Desenvolvedor 9
Classificação
(10)
Projetos
17
24%
Arbitragem
3
67% / 33%
Expirado
2
12%
Livre
10
Desenvolvedor 10
Classificação
(49)
Projetos
62
40%
Arbitragem
1
0% / 100%
Expirado
7
11%
Trabalhando
11
Desenvolvedor 11
Classificação
(42)
Projetos
88
14%
Arbitragem
31
29% / 55%
Expirado
36
41%
Trabalhando
12
Desenvolvedor 12
Classificação
(2115)
Projetos
2686
62%
Arbitragem
114
46% / 25%
Expirado
419
16%
Carregado
13
Desenvolvedor 13
Classificação
(2452)
Projetos
3088
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Trabalhando
Pedidos semelhantes
Job Title: Experienced MT5 Developer Needed to Update MT5 EA PLEASE READ THE ENTIRE JOB DESCRIPTION BEFORE APPLYING Qualifications Required: * Minimum of 5 years of experience in coding Expert Advisors * Experience with at least 150 completed EA projects (must be visible on your profile) * Must have knowledge of both forex trading and coding, as these are different skills * Fluent in English (no translators) * Must
I have a fully coded TradingView indicator that I need updated to function as a strategy. This should include the ability to backtest the strategy using the TradingView strategy tester. The main task is to convert the existing indicator into a strategy format while maintaining its core functionality, but adapting it for automated trading logic and performance analysis. Please ensure that the strategy uses proper
I'm looking for professional developer for long term. Who have skill in Converting trading to MT4/5. Also have good knowledge of Algo. And response and deliver tools on time and at the top need good communication. That's all we need
budget of 500 usd I want to create a rsi bot for eur usd money is the least important thing I want it to look good if you are going to apply do it but send me at least 3 photos or screenshots of this type of work with rsi bot my goal level 50 sell level 20 buy that's all it must have its basic robot functions
I have simple EA i want to modify its parameters. If you are good at modifying EAs contact me for more details. I will issue the source code then you return after finishing without changing the buy or sell conditions
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
* Advanced level dev only, NDA required * Hi, I have a multi timeframe, multiindicator expert that requires additional features added to it. First started development 5 years ago. Upgrading with new features. To be added Entry - Add Stochastic and CCI options for trade entry to be added to existing signal options. Add config options to existing menu Bulk Exit - Master switch for close all trades based on basket
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer

Informações sobre o projeto

Orçamento
50 - 150 USD
IVA (21%): 10.5 - 31.5 USD
Total: 60.5 - 181.5 USD
Desenvolvedor
45 - 135 USD
Prazo
para 3 dias