紫柱越长,突破力度越大,突破时最好选择趋势多头,没有均线压制的票。
KL:=100*(WINNER(CLOSE)-WINNER(REF(C,1))),NODRAW;
KL1:=100*(WINNER(CLOSE)-WINNER(REF(C,2))),NODRAW;
{WWW.ttchagu.com}
STICKLINE(KL>=0,KL,0,1,-1),COLORRED;
STICKLINE(KL<0,KL,0,1,-1),COLORGREEN;
LW:=SUM(KL,5),COLORWHITE;
LW10:=SUM(KL,10),COLORWHITE,COLORYELLOW, LINETHICK1;
LW20:=SUM(KL,20),COLORWHITE,COLORYELLOW, LINETHICK2;
DRAWICON(CROSS(LW20,0),0.1,5);
DRAWICON(CROSS(LW,0),0.1,5);
百高:=REF(HHV(KL,100),1),COLORWHITE;
年高:=REF(HHV(KL,240),1),COLORWHITE;
百高1:=REF(HHV(KL1,100),1),COLORWHITE;
年高1:=REF(HHV(KL1,240),1),COLORWHITE;T0:=BARSLAST(年高);突破线:=REF(KL,T0);
DRAWSL(T0>=1 ,突破线,0,1,1),COLORWHITE;
突破1:=IF(KL=HHV(KL,240),C,0);
T1:=BARSLAST(突破1);突破线1:=REF(C,T1);突破2:=IF(KL=HHV(KL,100),C,0);
T2:=BARSLAST(突破2);突破线2:=REF(C,T2);
CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
突破3:=IF(KL1=HHV(KL1,240),C,0);
T3:=BARSLAST(突破3);
突破线3:=REF(C,T3);
突破4:=IF(KL1=HHV(KL1,100),C,0);
T4:=BARSLAST(突破4);
突破线4:=REF(C,T4);
穿破:=(T1<=100 AND CROSS(C,突破线1)) OR (T2<=100 AND CROSS(C,突破线2)) OR (T3<=100 AND CROSS(C,突破线3)) OR (T4<=100 AND CROSS(C,突破线4));
日:CCI,COLORGRAY,LINETHICK1;{WWW.ttchagu.com}
周:CCI#WEEK,COLORMAGENTA,LINETHICK1;
月:CCI#MONTH,COLORLIRED,LINETHICK2;
周突破:(周>0 AND 周-REF(周,1)>90),COLORGREEN;
月突破:(月>0 AND 月-REF(月,1)>70),COLORGREEN;
周月突破:(周>0 AND 周-REF(周,1)>90) OR (月>0 AND 月-REF(月,1)>70),COLORGREEN;
STICKLINE(周突破,0,MAX(日,MAX(周,月)),1,0),COLORMAGENTA;
STICKLINE(月突破,0,MAX(日,MAX(周,月)),2,0),COLORMAGENTA;