|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| bool OrderClose | ( | int | ticket, |
| double | lots, | ||
| double | price, | ||
| int | slippage, | ||
| Color | color | ||
| ) |
Closes opened order
| ticket | Unique number of the order ticket |
| lots | Number of lots |
| price | Closing price |
| slippage | Value of the maximum price slippage in points |
| color | Color of the closing arrow on the chart. If the parameter is missing or has CLR_NONE value closing arrow will not be drawn on the chart |