- ChartID
- Mode
- Foreground
- Shift
- ShiftSize
- AutoScroll
- Scale
- ScaleFix
- ScaleFix_11
- FixedMax
- FixedMin
- PointsPerBar
- ScalePPB
- ShowOHLC
- ShowLineBid
- ShowLineAsk
- ShowLastLine
- ShowPeriodSep
- ShowGrid
- ShowVolumes
- ShowObjectDescr
- ShowDateScale
- ShowPriceScale
- ColorBackground
- ColorForeground
- ColorGrid
- ColorBarUp
- ColorBarDown
- ColorCandleBull
- ColorCandleBear
- ColorChartLine
- ColorVolumes
- ColorLineBid
- ColorLineAsk
- ColorLineLast
- ColorStopLevels
- VisibleBars
- WindowsTotal
- WindowIsVisible
- WindowHandle
- FirstVisibleBar
- WidthInBars
- WidthInPixels
- HeightInPixels
- PriceMin
- PriceMax
- Attach
- FirstChart
- NextChart
- Open
- Detach
- Close
- BringToTop
- EventObjectCreate
- EventObjectDelete
- IndicatorAdd
- IndicatorDelete
- IndicatorsTotal
- IndicatorName
- Navigate
- Symbol
- Period
- Redraw
- GetInteger
- SetInteger
- GetDouble
- SetDouble
- GetString
- SetString
- SetSymbolPeriod
- ApplyTemplate
- ScreenShot
- WindowOnDropped
- PriceOnDropped
- TimeOnDropped
- XOnDropped
- YOnDropped
- Save
- Load
- Type
IndicatorsTotal
返回应用于指定图表子窗口中的所有指标数量。
int IndicatorsTotal(
|
参数
sub_win
[输入] 图表子窗口的号码。0 代表图表的主窗口。
返回值
指定图表子窗口中的指标数量。为获得 出错信息 详情请使用 GetLastError() 函数。
注释
函数允许通过所有挂载到图表上的指标进行搜索。图表的所有窗口数量可从 CHART_WINDOWS_TOTAL 属性里使用 GetInteger() 函数获得。
参阅
IndicatorAdd(), IndicatorDelete(), IndicatorsTotal(), iCustom(), IndicatorCreate(), IndicatorSetString()。