N:=24;
AN:MA(C,N);
AN12:MA(AN,12);
A1:=L<AN;
A2:=C>AN;
A3:=C/REF(C,1)<AN;
A4:=CROSS(C,AN) AND V/REF(MA(V,5),1)>1.016;
XG:=A1 AND A2 AND A3 AND A4;
STICKLINE(XG,H,L,2,0),COLORLIRED;
DRAWICON(XG,H,13);
DRAWTEXT(XG,L,'回踩关键位'),COLORYELLOW;
{
选股公式:
N:=24;
AN:=MA(C,N);
AN12:=MA(AN,12);
A1:=L<AN;
A2:=C>AN;
A3:=C/REF(C,1)<AN;
A4:=CROSS(C,AN) AND V/REF(MA(V,5),1)>1.016;
XG:A1 AND A2 AND A3 AND A4;
}