资源描述:
《通达信指标公式源码软件趋势操盘副图源码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、趋势操盘副图源码通达信TYP:=(H+L+C)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));CCI修正1:=EMA(EMA(EMA(CCI,2)Z2),2);CCI修正2:=EMA(EMA(EMA(CCI,3)Z2),2);CCI选股:=(CROSS(CCI修正1,CCI修正2)OR(CCI修正1>=CCI修正2))ANDCCI修正l>=-101ANDCCI修正1>=REF(CCI修正1,1)ANDREF(CCI修正l,l)<-101;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*
2、100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;J1:=EMA(EMA(EMA(J,2),2),2);KDJ选股:=J1>REF(J1,1);尾盘进:CCI选股ANDKDJ选股,COLORYELLOW,NODRAW;STICKLINE(尾盘进,10,40,0.5,0),COLORYELLOW;派发区:80ZLINETHICK1ZCOLOROOFFOO;低位区:10„LINETHICK1ZCOLOREEEEEE;{趋势操盘}VAR4:=((C-LLV(L,21))/(HHV(Hz21)-LLV(Lz21)))*100;V
3、AR5:=SMA(VAR4,13,8);操盘线:CEILING(SMA(VAR5,13,8)),LINETHICK2,COLOROOOOFF;趋势线:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(Lz27))*100z5,l)-2*SMA(SMA((C-LLV(Lz27))/(HHV(Hz27)-LLV(Lz27))*100z5,1)z3,1)/5)zLINETHICK2zCOLORBLUE;{安全度}CVAR2:=LLV(L,33);CVAR3:=HHV(H,21);CVAR4:=EMA((C-CVAR2)/(CVAR3-CVA
4、R2)*100,10)*-l+100;当前安全度:100-EMA(0.191*REF(CVAR4,1)+0.809*CVAR4,1),LINETHICK2,COLORFFFFOOzNODRAW;乖离率:(C-MA(C,10))/MA(CZ10)*100,COLOR0099FF,NODRAW;