ZF:=(H-L)/REF(C,1)*100;
T:=BArslAST(ZF>10);
A:=EVERY(H<=REF(H,T) AND L>=REF(L,T),T) AND T>3;
XG:=REF(A,1) AND C>REF(REF(H,T),1);
Q:=BacKSET(XG,REF(T,1)+2);
QT:=BARSLAST(crOSS(Q=1,0.5));
HH:IF(Q=1,REF(H,QT),DRAWNULL),COLORYELLOW;
LL:IF(Q=1,REF(L,QT),DRAWNULL),COLORYELLOW;
STICKLINE(QT=0,C,O,2,0),COLORYELLOW;
STICKLINE(QT=0,H,L,0,0),COLORYELLOW;
DRAWICON(XG,L*0.98,1);
{
选股公式:
ZF:=(H-L)/REF(C,1)*100;
T:=BARSLAST(ZF>10);
A:=EVERY(H<=REF(H,T) AND L>=REF(L,T),T) AND T>3;
XG:REF(A,1) AND C>REF(REF(H,T),1);
}