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