Basics of a One-Cancels-the-Other (OCO) Order

Traders can use OCO orders to trade retracements and breakouts. If a trader wanted to trade a break above resistance or below support, they could place an OCO order that uses a buy stop and sell stop to enter the market..
The example here is taken from the description at Investopedia.
Order tickets must warn before trading a complex product, provide a KID download and the cost breakdown. See the sample.

POST body containing order parameters:



Response:
Click button to launch function.

JS code:
Click button to show code.