We need someone to build a new EA for MT4 that will pick up data from a web service and execute a trade based on pre-defined rules.
This is how it should work.
We have an internal signal service that saves signal data to a plain text file sitting on a web server. Example:
https://admin.manhattanglobalmarkets.com/signal.txt (view attached txt file)
The EA (on every 1 minute interval) checks to see if there's anything new in signal.txt. If there is, it will take the data inside signal.txt file and convert it into a trade on the MT4 platform.
The signal.txt file will have 2 types of signals in it.
1. New order open signal - EA must open new order based on rules defined below as well as parameters inside signal.txt (sample attached)
2. Existing order closed - EA must close the order if not already closed because the order reached SL/TP (sample attached)
The EA needs to have the following input parameters that will be controlled by the user:
URL of the signal file (it can change from time to time but the file format will be the same)
Time interval to check file (defined in minutes. Cannot be 0. Must be minimum 1)
Trade Size & Money Management---------
MM_type (Money management type): Fixed Lot/Percentage Based
MM_value (double): If user enter 1 here and Fixed Lot above, then it will consider 1 Lot trade size for each trade. If user enter 5 here and Percentage Based above, then it will consider 5% of equity balance for every single trade size.
Safe Guard(bool): true/false. If set to true, then the EA will stop working after 3 consecutive loss making trades.
TP_From_File(bool): True/false. This means it will take the TP value from the signal file. If set to false, it will use TP from value specified in TP_default field (this is in pips)
TP_Default(double): Defined in Pips
SL_From_File(bool): True/false. This means it will take the SL value from the signal file. If set to false, it will use SL from value specified in SL_default field (this is in pips)
SL_Default(double): Defined in Pips. Cannot be 0.
Trailing_SL(bool): true/false - this defines whether to activate trailing stop loss function
Trail_points: trailing points
Trail_step: trailing stop loss steps.
On the top left of the chart, a display panel (not comments) should show the following information:
Total signals intercepted so far (since the beginning of time)
Total Signals intercepted today
Today's profit in pips
Today's profit in $$
Today's Win/Loss Ratio
All time Win/Loss ratio
All time profit/loss (pips)
All time profit/loss ($$)
Please provide your proposed budget, expected time-frame of delivery and experience with web interaction in MQL4 when applying for this job.