LBBI:((MA(LOW,3)+MA(LOW,4)+MA(LOW,5)+MA(LOW,6))/4),COLORGREEN;
X1:=EMA(C,7);
DRAWTEXT(FILTER(VAR3 AND VAR2 AND COUNT(X1<REF(X1,1),5)>2 AND X1>REF(X1,1),3),
L-0.1,'短↑進(jìn)'),COLORFFFFFF;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); VB1:=FILTER(A1,10); C1:=BACKSET(VB1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); VB2:=FILTER(A2,10);
C2:=BACKSET(VB2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波峰:IF(T1,A,A) ,POINTDOT ,COLOR00FFFF;
波谷:IF(T2,B,B),POINTDOT,COLOR80FF00;
RSV1: SMA(HIGH,21,2)*1.05,COLORWHITE;
RSV2: SMA(LOW,21,2)*0.95,COLORYELLOW;
RSV3: SMA(LOW,5,1),COLORRED;
RSV4: SMA(CLOSE,2,1),COLORBLUE;