- ChartApplyTemplate
- ChartSaveTemplate
- ChartWindowFind
- ChartTimePriceToXY
- ChartXYToTimePrice
- ChartOpen
- ChartFirst
- ChartNext
- ChartClose
- ChartSymbol
- ChartPeriod
- ChartRedraw
- ChartSetDouble
- ChartSetInteger
- ChartSetString
- ChartGetDouble
- ChartGetInteger
- ChartGetString
- ChartNavigate
- ChartID
- ChartIndicatorAdd
- ChartIndicatorDelete
- ChartIndicatorGet
- ChartIndicatorName
- ChartIndicatorsTotal
- ChartWindowOnDropped
- ChartPriceOnDropped
- ChartTimeOnDropped
- ChartXOnDropped
- ChartYOnDropped
- ChartSetSymbolPeriod
- ChartScreenShot
ChartPeriod
Retorna o periodo do gráfico especificado.
ENUM_TIMEFRAMES ChartPeriod(
|
Parâmetros
chart_id=0
[in] ID Gráfico. Representa o gráfico atual.
Valor retornado
A função retorna um valor ENUM_TIMEFRAMES. Se gráfico não existir retorna 0 (zero).
Exemplo:
//+------------------------------------------------------------------+
|