Relatively simple MA crossover system needed

MQL5 Эксперты

Работа завершена

Время выполнения 7 дней
Отзыв от исполнителя
Good employer! Thank you :)
Отзыв от заказчика
Good help from employee during the process. Got the EA I wanted :)

Техническое задание

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.  


Откликнулись

1
Разработчик 1
Оценка
(1)
Проекты
1
100%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(201)
Проекты
261
63%
Арбитраж
9
22% / 33%
Просрочено
10
4%
Работает
3
Разработчик 3
Оценка
(12)
Проекты
16
44%
Арбитраж
1
100% / 0%
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(304)
Проекты
509
47%
Арбитраж
29
10% / 45%
Просрочено
138
27%
Свободен
5
Разработчик 5
Оценка
(10)
Проекты
14
14%
Арбитраж
7
0% / 43%
Просрочено
1
7%
Работает
6
Разработчик 6
Оценка
(141)
Проекты
207
80%
Арбитраж
18
33% / 44%
Просрочено
10
5%
Работает
7
Разработчик 7
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(568)
Проекты
641
41%
Арбитраж
21
57% / 29%
Просрочено
47
7%
Работает
9
Разработчик 9
Оценка
(10)
Проекты
17
24%
Арбитраж
3
67% / 33%
Просрочено
2
12%
Свободен
10
Разработчик 10
Оценка
(49)
Проекты
62
40%
Арбитраж
1
0% / 100%
Просрочено
7
11%
Работает
11
Разработчик 11
Оценка
(42)
Проекты
88
14%
Арбитраж
31
29% / 55%
Просрочено
36
41%
Работает
12
Разработчик 12
Оценка
(2102)
Проекты
2674
62%
Арбитраж
114
46% / 25%
Просрочено
421
16%
Загружен
13
Разработчик 13
Оценка
(2441)
Проекты
3076
66%
Арбитраж
77
48% / 14%
Просрочено
340
11%
Работает
Похожие заказы
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

Информация о проекте

Бюджет
50 - 150 USD
VAT (21%): 10.5 - 31.5 USD
Итого: 60.5 - 181.5 USD
Исполнителю
45 - 135 USD
Сроки выполнения
до 3 дн.