[求助]在公式里写入select预警谢谢 [文华财经]
-
咨询内容:
VAR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR2:=(OPEN-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR3:=(HIGH-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR4:=(LOW-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR5:=REF(CLOSE,1);VAR21:=REF(LOW,1);VAR31:=SMA(ABS(LOW-VAR21),3,1)/SMA(MAX(LOW-VAR21,0),3,1)*100;VAR41:=EMA(IFELSE(CLOSE*1.2,VAR31*10,VAR31/10),3);VAR51:=LLV(LOW,38);VAR61:=HHV(VAR41,38);VAR71:=IFELSE(LLV(LOW,90),1,0);VAR81:=EMA(IFELSE(LOW<=VAR51,(VAR41+VAR61*2)/2,0),3)/618*VAR71;STICKLINE(VAR81,0,VAR81,COLORMAGENTA,0);DB:EMA(IFELSE(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10,COLORYELLOW;
来源:程序化99
-
文华技术人员:
您设置的预警条件是什么呢?是要在画柱线的时候进行预警?
另外您的版本太旧了,请在软件右上角》帮助》升级这里,手动升级到最新版本再使用:
VAR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR2:=(OPEN-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR3:=(HIGH-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR4:=(LOW-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;VAR5:=REF(CLOSE,1);VAR21:=REF(LOW,1);VAR31:=SMA(ABS(LOW-VAR21),3,1)/SMA(MAX(LOW-VAR21,0),3,1)*100;VAR41:=EMA(IFELSE(CLOSE*1.2,VAR31*10,VAR31/10),3);VAR51:=LLV(LOW,38);VAR61:=HHV(VAR41,38);VAR71:=IFELSE(LLV(LOW,90),1,0);VAR81:=EMA(IFELSE(LOW<=VAR51,(VAR41+VAR61*2)/2,0),3)/618*VAR71;STICKLINE(VAR81,0,VAR81,COLORMAGENTA,0);DB:EMA(IFELSE(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10,COLORYELLOW; VAR81,SPARK;来源: WWW.CXH99.COM
-
文华客服:
是的
-
网友回复:
请参考2楼回复,
升级到最新版本后, 复制上面的源码使用即可。
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容