Simple rule based EA entry system

MQL4 Эксперты

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

Время выполнения 16 дней

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

At set price levels, this EA will check the current open positions of the account and change them based on the following rules:


At set price level (up to 10 levels inputted into EA settings) - check open positions and:

1. Close any positive position and any position in its direction

2. Close any negative position that is 1 unit (size of unit will be in settings, e.g. 1 unit = 0.1 lots) less than (1) position. If there are two of the same size - close the oldest one. 

3. Open position 1 unit higher opposite to remaining negative position 

4. Open one position of 1 unit opposite to position 3


Before making any position changes:

1. If spread is > x points - do not activate EA & email trader

2. If slippage > x points - do not activate EA & email trader


Example 1:

1 unit = 1 lot

Open positions:

1. Opened at 10am - Buy 1 lot (currently negative)

2. Opened at 10am - Sell 1 lot (currently positive)


At set price level EA would:

1. Close any positive position and any position in its direction

(Close position 2)

2. Close any negative position that is 1 unit (size of unit will be in settings, e.g. 1 unit = 0.1 lots) less than (1) position. If there are two of the same size - close the oldest one. 

(Not applicable)

3. Open position 1 unit higher opposite to remaining negative position 

(Open Sell 2 lots)

4. Open one position of 1 unit opposite to position 3

(Open Buy 1 lot)


Example 2:

1 unit = 1 lot

Open positions:

1. Opened at 8am -  Buy 1 lot (currently negative)

2. Opened at 10am - Buy 1 lot (currently negative)

3. Opened at 10am - Sell 2 lots (currently positive)


At set price level EA would:

1. Close any positive position and any position in its direction

(Close position 3)

2. Close any negative position that is 1 unit (size of unit will be in settings, e.g. 1 unit = 0.1 lots) less than (1) position. If there are two of the same size - close the oldest one. 

(Close position 1 - there are two but this is the oldest one)

3. Open position 1 unit higher opposite to remaining negative position 

(Open Sell 2 lots)

4. Open one position of 1 unit opposite to position 3

(Open Buy 1 lot)


Example 3:

1 unit = 1 lot

Open positions:

1. Opened at 8am -  Buy 1 lot (currently positive)

2. Opened at 10am - Buy 1 lot (currently positive)

3. Opened at 10am - Sell 2 lots (currently negative)


At set price level EA would:

1. Close any positive position and any position in its direction

(Close position 1 and 2)

2. Close any negative position that is 1 unit (size of unit will be in settings, e.g. 1 unit = 0.1 lots) less than (1) position. If there are two of the same size - close the oldest one. 

(Not applicable)

3. Open position 1 unit higher opposite to remaining negative position 

(Open Buy 3 lots)

4. Open one position of 1 unit opposite to position 3

(Open Sell 1 lot)


Example 4:

1 unit = 1 lot

Open positions:

1. Opened at 8am -  Sell 3 lots (currently negative)

2. Opened at 10am - Sell 1 lot (currently negative)

3. Opened at 10am - Buy 4 lots (currently positive)


At set price level EA would:

1. Close any positive position and any position in its direction

(Close position 3)

2. Close any negative position that is 1 unit (size of unit will be in settings, e.g. 1 unit = 0.1 lots) less than (1) position. If there are two of the same size - close the oldest one. 

(Close position 1)

3. Open position 1 unit higher opposite to remaining negative position 

(Open Buy 2 lots)

4. Open one position of 1 unit opposite to position 3

(Open Sell 1 lot)


Input settings for EA:

- 10 price levels

- Lot size of 1 unit

- Max spread size in points

- Max slippage size in points

- Option to email trader every time EA is activated and if spread/slippage max is hit



Please ask if any questions or clarifications needed.

Please provide demo for testing before finalization of job.


Thanks!

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

1
Разработчик 1
Оценка
(248)
Проекты
444
34%
Арбитраж
56
36% / 38%
Просрочено
163
37%
Загружен
2
Разработчик 2
Оценка
(4)
Проекты
4
0%
Арбитраж
1
0% / 100%
Просрочено
1
25%
Свободен
3
Разработчик 3
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(10)
Проекты
10
20%
Арбитраж
3
33% / 33%
Просрочено
3
30%
Свободен
5
Разработчик 5
Оценка
(63)
Проекты
84
26%
Арбитраж
23
22% / 48%
Просрочено
23
27%
Загружен
6
Разработчик 6
Оценка
(266)
Проекты
540
50%
Арбитраж
55
40% / 36%
Просрочено
224
41%
Работает
7
Разработчик 7
Оценка
(65)
Проекты
71
30%
Арбитраж
8
0% / 88%
Просрочено
5
7%
Свободен
Похожие заказы
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 - 80 USD
Исполнителю
45 - 72 USD