日盘和夜盘的最低价和最高价如何得到? [开拓者 TB]
-
咨询内容:
想划线,分别画出日盘和夜盘的最低价和最高价。如何取得画出来?
来源:CXH99.COM
-
TB技术人员:
- Vars
- NumericSeries dayhigh;
- NumericSeries daylow;
- NumericSeries Nhigh;
- NumericSeries Nlow;
- Begin
- if(barstatus==0 || time==0.09 )
- {
- dayhigh = high;
- daylow = low;
- }else if(time >0.09 && time<=0.15)
- {
- dayhigh = Max(dayhigh,high);
- daylow = min(daylow,low);
- }
- if(barstatus ==0 || time==0.21)
- {
- Nhigh = high;
- Nlow = low;
- }else if(time>0.21 || time<0.08)
- {
- Nhigh = Max(Nhigh,high);
- Nlow = Min(Nlow,low);
- }
- if(time>=0.09 && time<=0.15)
- {
- PlotNumeric("dayhigh",dayhigh);
- PlotNumeric("daylow",daylow);
- }
- if(time>=0.21 || time<0.08)
- {
- PlotNumeric("Nhigh",Nhigh);
- PlotNumeric("Nlow",Nlow);
- }
- end
- Vars
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容