a1:=ma(c,13);a2:=ma(c,77);a3:=ma(c,99);
b1:=ma(c,13);b2:=ma(c,77);b3:=ma(c,99);
c1:=ma(c,13);c2:=ma(c,77);c3:=ma(c,99);
d1:=ma(c,13);d2:=ma(c,77);d3:=ma(c,99);
e1:=ma(c,5);e2:=ma(c,10);e3:=ma(c,20);
ma1:if(DATATYPE=2,a1,if(DATATYPE=3,b1,if(DATATYPE=4,c1,if(DATATYPE=5,d1,e1))));
ma2:if(DATATYPE=2,a2,if(DATATYPE=3,b2,if(DATATYPE=4,c2,if(DATATYPE=5,d2,e2))));
ma3:if(DATATYPE=2,a3,if(DATATYPE=3,b3,if(DATATYPE=4,c3,if(DATATYPE=5,d3,e3))));
ma4:ma(c,60), color0088ff;
拉升放量:VOL>=ref(MA(VOL,5),1)*2 and C/REF(C,1)>1.03,LINETHICK0,colorgreen; //colorFF00FF;
STICKLINE(拉升放量,OPEN,CLOSE,8,0),COLORYELLOW;
高量柱:VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01,coloryellow, linethick0;
K1:=SUMBARS(高量柱,1);
//STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),ColorFF00FF;
STICKLINE(高量柱,OPEN,CLOSE,8,0),COLORYELLOW;
A:=if(hhv(v,20)=v,h,0);
PL:=BARSLAST(A);
最大量的最高价:REF(HIGH,PL),LINETHICK, colorwhite;
STICKLINE(BARSLAST(A),REF(HIGH,PL),REF(HIGH,PL),4,0),POINTDOT,COLORwhite,LINETHICK2;
STICKLINE(BARSLAST(A),REF(Low,PL),REF(low,PL),4,0),POINTDOT,COLORgray,LINETHICK2;
J:="KDJ.J";
A:=CROSS(J,0);
SEL1:=FILTER(REF(J,1)>75 AND J<REF(J,1),3);
B:=SEL1;
stickline(A,c,o,8,0),colormagenta;
stickline(B,open,CLOSE,6,0),COLORBLUE;
评论(0)