未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:DYNAINFO
指标源码:

原理解析:
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),最高价*1.01,'快闪'),画黄色
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),最低价*0.99,'关注'),画白色
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),L,1)
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2)
MID赋值:1日前的最高价+最低价/2
JJ :=(C*2+H+L)/4
SKK :( JJ的13日指数移动平均 - JJ的21日指数移动平均)*180,COLORFFFFFF, 线宽为2
SDD : SKK的3日指数移动平均,COLOR00FFFF, 线宽为2
输出多方: (SKK-SDD)*0.5,画红色, 线宽为2
输出空方: -1*(SKK-SDD)*0.5,画绿色, 线宽为2
RC赋值:DYNAINFO(3)
RC,画白色
SK赋值:(SLOPE(JJ的2日指数移动平均,7)*15+JJ)*0.8*0.0001
SD赋值:SK的2日指数移动平均
SJ赋值:2.8*SK-1.8*SD
C的3日[1日权重]移动平均
C的5日[1日权重]移动平均
DK赋值:2*(S2-S6)*15*4*1.5
当满足条件SK>SD AND DK当满足条件DK>0 AND SK>SD 时,在RC和RC+DK之间画柱状线
当满足条件DK>0 AND SK当满足条件DK>0 AND 多方<空方时,在RC和RC+DK之间画柱状线
STICKLINE(多方上穿空方,RC,RC+DK,2,0),画黄色
STICKLINE(空方上穿多方,RC,RC+DK,2,0),画绿色
当满足条件DK<0 AND 多方<空方 AND SKDRAWICON(SKK上穿SDD AND (SDD<-65),SDD-0.1,1)
DRAWICON(SDD上穿SKK AND (SDD>65),SDD+0.1,2)
如果DATE>=1990601返回0否则返回1
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3)
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3)
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)<=REF(ZIG(3,22),3)
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)>=REF(ZIG(3,22),3)
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)<=REF(ZIG(3,51),3)
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)>=REF(ZIG(3,51),3)
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)<=REF(ZIG(3,72),3)
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)>=REF(ZIG(3,72),3)
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND 最高价>最低价+0.04,4,0)
输出黑码:(VAR10)*8,画红色, 线宽为2
输出买入:(VAR11+VAR13+VAR15+VAR17)*12,画黄色, 线宽为2
输出抄底:(买入>16 AND 1日前的黑码>8)*18,STICK,LINETHICK4,COLORDB70DB
输出卖出:(VAR12+VAR14+VAR16+VAR18)*12,画绿色, 线宽为2
VARC赋值:(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))
VARD赋值:(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3))
STICKLINE((VARC=1),(-6),0,1,0),COLOR0000FF
DRAWTEXT((VARC=1),(-6.5),'底。买'),COLOR0000FF
STICKLINE((VARD=1),8,0,1,0),COLOR00FF00
DRAWTEXT((VARD=1),8.5,'顶。卖'),COLOR00FF00

声明:本站所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理。