投资者咨询:如何在周期为1分钟的k线上引入昨天日线上的开盘收盘最高最低价? (文华财经WH8赢智V8.2)
来源:文华财经 日期:2018-8-14 14:50
技术人员回复
日期:2018-8-14 14:52
编写跨周期模型实现,参考:
Vars
Numeric HH;
Numeric LL;
Numeric CC;
Numeric OO;
Begin
HH=Ref(High,1);
LL=Ref(Low,1);
CC=Ref(Close,1);
OO=Ref(Open,1);
End
//以上指标请保存并命名为AA
跨周期主模型,可随意命名
ImPort
#ImPort[Day,1,AA] AS Var
Vars
Numeric HH;
Numeric LL;
Numeric CC;
Numeric OO;
Begin
PlotLine("HH",Var.HH,RGB(255,0,0),NoDraw,2,0);
PlotLine("LL",Var.LL,RGB(255,0,0),NoDraw,2,0);
PlotLine("CC",Var.CC,RGB(255,0,0),NoDraw,2,0);
PlotLine("OO",Var.OO,RGB(255,0,0),NoDraw,2,0);
End
投资者咨询:如何在周期为1分钟的k线上引入昨天日线上的开盘收盘最高最低价? (文华财经WH8赢智V8.2)
来源:文华财经 日期:2018-8-14 14:50
技术人员回复
日期:2018-8-14 15:31
投资者咨询:如何在周期为1分钟的k线上引入昨天日线上的开盘收盘最高最低价? (文华财经WH8赢智V8.2)
来源:文华财经 日期:2018-8-14 14:50
好的,谢谢!