Jump to content

[Req] Trade managing EA - OCO - change to ECN


pipfighter

Recommended Posts

Hi,

 

I found this nice EA for managing trades (OCO + stop and 3 targets managing for a single trade)

OCO when opening a trade (sell and buy)

It will exit 1/3 of the trade when hitting each target.

 

The problem is it doesn't work with ECN brokers.

 

It would be great if someone could make this EA work with ECN brokers.

 

Another feature that would be great is making the EA move the SL to BE once it hit the first target or Trailing stop from BE after hitting first target.

 

Please help,

Thanks in advance!

 

Download here:

http://www.mediafire.com/file/rw24zzmjdmd/OCO_noECN.zip

Edited by scarface
Link to comment
Share on other sites

Hi,

 

Good day,

 

I'm not sure whether I have time to do that or not, but you still can go to a thread for making none ECN to ECN.

 

I believe it is simple. great members here would help you with that as well.

 

The procedure is written in the same thread.

 

I hope this is useful.

 

Best wishes,

 

SF

a New Year 2011 has come, and the challenge has just started 8-)
Link to comment
Share on other sites

Thank you ScarFace!

 

I changed the expert myself to open orders on ECN broker - and it worked just fine.

 

However it does not exit as it should from trades - it is suppose to close 1/3 of the trade at each of the 3 targets - but it closes the whole trade at 1st (maybe because it is made for 4 digits and I use it on 5 digits?)

 

 

I have no programing experience and I'd also like to add little improvements to the EA:

 

1) make it trail profit - from the amount of pips I enter or from 1st target.

 

2) It has an option to enter a trade making OCO when "Open Order" parameter is 'true' - I'd like the EA to automatically make it false after an order is opened.

 

With this adjustments this EA will work much better.

 

 

I believe it is quite simple from the length of the code (it looks short).

 

I don't know who are the programmers on the forum whom are able to do this and if it is OK to ask them to make such changes... :-S

 

I wanted you to recommend on one of the programmers but actually I can't PM anyone yet.. So I hope one of the great programmers here is reading this [-O<

 

If you'd like to have a look at it you can download the original and the one I have changed here:

 

http://www.mediafire.com/file/cmyjhf2mnn5/OCO_noECN_ECN.zip

 

Thank you in advance,

PipFighter

Link to comment
Share on other sites

 

2) It has an option to enter a trade making OCO when "Open Order" parameter is 'true' - I'd like the EA to automatically make it false after an order is opened.

 

Well it does it already... I guess I made a mistake and initiated it again.

 

 

Anyway I found a solution for the EA so no one needs to work on it - Thanks anyway!

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...