M5:MA(C,5);
M10:MA(C,10);
TJ1:=EVERY(V
GL:=(M5/M10-1)*100;
TJ2:=EVERY(GL<18 AND M5>M10 AND M10>=REF(M10,1),3);
TJ3:=(RANGE(REF(C,1),REF(M10,1),REF(M5,1)) OR RANGE(REF(O,1),REF(M10,1),REF(M5,1))) ;
XG:=REF(TJ1,1) AND TJ3 AND TJ2 AND crOSS(C+0.01>=M5,0.5);
DRAWICON(XG,L*0.95,1);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;
{
选股公式:
M5:=MA(C,5);
M10:=MA(C,10);
TJ1:=EVERY(V
GL:=(M5/M10-1)*100;
TJ2:=EVERY(GL<18 AND M5>M10 AND M10>=REF(M10,1),3);
TJ3:=(RANGE(REF(C,1),REF(M10,1),REF(M5,1)) OR RANGE(REF(O,1),REF(M10,1),REF(M5,1))) ;
XG:REF(TJ1,1) AND TJ3 AND TJ2 AND CROSS(C+0.01>=M5,0.5);
}