Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Hello, my indoinvestasifriends,

 

As you know, there is no native OCO orders in MT4.

(OCO for One Cancel Other)

 

Looking around I found some scripts or EA, but they don't fit my needs.

The only one which I like the features is IBFX-OCO.

It's an EA where you can input:

-a magic number

-the pair you want to trade

-the order (BuyStop,Buylimit,SellStop,SellLimit)

-lot quantity

-EntryPrice (very important for me, you can place the order at the exact price you want to get in.(not x pips away from the current price which i don't like for my needs)

-Profit Target

-StopLoss

(you can choose different value for the Buy or the Sell order)

 

 

Ok, all that to say that I would not bother you if it worked.

 

I tried it with the exe file on an IBFX demo account,(and also with the mq4):

for instance,(see pics) if I place two stop orders, everything looks ok until price trigger, but EA won't place the order (it says Invalid price, must be greater than current Ask!)

but of course it was at a higher price (for a buyStop) before it triggered!!!

 

 

 

If anyone of you, with coding skills could look into it to make it work, and also remove the limitations (must work with any broker and on live account) that would be fantastic.

 

Or if you know another EA (not a script, please), with similar features, I would take it!

 

 

Here is the original ex4 and decompiled file and two pics:

 

http://depositfiles.com/files/iv4xcjuwt

 

 

Sorry for long post.

Thank you.

 

Regards;

F.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...