Adding hedge filters to my MT4 EA

IN PROGRESS
Bids
13
Avg Bid (USD)
$138
Project Budget (USD)
$30 - $250

Project Description:
i would like to add a hedge counter trade to my mt4 ea

my ea has a fix take profit value also with a normal take profit value and a fix stop loss value also with normal stop loss value. i would like to change the fix take profit value as the trigger value to place a counter trade ( hedge ) rather then a fix take profit.

eg:

fix tp = 3 ( the ea at the moment will close trade at 3 pips ) - i dont want this to happen i want

fix tp = 3 ( trade hits 3pips but place a counter trade - hedge ) fix tp will be called something else
the main tp and sl must be disabled once the hedge is triggered

Both trade will be trading for X amount of minutes - which is user imputed and closed together or by number of pips reached.

if after 4 tries to hedge and if hedge does not go through then move sl to breakeven

also the only other thing is if when the hedge is being close, what will happen if one leg cannot be closed because of broker intereference, is there any protection to build in?

Skills required:
C++ Programming, Financial Markets, Metatrader
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 200
in 5 days
$ 250
in 7 days
Hire matharpa
$ 175
in 3 days
$ 250
in 2 days
$ 120
in 1 days
$ 30
in 1 days
Hire ChuckNZ
$ 100
in 2 days
Hire Birju19
$ 75
in 3 days
$ 100
in 3 days
Hire wiseeea
$ 100
in 1 days