Relatively simple MA crossover system needed

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 7 giorni
Feedback del dipendente
Good employer! Thank you :)
Feedback del cliente
Good help from employee during the process. Got the EA I wanted :)

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


Con risposta

1
Sviluppatore 1
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(192)
Progetti
247
61%
Arbitraggio
8
25% / 38%
In ritardo
8
3%
In elaborazione
3
Sviluppatore 3
Valutazioni
(12)
Progetti
16
44%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(304)
Progetti
509
47%
Arbitraggio
29
10% / 45%
In ritardo
138
27%
Gratuito
5
Sviluppatore 5
Valutazioni
(9)
Progetti
14
14%
Arbitraggio
5
0% / 60%
In ritardo
1
7%
In elaborazione
6
Sviluppatore 6
Valutazioni
(140)
Progetti
205
80%
Arbitraggio
18
33% / 44%
In ritardo
10
5%
In elaborazione
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
21
57% / 29%
In ritardo
47
7%
In elaborazione
9
Sviluppatore 9
Valutazioni
(10)
Progetti
15
27%
Arbitraggio
3
67% / 33%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(49)
Progetti
62
40%
Arbitraggio
1
0% / 100%
In ritardo
7
11%
In elaborazione
11
Sviluppatore 11
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
30
30% / 53%
In ritardo
36
41%
In elaborazione
12
Sviluppatore 12
Valutazioni
(2086)
Progetti
2646
61%
Arbitraggio
113
45% / 26%
In ritardo
418
16%
In elaborazione
13
Sviluppatore 13
Valutazioni
(2428)
Progetti
3057
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
In elaborazione
Ordini simili
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

Informazioni sul progetto

Budget
50 - 150 USD
IVA (21%): 10.5 - 31.5 USD
Totale: 60.5 - 181.5 USD
Per lo sviluppatore
45 - 135 USD
Scadenze
a 3 giorno(i)