AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
强:DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
CC:=(CLOSE/强);A1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
A2:=((A1-强)/强)/3;
趋势:A1-A2*A1,COLORWHITE,LINETHICK3;
强角:=ATAN(100*(强/REF(强,1)-1))*180/3.1416;
趋角:=ATAN(100*(趋势/REF(趋势,1)-1))*180/3.1416;
持:IF(趋势>=强 AND 趋势>=REF(趋势,1),趋势,DRAWNULL)LINETHICK3,COLORYELLOW;
减:IF(趋角<=REF(趋角,1) AND 趋势>=强 ,趋势,DRAWNULL),LINETHICK3,COLORFFAA0D;
减1:IF(趋势<=REF(趋势,1) ,趋势,DRAWNULL),LINETHICK3,COLORFFAA0D;
空:IF(趋势<强,趋势,DRAWNULL),LINETHICK3,COLORGREEN;
买:IF(趋势<=强 AND 趋角>=-10 AND
COUNT(C>趋势,2)=2 AND 趋势>=REF(趋势,1),趋势,DRAWNULL),LINETHICK3,COLORWHITE;
IF(趋势>=强 AND REF(趋势,2)>=REF(趋势,1) AND 趋势>=REF(趋势,1) AND
ABS(强-趋势)/趋势*100<=10,趋势,DRAWNULL),LINETHICK3,COLORWHITE;
弱:IF(趋势<=强,强,DRAWNULL),LINETHICK2,COLORCYAN;
MA1:MA(C,5),COLORWHITE;
MA2:MA(C,10),COLORYELLOW;
MA3:MA(C,20),COLORLIBLUE,;
MA4:MA(C,30),COLORCC33FF,;