An expert advisor to manage entry of trades at levels entered in advance and then manage the position til the end

Job finished

Execution time 8 days
Feedback from customer
Very good developer! Managed to complete the job to a great standard! Excellent communication and comprehension skills, and very patient in sorting out any issues, even after payment.

Specification

Hi, please see below for the requirements for this EA. I hope it is clear!:

My strategy is based on picking levels that I wish to trade from in advance. Most of this EA will be aimed at position management as entry is quite straight forward. It is important to note that any case where a buy order is being used (either for entry, TP, SL or breakeven) that the ASK price is used. Similarly, wherever a sell order is used, the BID price is used. Some EAs use only the bid price, meaning that the spread can make a difference to your entry/exit. Also, this EA should be compatible with ECN/STP accounts, so all orders must be placed with zero SL and TP initially and then immediately modified to include these. This EA must also be able to be used on multiple symbols at the same time. The following points I would like to be included in the EA:

A key point to mention is that each time a selected trading level is hit, it must always be disabled; anytime a level is disabled, I would like it to change colour to red. Whenever a level is disabled, the EA should immediately plot horizontal lines to represent where the TP and SL would have been; this may sound strange, but it is these that will be used to define a level that needs to be changed to a reversal trade (see point 14).

1.       The ability to set 5 price points for long trades, and 5 price points for short trades:

a.       I would like lines to be automatically drawn onto the chart in a specific colour at each price point; these should not be pending orders.

b.       Whenever a horizontal line is hit (i.e. a price level), it should be disabled immediately, and the disabling action of the level should trigger a market order immediately, but only if:

                                                               i.      the spread isn’t too high (if this function is enabled) – see point 5;

                                                             ii.      the slippage isn’t too high (if this function is enabled) – see point 6:

                                                           iii.      the level hasn’t been flagged as having been tested (if this function is enabled) – see point 9:

                                                           iv.      it is within the allowed trading hours (if this function is enabled) – see points 10d, 10e and 14;

2.       Two options for lot size (that can each be toggled on or off):

a.       Fixed lot size

b.       % lot size based on account size and SL size

3.       A user defined SL (in pips).

4.       A user defined TP (in pips).

5.       A user defined maximum spread filter – this function should be able to be toggled on or off.

6.       A user defined maximum slippage – this function should be able to be toggled on or off also.

7.       Three SL management methods (that can each be toggled on or off):

a.       Method 1: after X% of the TP value is reached (user defined value), the SL is moved to breakeven. Within this, I would like a function to be able to specify the number of pips added to the breakeven value.

b.       Method 2: after X% of the TP value is reached (user defined value), the SL is moved to the highest point reached (if in a short trade) or lowest point reached (if in a long trade) since the entry – I will call this the “reaction point”. Within this, I would like the option to be able to specify a pip offset to the “reaction point” so that SL placement in relation to this point can be changed.

c.       Method 3: after the trade is entered, the EA looks at the 5-minute timeframe candles and as soon as a 5-minute candle closes both below/above the previous candle (depending on whether long or short) AND below/above the trade entry point, then the SL is moved in the same way as in point 7b, again with the ability to specify a pip offset value.

8.       A TP management feature (that can be toggled on or off):

a.       The EA will move the TP to BE when the open position is in a loss for longer than X minutes (minutes to be a user defined option).

9.       A “Disable tested level” setting (that can be toggled on or off):

a.       If the price reaches within X number of pips of a level without touching it (user defined value) and subsequently moves X number of pips down (another user defined value) then the EA will immediately disable the level it will be considered to be tested; the latter element of the criteria (i.e. “moves X number of pips down”) I will refer to as the “reaction”. This reaction must be measured from the highest point recorded before the reversal, not the user defined level. The logic for this function should ALWAYS be based on the BID price.

10.   The ability to select trading times to avoid news;

a.       6 times in 24hr clock that are user defined – the EA will not use these times directly but as a reference. Each of the 6 times must have the ability to be disabled if I do not need to use them all;

b.       A user defined broker offset so that I can set these times according to my time zone and they will automatically be converted to broker time using this offset;

