来函数检测结果如下:
该公式没有未来函数
指标源码:
原理解析:
{小阳突破--副图}
XYTP1赋值:收盘价的120日简单移动平均
XYTP2赋值:SLOPE(XYTP1,2)*100
XYTP3赋值: XYTP2>0
XYTP4赋值:收盘价的8日指数移动平均-收盘价的13日指数移动平均
XYTP5赋值:XYTP4的6日指数移动平均
XYTP6赋值:2*(XYTP4-XYTP5)
XYTP7赋值:EVERY(XYTP4>1日前的XYTP4,BARSLASTCOUNT(XYTP4>XYTP5))AND XYTP4>XYTP5
XYTP8赋值:EVERY(XYTP6>1日前的XYTP6,BARSLASTCOUNT(XYTP4>XYTP5))AND XYTP4>XYTP5
XYTP9赋值:REF(C和O较大值,上次XYTP7距今天数+1)
XYTP10赋值:REF(C和O较大值,上次XYTP8距今天数+1)
如果XYTP10>=XYTP9返回XYTP10否则返回XYTP9
XYTP12赋值:HHV(IF(C>O,C,C和O较大值),BARSLASTCOUNT(XYTP11)+1)=HHV(IF(C>O,C,C和O较大值),BARSLASTCOUNT(BBI>1日前的BBIAND C>BBI))
XYTP13赋值:EVERY(XYTP4< 1日前的XYTP4,BARSLASTCOUNT(XYTP4< XYTP5))AND XYTP4< XYTP5
X_4赋值:EVERY(XYTP6< 1日前的XYTP6,BARSLASTCOUNT(XYTP4< XYTP5))AND XYTP4< XYTP5
XYTP15赋值:XYTP13和X_4的较小值
XYTP16赋值:LLV(IF(C< O,C,C和O的较小值),BARSLASTCOUNT(XYTP15)+1)=LLV(IF(C< O,C,C和O的较小值),BARSLASTCOUNT(XYTP4< 1日前的XYTP4 AND BBI< 1日前的BBI AND L< BBI))
XYTP17赋值:上次XYTP12距今天数=1
XYTP18赋值:REF(C和O较大值,上次XYTP17距今天数+1)
XYTP19赋值:C上穿XYTP18
XYTP20:=REF(XYTP4,上次XYTP17距今天数+1)
XYTP21:=XYTP19 AND XYTP4>XYTP20
XYTP22:=上次XYTP16距今天数=1
XYTP23:=REF(C和O的较小值,上次XYTP22距今天数+1)
XYTP24:=XYTP23上穿C
XYTP25:=上次XYTP24距今天数=1
XYTP26:=REF(O,上次XYTP25距今天数+1)
XYTP27:=C上穿XYTP26
输出小阳突破:((XYTP27 AND C>O AND XYTP6>1日前的XYTP6) OR XYTP21) AND XYTP3 AND (H-1日前的C)/1日前的C<0.05, 线宽为2,COLOR0000FF