Closed

Adding hedge filters to my MT4 EA

This project was awarded to ChuckNZ for $100 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $250 USD
Total Bids
13
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?

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online