Jump to content

Auto Stop loss / Auto Take profit EA


Recommended Posts

Hello,

 

I have this Auto Stop loss / Auto Take profit EA that I want to use, but it seems not to be working neither on TDFX or Pepperstone brokers. For some reason I cant get it to work.

 

Could anyone look at the code to check what could be wrong, or maybe you have a better and working auto stop loss / take profit ea?

 

THANK YOU!

 

The ea: hxxp://www.forexfactory.c0m/attachment.php?attachmentid=471564&d=1273333870

Link to comment
Share on other sites

It is worrisome that you used zeroes in the OrderSelect function instead of SELECT_BY_POS and MODE_TRADES. As MODE_TRADES is the the default anyway, you could just as easily leave that out. I'd suggest changing the statement to if(OrderSelect(a, SELECT_BY_POS)).

 

Please give more details about the problem(s) you're having? Any error messages logged under the experts tab and the journal tab will be helpful, too.

Edited by BobR
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...