以下是很实用的异形k线
很实用的异形k线
发个异形k线,结合布林线效果很好………..
STICKLINE(OPEN>=CLOSE ,HIGH ,LOW,8,0 ),Culor000000;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),Culor000000;
STICKLINE(CLOSE>OPEN,HIGH,LOW,8,0) ,Culor000000;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,1) ,Culor000000;
a1:eMA(EMA(eMA(CLOSE,2),2),2),COLOR33FF10,LINETHICK1,LAYER0;
a2:eMA(EMA(eMA(CLOSE,3),3),2),COLOR33FF20,LINETHICK1,LAYER0;
a3:eMA(EMA(eMA(CLOSE,4),4),2),COLOR33FF30,LINETHICK1,LAYER0;
a4:eMA(EMA(eMA(CLOSE,5),5),2),COLOR33FF40,LINETHICK1,LAYER0;
a5:eMA(EMA(eMA(CLOSE,6),6),3),COLOR33FF50,LINETHICK1,LAYER0;
a6:eMA(EMA(eMA(CLOSE,7),7),3),COLOR33FF60,LINETHICK1,LAYER0;
a7:=eMA(EMA(eMA(CLOSE,9),9),3);
partline(a1,a1<ref(a1,1),rgb(0,255,0),a1>ref(a1,1),rgb(255,0,255)),LINETHICK1,LAYER0;
partline(a2,a2<ref(a2,1),rgb(0,255,0),a2>ref(a2,1),rgb(255,0,255)),LINETHICK1,LAYER0;
partline(a3,a3<ref(a3,1),rgb(0,255,0),a3>ref(a3,1),rgb(255,0,255)),LINETHICK1,LAYER0;
partline(a4,a4<ref(a4,1),rgb(0,255,0),a4>ref(a4,1),rgb(255,0,255)),LINETHICK1,LAYER0;
partline(a5,a5<ref(a5,1),rgb(0,255,0),a5>ref(a5,1),rgb(255,0,255)),LINETHICK1,LAYER0;
partline(a6,a6<ref(a6,1),rgb(0,255,0),a6>ref(a6,1),rgb(255,0,255)),LINETHICK1,LAYER0;
PARTLINE(a6,a6<REF(a6,1),RGB(0,255,0),a6>REF(a6,1),RGB(255,0,255)),LINETHICK1,LAYER0;
PARTLINE(a7,a7<REF(a7,1),RGB(0,255,0),a7>REF(a7,1),RGB(255,0,0)),LINETHICK2,LAYER0;
Az1:=HHV(MA(C,3),10);
Az2:=HHV(MA(C,3),9);
Az3:=HHV(MA(C,3),8);
Az4:=HHV(MA(C,3),7);
Az5:=HHV(MA(C,3),6);
Az6:=HHV(MA(C,3),5);
Az7:=HHV(MA(C,3),4);
Az8:=HHV(MA(C,3),3);
Az9:=HHV(MA(C,3),2);
Bz9:=LLV(MA(C,3),2);
a:=WMA(c,3);
b:=IF(Az1=Az2=Az3=Az4=Az5=Az6=Az7=Az8=Az9,Az9,Bz9);
STICKLINE(A>=B,A,b,8,0),COLOR000099;
STICKLINE(A>=B,A,B,7,0),COLOR0000BB;
STICKLINE(A>=B,A,B,5,0),COLOR0000DD;
STICKLINE(A>=B,A,B,3,0),COLOR0000FF;
STICKLINE(A>B,A,H,0.1,0),COLORred;
STICKLINE(A<=B,A,B,7,0),COLOR009900;
STICKLINE(A<=B,A,B,5,0),COLOR00bb00;
STICKLINE(A<=B,A,B,3,0),COLOR00cc00;
STICKLINE(A<=B,A,B,2,0),COLOR00ee00;
STICKLINE(A<B,A,L,0.0001,0),color00ff00;
评论(0)