Available since version 2.05
Esta função retorna o preço médio ponderado pelo volume de todas as posições abertas, considerando os filtros fornecidos.
Function
Section titled “Function” Name: AllAvgPrice Copied!
Aliases: AAvgPrice Copied!
Parameters
Section titled “Parameters”Examples
Section titled “Examples”//Default example:
AllAvgPrice[symbol = REAL, magic = MAGIC]
//Using aliases:
AAvgPrice[symbol = REAL, magic = MAGIC]
//Other examples:
AllAvgPrice("BBAS3", 123456)