# GetParameter 属性
GetParameter (Parameter)
 得到公式指标参数.
返回值: 字符串格式的参数,公式设计的参数顺序,每个参数用逗号分割
参数
 | 参数 | 说明 | 
|---|---|
| Parameter | 字符串格式的参数,按公式设计的参数顺序传递,每个参数用逗号分割 | 
示例
 Sub Test()
  Set Grid = Technic.GetGridByName("Main")
  Set Formula = Grid.GetFormulaByIndex(1) '得到主图窗格第一个指标公式(默认为MA均线指标) 
  Application.MsgOut Formula.GetParameter
End Sub
 1
2
3
4
5
6
7
2
3
4
5
6
7
应用于