{高}G:=((H+MAX(C,O))/2,5);G1:=G>REF(G,1) AND G>REFX(G,1);D1:=G
[REF(D,1) AND D>REFX(D,1);D2:=D][D;DD:=FILTER(D1 OR D2,5) AND CURRBARSCOUNT>D;{前期高低点距今}GB1:=BAAST(GG); GB2:=REFV(GB1,GB1+1)+GB1+1;GB3:=REFV(GB1,GB2+1)+GB2+1;GB4:=REFV(GB1,GB3+1)+GB3+1;DB1:=BARSLAST(DD); DB2:=REFV(DB1,DB1+1)+DB1+1; DB3:=REFV(DB1,DB2+1)+DB2+1; DB4:=REFV(DB1,DB3+1)+DB3+1;{}E2:=EMA(C,20);A21:=REFV(100*A(G-E2)/E2,GB1)<2; A22:=REFV
]