Jump to content

PLZ help to modify this EA


Recommended Posts

Hello.

Please help me to modify this simple EA.

This is Hedge EA that open Buy GBP/USD and Sell EUR/USD the same time.

When positions have profit , then EA close both.

The problem is when Positions have big DD , EA not open another 2 positions , and wait too much for positions go to profit.

I need when positions have DD 20 pips , then EA open new 2 positions like first 2 positions.And when new 2 positions have some profit , then EA close only last 2 positions , and still wait for another positions that in lost.

 

For example:

EA open Buy GBP/USD and Sell EUR/USD.

If this 2 positions have DrowDown 20 pips , then EA open New 2 positions Buy GBP/USD and Sell EUR/USD.

If second 2 Positions have again 20 pips DD , then EA open again New 2 positions ........etc......

If Last 2 open positions have profit 20 pips , then EA have to close this 2 last positions.

In Two words - EA have to open multiple positions Buy GBP/USD and Sell EUR/USD if last 2 positions have DD 20 pips , and close last 2 positions that have 20 pips profit.

 

Thanks for help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...