AllProfitOpen
Retorna o lucro/prejuízo total de todas as posições abertas.
Disponível a partir da versão 2.05
Esta função retorna o lucro/prejuízo total combinado de todas as posições abertas, considerando os filtros fornecidos.
Função
Nome da função: AllProfitOpen
Aliases: AProfitO
Parâmetros
| symbol | = REAL; | // Símbolo do ativo. | |
| magic | = MAGIC; | // Número mágico para filtrar as operações. | |
| candle | = -1; | // Índice da vela de inicio (-1 para todas). | |
| timeframe | = CURRENT; | // Tempo gráfico. |
Exemplos
//Default example:
AllProfitOpen[symbol = REAL, magic = MAGIC, candle = -1, timeframe = CURRENT]
//Using aliases:
AProfitO[symbol = REAL, magic = MAGIC, candle = -1, timeframe = CURRENT]
//Other examples
AllProfitOpen["ITUB4", 123456, -1, W1]