Esta função retorna o preço de fechamento de uma vela.
Function
Section titled “Function” Name: Close Copied!
Aliases: C Copied!
Parameters
Section titled “Parameters”Representa um inteiro positivo (0 até 4294967295). | candle; | // A vela de referência. | |
Representa um intervalo de tempo: 'CURRENT', 'M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M10', 'M12', 'M15', 'M20', 'M30', 'H1', 'H2', 'H3', 'H4', 'H6', 'H8', 'H12', 'D1', 'W1', 'MN1'. | timeframe | = CURRENT; | // O tempo gráfico de referência. |
Representa uma sequência de caracteres Unicode. | symbol | = SYMBOL; | // O ativo de referência. |
Examples
Section titled “Examples”//Default example:
Close[candle, timeframe = CURRENT, symbol = SYMBOL]
//Using aliases:
C[candle, timeframe = CURRENT, symbol = SYMBOL]
//Other examples:
Close[1]
Close[1, M5, "EURUSD"]