[太钢不锈股吧]通达信打首板主图指标公式
K:=EMA(C,2);K1:=EMA(K,2);K2:=EMA(K1,2);K3:=EMA(K2,2);快:=EMA(K1,3),COLORRED,LINETHICK1;中:=EMA(K2,5),COLORYELLOW,LINETHICK1;慢:=EMA(K3,7),COLORBLUE,LINETHICK1;DRAWBAND(快,RGB(55,55,225),慢,RGB(0,105,0));k線:DRAWKLINE(H,O,L,C);重心:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);DRAWTEXT(crOSS(ZJ,SJ)ANDSJ>70AND快>慢AND((H-O)<(O-C)ANDC<O)ANDREF(C,1)<REF(C,2)*1.095,H+0.07,'洗'),COLORGREEN;A1:=EMA(C,14),COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;突破:=REF(EMA(C,14),1),NODRAW;距離:=(C-突破)/突破*100,NODRAW;入:=IF(A1X>=0,REF(EMA(C,14),BArslAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1;逃:=IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1;DRAWTEXT(CROSS(A1X,0)ANDC>=REF(HHV(H,7),1)ANDC>REF(C,1)*1.097ANDC=HANDCROSS(快,慢)ANDC>=快ANDC>O,L*0.98,'←首板')COLORYELLOW;STICKLINE(CROSS(A1X,0)ANDC>=REF(HHV(H,7),1)ANDC>REF(C,1)*1.097ANDC=HANDCROSS(快,慢)ANDC>=快ANDC>O,C,O,2,0),COLORYELLOW;STICKLINE(CROSS(A1X,0)ANDC>=REF(HHV(H,7),1)ANDC>REF(C,1)*1.097ANDC=HANDCROSS(快,慢)ANDC>=快ANDC>O,H,L,0,0),COLORYELLOW;賣出:=DRAWICON(REF(C,1)>REF(快,1)ANDREF(C,2)>REF(快,2)ANDREF(C,3)>REF(快,3)ANDC<快ANDREF(快,1)>REF(慢,1)ANDREF(L,1)<REF(快,1)ANDO>C,H+0.1,15);STICKLINE(CROSS(A1X,0),(C+O)/2,O,1,0),COLORRED;STICKLINE(CROSS(0,A1X),(C+O)/2,O,1,0),COLORYELLOW;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);生命線:MA(CLOSE,30),COLORFF00FF,LINETHICK2;MA60:=MA(CLOSE,60),COLORRED,LINETHICK1;NN:=((REF(C,1)>REF(C,2)*1.096ANDREF(C,2)>REF(C,3)*1.096)ANDC<REF(C,1)*1.095);DRAWTEXT(NN,H,'逃'),COLORYELLOW;DRAWSL(快=慢,REF(H,1),0,3,0),LINETHICK2;條件1:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1)));一板1:=條件1ANDNOT(REF(條件1,1))ANDH=CANDFINANCE(42)>20;一板:=C>REF(C,1)*1.095ANDC<REF(C,1)*1.118ANDC=HANDREF(C,1)<REF(C,2)*1.095;M1:=一板ANDV<REF(V,1);二板1:=((C>=ZTPRICE(REF(C,1),0.1)ANDFINANCE(42)>30ANDREF(C,1)=ZTPRICE(REF(C,2),0.1))OR(C>=ZTPRICE(REF(C,1),0.2)ANDFINANCE(42)>30ANDREF(C,1)=ZTPRICE(REF(C,2),0.2))ANDNOT(REF(條件1,2)));二板:=C>REF(C,1)*1.095ANDC<REF(C,1)*1.118ANDC=HANDREF(C,1)>REF(C,2)*1.095ANDREF(C,1)<REF(C,2)*1.118ANDREF(C,1)=REF(H,1)ANDREF(C,2)<REF(C,3)*1.095;M2:=STICKLINE(二板ANDV<REF(V,1),(O+C)/2,C,1,0),COLORRED;三板1:=(C>=ZTPRICE(REF(C,1),0.1)ANDFINANCE(42)>20ANDREF(C,1)=ZTPRICE(REF(C,2),0.1)ANDREF(C,2)=ZTPRICE(REF(C,3),0.1))OR(C>=ZTPRICE(REF(C,1),0.2)ANDFINANCE(42)>20ANDREF(C,1)=ZTPRICE(REF(C,2),0.2)ANDREF(C,2)=ZTPRICE(REF(C,3),0.2));三板:=C>REF(C,1)*1.095ANDC<REF(C,1)*1.118ANDC=HANDREF(C,1)>REF(C,2)*1.095ANDREF(C,1)<REF(C,2)*1.118ANDREF(C,1)=REF(H,1)ANDREF(C,2)>REF(C,3)*1.095ANDREF(C,2)<REF(C,3)*1.118ANDREF(C,2)=REF(H,2);M3:=三板ANDV<REF(V,1);MAvol1:=MA(V,5);DRAWTEXT(一板ANDC>OANDV>REF(MAVOL1,1)*2,L*0.95,'←試盤'),COLORRED;STICKLINE(一板ANDC>OANDV>REF(MAVOL1,1)*2,C,O,2,0),COLORYELLOW;STICKLINE(一板ANDC>OANDV>REF(MAVOL1,1)*2,H,L,0,0),COLORYELLOW;DRAWTEXT(M2,L-0.07,'二進三'),COLORYELLOW;DRAWTEXT(M3,O,'妖'),COLORYELLOW;M4:=C>REF(C,1)*1.095ANDREF(C,1)<REF(C,2)*1.095ANDREF(C,2)>REF(C,3)*1.095ANDREF(C,3)<REF(C,4)*1.095;DRAWTEXT(M4,L-0.09,'一進二'),COLORYELLOW;M5:=C>REF(C,1)*1.095ANDREF(C,1)<REF(C,2)*1.095ANDREF(C,2)<REF(C,3)*1.095ANDREF(C,3)>REF(C,4)*1.095ANDREF(C,4)<REF(C,5)*1.095;DRAWTEXT(M5,L-0.09,'一進二'),COLORYELLOW;
最新评论