MT4 Price Channel Martingale Hedge EA

This project was successfully completed by JackRh for $50 USD in 3 days.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$50 - $100 USD
Completed In
3 days
Total Bids
Project Description


I like to automate my Strategy to MT4 EA:

If the price moves a certain distance from the first trade it will open
a second trade hedging in the opposite direction.
The distance between the two trades is the Step/Range, and is set by the user.
The first trade becomes one boundary of the Step/Range,
the second trade makes the opposite boundary

I like to create a simple EA based on above Strategy,
Profit is based on basket profit on $
No specific TP & SL for all positions (this will make the EA stop changing
the TP & SL every tick).
EA will close all position(manage by magic number)
once total basket profit reach $ amount set in parameter.

Entry for 1st trade is based on Simple moving average
(Time & period of SMA set in EA parameter), buy if SMA is up
& sell if SMA is down (buy or sell immediately once EA attached).
Once position is open, immediately place pending stop order for hedge position.
When the 1st hedge position is triggered, immediately place pending stop order
for the hedge the hedge order.. & so on.

Once Basket TP($) hit, closed all positions including the hedge pending
stop order & open new position immediately following the direction of take profit
(If short TP, open new short, if Long TP, open new long)

EA parameter (Default as follow)
EA Comment: [url removed, login to view]
Magic Number: 1001
Based Lot Size: [url removed, login to view]
Step/Range: 50
Lot Multiplier: 2
Stop Trading after Basket-TP (False or True): False
Maximum Hedge position: 10
Maximum Spread: 3
Maximum Slippage: 2
Take profits
- Level 1 Basket-TP($) for Position without a hedge: 1
- Level 2 Basket-TP($) for Position with 1 hedge position: 1
- Level 3 Basket-TP($) for Position with 2 hedge positions: 1
- Level 4 Basket-TP($) for Position with 3 hedge positions: 2
- Level 5 Basket-TP($) for Position with 4 hedge positions: 2
- Level 6 Basket-TP($) for Position with 5 hedge positions: 5
- Level 7 Basket-TP($) for Position with 6 hedge positions: 5
- Level 8 Basket-TP($) for Position with 7 hedge positions: 5
- Level 9 Basket-TP($) for Position with 8 hedge positions: 10
- Level 10 Basket-TP($) for Position with 9 hedge positions: 10
- Level 11 Basket-TP($) for Position with 10 hedge positions: 10
- Level 12 Basket-TP($) for Position with 11 hedge positions: 15
- Level 13 Basket-TP($) for Position with 12 hedge positions: 15
- Level 14 Basket-TP($) for Position with 13 hedge positions: 15
- Level 15 Basket-TP($) for Position with 14 hedge positions: 20
- Level 16 Basket-TP($) for Position with 15 hedge positions: 20
Basket Lost-SL($), 0 to deactivate: 0

Note: Basket-TP($) & Basket Lost-SL($) are in $ value NOT pips

On top left corner of the chart EA write current Basket Profit/Loss value $=

EA MUST able to continue manage the trades & properly protect the data
if computer or MT4 shuts down in a middle of a trade.

EA MUST repeatedly tries & MAKE SURE to close ALL positions in
basket & pending order once Basket-TP($) or Basket Lost-SL($) is hit!

EA MUST manage its own magic number trades & not interfere
other trades manage by other Magic number.

EA can auto detect 4 or 5 digits decimal quote, standard or micro account
& ECN compatible.

Please quote your best price.

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