Relatively simple MA crossover system needed

MQL5 Esperti

Specifiche

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 should be visible on the chart, so that crossovers can easily be spotted and analysed.  


File:

Con risposta

1
Sviluppatore 1
Valutazioni
(143)
Progetti
255
35%
Arbitraggio
12
25% / 58%
In ritardo
42
16%
Gratuito
2
Sviluppatore 2
Valutazioni
(5)
Progetti
6
17%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(192)
Progetti
247
61%
Arbitraggio
8
25% / 38%
In ritardo
8
3%
In elaborazione
4
Sviluppatore 4
Valutazioni
(180)
Progetti
301
30%
Arbitraggio
54
24% / 56%
In ritardo
98
33%
Gratuito
5
Sviluppatore 5
Valutazioni
(243)
Progetti
429
34%
Arbitraggio
54
37% / 39%
In ritardo
156
36%
Occupato
6
Sviluppatore 6
Valutazioni
(140)
Progetti
205
80%
Arbitraggio
18
33% / 44%
In ritardo
10
5%
In elaborazione
7
Sviluppatore 7
Valutazioni
(2)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
1
100%
Gratuito
8
Sviluppatore 8
Valutazioni
(66)
Progetti
143
34%
Arbitraggio
10
10% / 60%
In ritardo
26
18%
Gratuito
Ordini simili
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further

Informazioni sul progetto

Budget
30 - 100 USD
IVA (21%): 6.3 - 21 USD
Totale: 36.3 - 121 USD
Per lo sviluppatore
27 - 90 USD
Scadenze
a 3 giorno(i)