Please help me modify this EA

 

I see this ea on internet. But not run when i attack to chart.

Some funtion not enought. When order hit stoploss, ea dont open continue hegde.

Please Help me modify this ea with these condition:

When one order hit stoploss, continue open two order Buy-Sell. And then continue open hegde when other order hit stoploss. Stoploss = 50 pip. Takeprofit 1000 pip.

 Thanks!

Files:
 

What is your EA doing ??

and what will it do with the change you wanted ??

 

  1. Today, 12:15 PM#3
    Join DateFeb 2013Posts4
    ThreadsStatusOnlinePost Thanks / Like 
     Originally Posted by lptuyen 
    This is only a simple tool that help you open BUY+SELL orders when a new bar formed & no current open orders. It is not a fully-function EA.

    Best,
    lptuyen
    Thanks.
    I am not code, can you make EA help me, please?


 
hoacomay:

I see this ea on internet. But not run when i attack to chart.

Bars is not a reliable method to use to do things once per bar,  use time instead.

Test the return value from your OrderSend() so you know if it worked or failed,  if it fails check what the error was and Print() it  :   What are Function return values ? How do I use them ?

Is your Broker an ECN type Broker ?  if you are not sure do this little test:   https://www.mql5.com/en/forum/143043/page2#746319 

 
hoacomay:

I want to test system hegde. 

Can you make help me?

Did you read the information at the links I gave you ?  if you can't code and don't want to learn then go here:  MT4 & MT5 coding
 
Thanks!