主力筹码: 100*WINNER(CLOSE*0.9),colorwhite;
获利3:=100*WINNER(CLOSE*0.97);
获利20: 100*WINNER(CLOSE*0.9*0.9);
获利30: 100*WINNER(CLOSE*0.9*0.9*0.9);
p:=MA( 主力筹码,2);
p1:=MA( 获利20,2);
T:FILTER(CROSS(p,30)
AND 主力筹码>REF(p,2)
AND REF(p,1)<30,10);
STICKLINE(T,30,0,4,0),coloryellow,LINETHICK2;
DRAWTEXT(T,40,'建仓' ),coloryellow;
T4:FILTER(CROSS(获利3,85)
AND 主力筹码>REF(主力筹码,3),15);
STICKLINE(T4,70,0,3,0),colorred,LINETHICK2;
DRAWTEXT(T4,85,'追涨' ),colorred;
T3:FILTER(CROSS(获利30,20)
AND 主力筹码>REF(主力筹码,3),15);
STICKLINE(T3,50,0,3,0),colorred,LINETHICK2;
DRAWTEXT(T3,65,'再追涨' ),colorred;
T2:FILTER(CROSS(获利20,20)
AND 主力筹码>REF(主力筹码,3),15);
STICKLINE(T2,30,0,3,0),colorf00ff0,LINETHICK2;
DRAWTEXT(T2,45,'追涨' ),colorf00ff0;
B:FILTER(获利3>80
AND 主力筹码>35,1) ;
DRAWTEXT(B,95,'★' ),colorred ;
STICKLINE(获利30>=20,79,80,6,0),colorred;
STICKLINE(获利30<20,79,80,6,0),COLOR00FF00;
STICKLINE(P1>=20,49,50,6,0),colorred;
STICKLINE(P1<20,49,50,6,0),COLORF0F000;
STICKLINE(p>=30,29,30,6,0),colorred;
STICKLINE(p<30,29,30,6,0),,COLORF0F000;