来函数检测结果如下:
该公式没有未来函数


LC:=REF(C,1);

 DI:=(EMA(C,12)-EMA(C,26))/C*100+60,COLOR660000;

 DE:=EMA(DI,9),LINETHICK1,COLOR00AAAA;

 STICKLINE(1=1,DI*1.2,120,4,0),COLORFFCC00;

 RSI6:SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,NODRAW,COLOR009900;

 RSI06:=IF(RSI6>0,SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*150-30,0),NODRAW,COLOR009900;

 CCI:((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,NODRAW,COLOR668800;

 CCI0:=IF(CCI>0,((C-MA(C,14))/(0.015*AVEDEV(C,14)))/4+50,0),NODRAW,COLOR668800;

 K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);

 D9:=SMA(K9,3,1);

 J9:3*K9-2*D9,COLORAA6600,NODRAW;

 J09:=IF(J9>0,3*K9-2*D9,0),COLORAA6600,NODRAW;

 STICKLINE(J09>=0,REF(J09,10),0,4,0),COLORAA6600;

 STICKLINE(CCI0>=0,REF(CCI0,5),0,4,0),COLOR888800;

 STICKLINE(1=1,-15,0,4,0),COLOR556688;

 STICKLINE(1=1,RSI06,0,4,0),COLOR008800;

 STICKLINE(1=1,DI*1.2,DI,6,1),COLOR111111;

 STICKLINE(1=1,DI*1.2,DI,2,1),COLOR777777;

 STICKLINE(DE>=0,DE,0,4,0),COLORAAAAAA;

 STICKLINE(1=1,DI*0.97,DI*0.98,4,0),COLOR777777;

 STICKLINE(1=1,DI*0.94,DI*0.95,4,0),COLOR777777;

 STICKLINE(RSI6>=0,RSI6,0,4,0),COLOR009900;

 STICKLINE(CCI>=0,CCI/3,0,4,0),COLOR005500;

红杏出墙超跌:IF(LLV(CCI,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),80-CCI,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORCC00FF;

 IF(LLV(CCI,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),80-CCI,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(LLV(DI,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),70-DI,DRAWNULL),CROSSDOT,

 LINETHICK6,COLOR6644FF;

 IF(LLV(DI,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),70-DI,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(LLV(J9,10)<-6 AND C=LLV(C,10) AND L=LLV(L,10),70-J9,DRAWNULL),CROSSDOT,

 LINETHICK6,COLOR0000FF;

 IF(LLV(J9,10)<-6 AND C=LLV(C,10) AND L=LLV(L,10),70-J9,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(LLV(RSI6,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),70-RSI6,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORAA00FF;

 IF(LLV(RSI6,10)<0 AND C=LLV(C,10) AND L=LLV(L,10),70-RSI6,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

蓝花凋零超涨:IF(HHV(CCI,10)>100 AND C=HHV(C,10) AND H=HHV(H,10),100-CCI,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORFF8800;

 IF(HHV(CCI,10)>100 AND C=HHV(C,10) AND H=HHV(H,10),100-CCI,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(HHV(DI,10)>100 AND C=HHV(C,10) AND H=HHV(H,10),100-DI,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORAAAA00;

 IF(HHV(DI,10)>100 AND C=HHV(C,10) AND H=HHV(H,10),100-DI,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(HHV(J9,10)>114 AND C=HHV(C,10) AND H=HHV(H,10),100-J9,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORFF0077;

 IF(HHV(J9,10)>114 AND C=HHV(C,10) AND H=HHV(H,10),100-J9,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 IF(HHV(RSI6,10)>98 AND C=HHV(C,10) AND H=HHV(H,10),100-RSI6,DRAWNULL),CROSSDOT,

 LINETHICK6,COLORFF3300;

 IF(HHV(RSI6,10)>98 AND C=HHV(C,10) AND H=HHV(H,10),100-RSI6,DRAWNULL),CROSSDOT,

 LINETHICK1,COLORFFFFFF;

 AA:=IF(CCI>REF(CCI,1) AND J9>REF(J9,1) AND RSI6>REF(RSI6,1) AND (DI>REF(DI,1) 

 OR DE>REF(DE,1)) AND HHV(CCI,10)<100 AND HHV(J9,10)<100 AND HHV

 (RSI6,10)<100,1,0);

 DRAWICON(AA=1 AND REF(AA,1)=0,RSI6,17);{股票指标网}

 BB:=IF(CCI<REF(CCI,1) AND J9<REF(J9,1) AND RSI6<REF(RSI6,1) AND (DI<REF(DI,1) 

 OR DE<REF(DE,1)) AND LLV(CCI,10)>0 AND LLV(J9,10)>0 AND LLV(RSI6,10)

 >0,1,0);

 DRAWICON(BB=1 AND REF(BB,1)=0,RSI6,16);

 DRAWICON(CROSS(DI,DE) AND DE>REF(DE,1) AND HHV(CCI,10)<100 AND HHV(J9,10)<

 100 AND HHV(RSI6,10)<100,RSI6,17);

 DRAWICON(CROSS(DE,DI) AND DE<REF(DE,1) AND LLV(CCI,10)>0 AND LLV(J9,10)>0 AND

 LLV(RSI6,10)>0,RSI6,16);

 

原理解析:
LC赋值:1日前的C
 DI赋值:(C的12日指数移动平均-C的26日指数移动平均)/C*100+60,COLOR660000
 DE赋值:DI的9日指数移动平均,LINETHICK1,COLOR00AAAA
当满足条件1=1时,在DI*1.2和120之间画柱状线
 输出RSI6:SMA(C-LC和0较大值,6,1)/SMA(C-LC的绝对值,6,1)*150-30,NODRAW,COLOR009900
 RSI06赋值:IF(RSI6>0,SMA(C-LC和0较大值,6,1)/SMA(C-LC的绝对值,6,1)*150-30,0),NODRAW,COLOR009900
 输出CCI:((C-C的14日简单移动平均)/(0.015*AVEDEV(C,14)))/4+50,NODRAW,COLOR668800
 CCI0:=IF(CCI>0,((C-C的14日简单移动平均)/(0.015*AVEDEV(C,14)))/4+50,0),NODRAW,COLOR668800
 K9赋值:SMA((C-9日内L最低值)/(9日内H最高值-9日内L最低值)*100,3,1)
K9的3日[1日权重]移动平均
 输出J9:3*K9-2*D9,COLORAA6600,NODRAW
如果J9>0返回3*K9-2*D9否则返回0
 STICKLINE(J09>=0,10日前的J09,0,4,0),COLORAA6600
 STICKLINE(CCI0>=0,5日前的CCI0,0,4,0),COLOR888800
当满足条件1=1时,在-15和0之间画柱状线
当满足条件1=1时,在RSI06和0之间画柱状线
当满足条件1=1时,在DI*1.2和DI之间画柱状线
当满足条件1=1时,在DI*1.2和DI之间画柱状线
当满足条件DE>=0时,在DE和0之间画柱状线
当满足条件1=1时,在DI*0.97和DI*0.98之间画柱状线
当满足条件1=1时,在DI*0.94和DI*0.95之间画柱状线
当满足条件RSI6>=0时,在RSI6和0之间画柱状线
当满足条件CCI>=0时,在CCI/3和0之间画柱状线
输出红杏出墙超跌:IF(10日内CCI最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,80-CCI,DRAWNULL),CROSSDOT,  LINETHICK6,COLORCC00FF
 IF(10日内CCI最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,80-CCI,DRAWNULL),CROSSDOT,  LINETHICK1,COLORFFFFFF
 IF(10日内DI最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,70-DI,DRAWNULL),CROSSDOT,  LINETHICK6,COLOR6644FF
 IF(10日内DI最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,70-DI,DRAWNULL),CROSSDOT,  LINETHICK1,COLORFFFFFF
 IF(10日内J9最低值<-6 AND C=10日内C最低值 AND L=10日内L最低值,70-J9,DRAWNULL),CROSSDOT,  LINETHICK6,COLOR0000FF
 IF(10日内J9最低值<-6 AND C=10日内C最低值 AND L=10日内L最低值,70-J9,DRAWNULL),CROSSDOT,  LINETHICK1,COLORFFFFFF
 IF(10日内RSI6最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,70-RSI6,DRAWNULL),CROSSDOT,  LINETHICK6,COLORAA00FF
 IF(10日内RSI6最低值<0 AND C=10日内C最低值 AND L=10日内L最低值,70-RSI6,DRAWNULL),CROSSDOT,  LINETHICK1,COLORFFFFFF
输出蓝花凋零超涨:IF(10日内CCI最高值>100 AND C=10日内C最高值 AND H=10日内H最高值,100-CCI,DRAWNULL),CROSSDOT,
 LINETHICK6,COLORFF8800
 IF(10日内CCI最高值>100 AND C=10日内C最高值 AND H=10日内H最高值,100-CCI,DRAWNULL),CROSSDOT,
 LINETHICK1,COLORFFFFFF
 IF(10日内DI最高值>100 AND C=10日内C最高值 AND H=10日内H最高值,100-DI,DRAWNULL),CROSSDOT,
 LINETHICK6,COLORAAAA00
 IF(10日内DI最高值>100 AND C=10日内C最高值 AND H=10日内H最高值,100-DI,DRAWNULL),CROSSDOT,
 LINETHICK1,COLORFFFFFF
 IF(10日内J9最高值>114 AND C=10日内C最高值 AND H=10日内H最高值,100-J9,DRAWNULL),CROSSDOT,
 LINETHICK6,COLORFF0077
 IF(10日内J9最高值>114 AND C=10日内C最高值 AND H=10日内H最高值,100-J9,DRAWNULL),CROSSDOT,
 LINETHICK1,COLORFFFFFF
 IF(10日内RSI6最高值>98 AND C=10日内C最高值 AND H=10日内H最高值,100-RSI6,DRAWNULL),CROSSDOT,
 LINETHICK6,COLORFF3300
 IF(10日内RSI6最高值>98 AND C=10日内C最高值 AND H=10日内H最高值,100-RSI6,DRAWNULL),CROSSDOT,
 LINETHICK1,COLORFFFFFF
 AA赋值:IF(CCI>1日前的CCI AND J9>1日前的J9 AND RSI6>1日前的RSI6 AND (DI>1日前的DI 
 OR DE>1日前的DE) AND 10日内CCI最高值<100 AND 10日内J9最高值<100 AND HHV  (RSI6,10)<100,1,0)
 DRAWICON(AA=1 AND 1日前的AA=0,RSI6,17)
{股票指标网}
 BB赋值:IF(CCI<1日前的CCI AND J9<1日前的J9 AND RSI6<1日前的RSI6 AND (DI<1日前的DI   OR DE<1日前的DE) AND 10日内CCI最低值>0 AND 10日内J9最低值>0 AND 10日内RSI6最低值
 >0,1,0)
 DRAWICON(BB=1 AND 1日前的BB=0,RSI6,16)
 DRAWICON(DI上穿DE AND DE>1日前的DE AND 10日内CCI最高值<100 AND 10日内J9最高值<  100 AND 10日内RSI6最高值<100,RSI6,17)
 DRAWICON(DE上穿DI AND DE<1日前的DE AND 10日内CCI最低值>0 AND 10日内J9最低值>0 AND
 10日内RSI6最低值>0,RSI6,16)
 

声明:本站所有资源,均为用户自主上传,仅作为学习交流之用,其版权归原作者或原出版社所有,本站不对所涉及的版权问题负法律责任。如有侵权,请联系我们删除!