Create a Trading Robot

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Great job. Perfect. Deserve much respect and trust.
Feedback from employee
Excellent customer! it was great experience for me. I hope can work with him again.

Specification

I need trading robot that my strategy is applied circularly to each new position in a nested loop.

The EA should be coded by MQL5 language 

Please deliver the source code with comments. 

In summary, the EA should be

_ Place Buy/Sell order when multiple conditions are met: 

_ Edit/Cancel order if multiple conditions are met

_ Set stop loss and take profit

_ Check current positions

_ Support the following input settings

0 DEFAULT_VOLUME  10

1 FIRST_ORDER_WAIT_TIME    default 5m.

2 FIRST_ORDER_DIRECTION    enum  [buy, sell].

3 FISRT_STOP_LOSS_PIPS  INT DEFAULT -100

4 FISRT_TAKE_PROFIT_PIPS  INT DEFAULT 200

5 EDIT_ORDER_BY_PROFIT_PIP_SIGNAL      INT DEFAULT  50

6 EDIT_ORDER_BY_LOSS_PIP_SIGNAL      IN DEFAULT -50

7 SECOND_STOP_LOSS_PIPS  INT DEFAULT 10

8 SECOND_TAKE_PROFIT_PIPS   INT DEFAULT 300

9 THIRD_STOP_LOSS_PIPS  INT DEFAULT -200

10 THIRD_TAKE_PROFIT_PIPS   INT DEFAULT 1

11 MAXIMUM_POSITION 100

12 RISKY_BALANCE =5000


The details of the schedule of my strategy are as the following.


1.1.1  start the robot.

1.2.1 wait for FIRST_ORDER_WAIT_TIME 

1.3.1  open a position with the DEFAULT_VOLUME volume in the FIRST_ORDER_DIRECTION immediately 

1.3.2  the position should have a stop loss order and a take profit order immediately

1.3.3  the destination price of a stop loss order is away from the position price with a specified number of points which equals the FISRT_STOP_LOSS_POINTS in the loss direction

1.3.4  the destination price of a take profit order is away from the position price with a specified number of points which equals the FISRT_TAKE_PROFIT_PIPS in the profit direction


2.1.1  if the price moves in the profit direction and  the  price is away from the position price with a specified number of points which equals the EDIT_ORDER_BY_PIP_SIGNAL, then edit the orders related current the position 

2.1.2  Edit the stop loss order with the SECOND_STOP_LOSS_PIPS

2.1.2  Edit take profit order with the SECOND_TAKE_PROFIT_PIPS

2.1.3  Immediately, open a same direction position with the DEFAULT_VOLUME volume,  and this new position should also abide by my entire strategy.


3.1.1  if the price moves in the loss direction and  the  price is away from the position price with a specified number of points which equals the EDIT_ORDER_BY_LOSS_PIP_SIGNAL, then edit the orders related current the position 

3.1.2  Edit the stop loss order with THIRD_STOP_LOSS_PIPS

3.1.2  Edit take profit order with the THIRD_TAKE_PROFIT_PIPS

3.1.3  Open an opposite hedged position with the DEFAULT_VOLUME volume immediately, and new this position should also abide by my entire strategy.


4.1.1   Execute the following position management:

4.1.2   Check the balance of the account if it is bigger than RISKY_BALANCE. If not,  prohibit opening any new position.

4.1.3   Check the volume of the account if it is bigger than MAXIMUM_POSITION. If so,  prohibit opening any new position.


5.1.1 Make sure each new position should be opened by the above strategy. No matter the first position or the position which is opened in the process of my strategy.

5.1.2 Make sure the entire strategy is applied circularly to each new position in a nested loop.


6.1.1 This strategy can use for any symbol.



Responded

1
Developer 1
Rating
(362)
Projects
504
40%
Arbitration
147
18% / 72%
Overdue
98
19%
Busy
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(14)
Projects
16
31%
Arbitration
0
Overdue
1
6%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

Project information

Budget
50 - 100 USD
For the developer
45 - 90 USD
Deadline
from 3 to 5 day(s)