在你看不清趋势的情况下,有时候需要反过来思考一下,一反一正趋势更清晰
C1:=REVERSE(C);
DRAWKLINE(-LOW, -OPEN, -HIGH, -CLOSE);
MID : MA(C1,26);
UPPER: MID + 2*STD(C1,26);
LOWER: MID - 2*STD(C1,26);
MA15:MA(C1,15);
IF(MA15>REF(MA15,1),MA15,DRAWNULL),LINETHICK3,COLORMAGENTA;
AY:MA(C1,4);
A3:=REF(AY,10)=HHV(AY,2*10+1); B3:=FILTER(A3,10);
C3:=BACKSET(B3,10+1); AD:=FILTER(C3,10);
A4:=REF(AY,10)=LLV(AY,2*10+1); B4:=FILTER(A4,10);
C4:=BACKSET(B4,10+1); CD:=FILTER(C4,10);
E:=REF(AY,BARSLAST(AD)); F:=REF(AY,BARSLAST(CD));
T3:=BARSLAST(AD)
IF(T3,E,E),COLORFF00FF,POINTDOT;
STICKLINE(T3,E,E,10,0),COLORFF00FF;