A:CLOSE_ORDERS

JedeyeFX Documentation

shp.png

A:CLOSE_ORDERS

This action programs the expert advisor to close all orders (any or of a certain type) whenever the full condition set is considered true.

Syntax
a:close_orders(order_type)!
Parameters order_type This parameter represents the type of orders that must be closed. You can set it to BUY (close only buy orders), SELL (close only sell orders) or ALL (close all orders).
Single-sided Yes
Example a:close_orders(SELL)!
This example will close all sell orders whenever the full condition set it is on is considered true.