c.       6 “Exit positions” times, one that relates to each of the 6 times defined in point 10a – this will allow me to set a value in minutes, and any open position, in profit or loss, will be closed this number of minutes before the time that it relates to;

d.       6 “Stop trading” times, again relating to the times in 10a – this will allow me to set a value in minutes and no trades will be allowed to be entered from this number of minutes before the time that it relates to.

e.       6 “Restart trading” times – the opposite of 10d. So, trading will be allowed again this number of minutes after the time it relates to.

f.        Note that during the times listed in points 10a to 10e, the EA must function completely, the ONLY function that will not be allowed will be trade entry.

11.   An end of day trade close function (that can be toggled on or off):

a.       If, at a user defined time (using the same broker time offset described in 10b.) there is an open trade that is outside the range of the following formula: original entry point + or - X pips (defined by user), the trade will be closed.

12.   An end of week trade close function (that can be toggled on or off):

a.       At X time on Friday (again, with the broker time offset), all trades are exited no matter what and ALL EA functions will be disabled.

13.   A global trade time setting:

a.       This will allow the user to enter stop and start times (with the broker time offset as described before) during which no trades will be entered; all other EA functions must continue to work as normal.

14.   Converting a level to the opposite bias (reversal trade):

a.       Each time a level is hit, it is disabled, and horizontal lines are placed where the user defined SL and TP should go; these lines are static and do not move with the trade and I will call them “imaginary” lines. If at any point the SL imaginary line is reached before the TP imaginary line (based on the correct usage of the BID and ASK price), then the EA should plot a new horizontal line at the exact same point as the recently disabled price point, but with logic to open a trade in the opposite direction to the recently disabled level (i.e. the trade is now reversed);

b.       If this level is now hit, it should be managed by the EA in the same manner as it was before it was reversed, only this time, no imaginary SL and TP lines are plotted; this way, they trade can only be reversed once.

15.   I wish for the EA to have the option to enable push notifications of all major events, to include:

a.       Whenever a level is disabled;

b.       Whenever a trade is entered;

c.       Whenever a SL/TP is triggered;

d.       When a level is hit but a trade is not activated because the spread was too high;

e.       When a level is hit but a trade is not activated because the slippage was too high;

f.        When a level is disabled due to the criteria in point 9;

g.       Whenever a SL or TP is moved (as in points 7 and 8);

h.       When a level is hit but a trade is not activated because it was outside of the trading hours (points 10d, 10e and 14);

i.         Whenever a trade is closed early (as in points 10c, 12, and 13);

j.         Whenever the EA is disabled on a Friday;

k.       If a level is converted to the opposite bias.

16.   I wish for ALL events to be published to the MT4 Experts log with understandable notes for efficient debugging etc.


Responded

1
Developer 1
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Similar orders
I want to convert my EA from MQ4 to MQ5. The EA strategy must function the same. The EA must work with back tester. EA function with no errors. MQL5 source when the job is completed
I need someone to create the Supertrend and Trendseeker indicators as attached below. The Supertrend indicator line should change from red to green color for uptrend. The Trendseeker indicator should have upvelocity of 3 and downvelocity of -3
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
Hello, I am looking for developer who develops me a renko trading robo with following requirement Time :1 sec Box assignment method : Percentage change LTP Source : Close/OHLC Auto Break-even setup option after certain box Trialling Profit Pips after certain box profit with auto Sl set in PIPs Auto open reverse trade after hitting Sl with given conditions . It is very simple trading tool
At bot 30+ USD
Help me to trade create orders for me and analyze the markets and decide when is a good time to buy or sell. Determine which pairs are best to use to trade with and indicate trading signals to me
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding
Fair Value Gap Scanner 30 - 100 USD
Hi, Greetings. Can somebody revert with an offer to code a FVG Scanner across Forex Pairs / Time Frame Selection / Alert please in order to support a Trading Strategy where entries are considered with the market direction confluence such as a Half Trend / Semafor Indicator. Look forward to hear back. Kind Regards. Anton
Hey greetings, It my pleasure to met you . I need a MT4 develop that can develop an EA based on alert . If you are a professional MT4 programmer you can kindly bid for this project and let proceed

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
from 1 to 10 day(s)