投资者咨询:wh9编写不能显示指标线 (文华财经)
来源:文华财经 日期:2021-1-6 13:05
ImPort
#Call["2460", M指标] As Var2//原油
Params
Vars
Numeric t1(20181024);
NumericSeries ZeroLine; //0轴
NumericSeries 原油;
NumericSeries A;
NumericSeries A1;
NumericSeries B;
NumericSeries B1;
Begin
ZeroLine = 0; //零轴
A = Var2.opi;//引用变量
B = Var2.p;//引用变量
A1 = ValueWhen(Date==t1, A);//基期定值
B1 = ValueWhen(Date==t1, B);//基期定值
原油 = (A - A1)/A1*20;
PlotLine("原油",原油,Yellow,Linethick1,2);
/* PlotLine("A",A, Red, NODRAW, precis1,0);
PlotLine("A1",A1, Red, NODRAW, precis1,0);
PlotLine("B",B, Red, NODRAW, precis1,0);
PlotLine("B1",B1, Red, NODRAW, precis1,0);
*/
//请问老师,当前附图指标应用到原油板块日K上时,在确保原油指数数据齐全的状态下,为何无法正常显示指标线?
技术人员回复
日期:2021-1-6 13:06
投资者咨询:wh9编写不能显示指标线 (文华财经)
来源:文华财经 日期:2021-1-6 13:05
Vars
NumericSeries p;
NumericSeries opi;
Begin
p=Close;
opi=OpenInt;
End
技术人员回复
日期:2021-1-6 13:17
投资者咨询:wh9编写不能显示指标线 (文华财经)
来源:文华财经 日期:2021-1-6 13:05
技术人员回复
日期:2021-1-12 15:17
技术人员回复
日期:2021-1-13 17:34