Esta função fecha todas as posições de venda (Sell) abertas no mercado, podendo ser filtradas por símbolo.
Function
Section titled “Function” Name: PosSellCloseAll Copied!
Parameters
Section titled “Parameters”Examples
Section titled “Examples”//Default example:
PosSellCloseAll[symbol = REAL, magic = MAGIC]
//Other examples:
PosSellCloseAll[] // Fecha todas as posições de venda em todos os símbolos
PosSellCloseAll[EURUSD] // Fecha todas as posições de venda somente no EURUSD