Job finished
Specification
This is a repost from my previous job that I had posted. The job description was unclear so developers did not understand the requirements. Please read below for new project requirements.
Build a trade copier/multiplier. The EA copies trades on 1 account it does not need to copy trades to another mt4 account.
All the trades executed on forex trading account have the same magic number or comment so we will be copying all these trades.
Once the trade is opened we want to track the original trade by its ticket # rather than magic number(because magic number is not unique). As soon as this ticket number is closed the copied trade will also be closed.
Basically the idea is to copy trades but copy them as limit orders. Example with a 20 pip deviation, a trade buy EUR/USD is opened at 1.2000, trade copier will copy this trade as a limit buy order at 1.1980, and will start tracking the order ticket #, as soon as this ticket is closed the position will also be closed or pending order cancelled if hasn't been executed.
Additional functionality - we will be able to place a TP/SL and if those are placed the order doesn't follow the original ticket # any longer. Also trailing stop functionality will be similar to TP/SL functionality
Requirements for EA
input:
The EA needs to
be able to work with 4 or 5 digit brokers.
Magic number(magic
number of original trade that will be followed)
Limit Order level deviation(from
negative to positive) e.g. a new order could be opened at -20, -50 or 30, 50
pips
TP – True/False
TP – level in pips
SL – True/False
SL – level in pips
Trailing stop –
True/False
Trailing stop value in
pips
Magic number for
opened trades