AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
济安线:=DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
CC:=(CLOSE/济安线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-济安线)/济安线)/3;
TMP:=MA1-MAAA*MA1;
VAA0:=crOSS(TMP,济安线);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
macd := 2*(DIFF-DEA);
LC := REF(CLOSE,1);
rsi := SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MID := MA(CLOSE,20);
TMP2 := STD(CLOSE,20);
TOP := MID + 2*TMP2;
BOTTOM := MID - 2*TMP2;
VR := SUM(vol,N)/REF(SUM(VOL,N),1);
VAA1 := VAA0;
VAA2 := MACD > 0;
VAA3 := RSI > 50;
VAA4 := CLOSE > BOTTOM AND CLOSE < TOP;
VAA5 := vr > 1;
济安线战法: VAA1 AND VAA2 AND VAA3 AND VAA4 AND VAA5;