HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BArslAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(L,BARSNEXT(T1=0));
QF:=BacKSET(T1=0,T+1);
GG:=IF(QF,H,-999);
GT:=BARSLAST(GG>REF(GG,1) AND GG>CONST(REF(GG,T1)));
G1:=REF(GG,GT);
G2T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G1));
G2:=REF(GG,G2T);
G3T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G2));
G3:=REF(GG,G3T);
G4T:=BARSLAST(GG>REF(GG,1) AND GG>CONST(G3));
G4:=REF(GG,G4T);
高位价:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,HH,ISLASTBAR,REF(HH,T),0),COLORYELLOW;
DRAWLINE(CURRBARSCOUNT=CONST(G4T)+1 AND CONST(G4T)
{
选股公式:
HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BARSLAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(L,BARSNEXT(T1=0));
QF:=BACKSET(T1=0,T+1);
GG:=IF(QF,H,-999);
GT:=BARSLAST(GG>REF(GG,1) AND GG>CONST(REF(GG,T1)));
G1:=REF(GG,GT);
crOSS(C,G1);
}