CTA2:=(H-REF(C,1))/REF(C,1)*100;CTA4:=CTA1/100000000,NODRAW,COLORMAGENTA;CTA5:=(C-REF(C,1))/REF(C,1)*100,NODRAW,COLORRED;CTA6:CTA1/VOL/100,NODRAW,COLORWHITE;CTA7:(H-L)/L*100,NODRAW,COLORMAGENTA;CTA8:=ABS((C-O)/O*100),NODRAW,COLORLIGHTRED;CTA9:(C-O)/O*100,NODRAW,COLORLIGHTRED;CTA10:=(C-REF(C,2))/REF(O,2)*100;CTA11:(H/MAX(C,O)-1)*100,NODRAW,COLORGREEN;CTA12:((MIN(C,O)-L)/C)*100,NODRAW,COLORRED;CTA13:=(3*CLOSE+LOW+OPEN+HIGH)/6;CTA14:MA(CTA13,12),COLORRED,LINETHICK3;CTA15:=MA(CLOSE,26),COLORYELLOW,LINETHICK2;IF(CTA14>REF(CTA14,1),CTA14,NULL),COLORRED,LINETHICK3;IF(CTA14<=REF(CTA14,1),CTA14,NULL),COLORGREEN,LINETHICK3;IF(CTA15>REF(CTA15,1),CTA15,NULL),COLORYELLOW,LINETHICK3;IF(CTA15<=REF(CTA15,1),CTA15,NULL),COLOR3366FF,LINETHICK3;CTA16:=(CLOSE+LOW+HIGH)/3;STICKLINE1(CTA17>=CTA18,LOW,HIGH,0,0),COLORFF2F5E;STICKLINE1(CTA17=CTA18,CLOSE,OPEN,3,0),COLORFF2F5E;STICKLINE1(CTA17>=CTA18,CLOSE,OPEN,3,0),COLORFF2F5E;STICKLINE1(CTA17<CTA18,LOW,HIGH,0,0),COLORGREEN;STICKLINE1(CTA17<CTA18,CLOSE,OPEN,3,0),COLORCYAN;STICKLINE1(CROSS(CTA17,CTA18),OPEN,CLOSE,3,0),COLORYELLOW;STICKLINE1(CROSS(CTA18,CTA17),OPEN,CLOSE,3,0),COLORGREEN;CTA19:=EMA(CLOSE,2)-EMA(CLOSE,150);CTA22:=POW(CTA21,3)*0+POW(CTA21,1);CTA23:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));CTA25:=(HIGH+LOW+CLOSE)/3;CTA26:=(CTA25-MA(CTA25,14))/(0*AVEDEV(CTA25,14));CTA27:=IF(CTA21>0,CTA22,0)*5,COLORCYAN;CTA28:=CROSS(CTA21,1),COLOR0099FF,NODRAW;DRAWTEXT(CTA28>0,LOW*1,'GZB重要K均'),COLOR0099FF;STICKLINE1(CTA28,H,L,3,0),COLOR0099FF;CTA29:=COUNT(L=LLV(L,30),20)=1 AND L=LLV(L,30),NODRAW,COLORFF00FF;DRAWTEXT(CTA29>0,LOW,'30低价'),COLORFF00FF;CTA30:=COUNT(H=HHV(H,30),20)=1 AND H=HHV(L,30),NODRAW,COLORFF00FF;DRAWTEXT(CTA30>0,HIGH,'30高价'),COLORCYAN;CTA32:=REF(H,CTA31)=HHV(H,2*CTA31+1);CTA33:=BACKSET(CTA32,CTA31+1);CTA34:=FILTER(CTA33,CTA31) AND H=HHV(H,CTA31+1);DRAWTEXT(CTA34>0,H*1,'洗盘'),COLORGREEN;CTA35:=(8*CTA3+7*REF(CTA3,1)+6*REF(CTA3,2)+5*REF(CTA3,3)+4*REF(CTA3,4)+3*REF(CTA3,5)+2*REF(CTA3,6)+REF(CTA3,8))/36,LINETHICK2,COLORRED;CTA36:=(HHV(CTA35,2)+HHV(CTA35,4)+HHV(CTA35,8))/3;IF((CTA35<=REF(CTA35,1)),CTA35,NULL),COLORGREEN{CXH8.COM},LINETHICK4;IF((CTA35>=REF(CTA35,1)),CTA35,NULL),COLORMAGENTA,LINETHICK4;CTA38:=(LLV(CTA35,2)+LLV(CTA35,4)+LLV(CTA35,8))/3;DRAWTEXT(REF(CTA38,1)=REF(CTA35,1) AND CTA38<CTA35,L,'加多'),COLORYELLOW;DRAWTEXT(REF(CTA36,1)=REF(CTA35,1) AND CTA36>CTA35,H,'加空'),COLORWHITE;CTA41:=((SMA(MAX(CLOSE-CTA39,0),6,1))/(SMA(ABS(CLOSE-CTA39),6,1)))*(100);CTA42:=SMA(MAX(CLOSE-CTA39,0),7,1)/SMA(ABS(CLOSE-CTA39),7,1)*100;DRAWTEXT(CROSS(84,CTA42),HIGH,'逃顶'),COLORYELLOW,LINETHICK2;DRAWTEXT(CROSS(CTA42,11),LOW,'低吸'),COLORWHITE;
|