fxcodebase-backup

OCO (One-Cancels-the-Other) EA

Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=31490
Forum: 38 · Topic 31490 · 2 post(s)


OCO (One-Cancels-the-Other) EA

Alexander.Gettinger · Mon Jan 28, 2013 4:56 pm

EA removes all pending orders after the open market order.

Download:

OCO_EA.mq4


Re: OCO (One-Cancels-the-Other) EA

ijayakumar · Sun Aug 30, 2015 9:30 am

I dont think anyone will be interested in this OCO. Instead, if someone creates an OCO to create two Pending orders simultaneously with Lot,Distance from current position or two different values,Stoploss,Limit and TrailingStop and one Pending order execution cancel’s the other, then that EA will be very helpful.