Job finished
Specification
Description
To develop an Expert Advisor (EA) in MT4 to be designed to work 24 hours. The EA is required to set up the take-profit in already opened positions from different sources.
The EA shall be able to modify the take-profit value automatically based on broker time. See the requirements below.
Requirements
a.- The EA shall be independent of the chart onto which it is loaded, i.e., it shall handle any symbol/pair already open in MT4, maximum seven (7) positions at any given time
b.- Four different variables to be selected by the user via the EA's interface when pressing F7.
b.1.- Variable TP01 (in pips): User to define the number of pips for take-profit
b.2.- Variable TP02 (in pips): User to define the number of pips for take-profit
b.3.- Variable Time01 (hh:mm:ss): User to define the time range in 24 hours format, broker's time, when the variable TP01 is applicable, e.g., 00:02:00 – 22:59:00
b.4.- Variable Time02 (hh:mm:ss): User to define the time range in 24 hours format, broker's time, when the variable TP02 is applicable, e.g., 22:59:01 – 00:01:59
c.- Developer shall take the steps necessary to reduce CPU usage
d.- Developer to guaranty an EA free of bugs at the end of work acceptance
e.- Developer to provide source code once the work acceptance by customer is full-filled
Processing trading errors
If take profit request execution fails, its results should also be written to the Expert's journal using the Print() function.
The EA should write messages to the journal if a take-profit value was not set on an opening operation. Parameters to be included in the log should be the time of the event (in broker's time: 24 hours format) and an indication of failure adding take profit value.
The Rules of Using the Freelance Service, https://www.mql5.com/en/job/rules, are applicable.