AB:=IF(STKTYPE=0,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1)*100,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1)); AC:=SMA(AB,3,1); 波:3*AB-2*AC,COLORRED,LINETHICK1; 段:EMA(SLOPE(AB,6)*20+AB,42),COLORGREEN; 振幅:=(h-ref(l,5))/ref(l,5)*100; X:=(波-段); 换手:=(v/CAPITAL*100); 活跃度:(振幅/5+换手/3+X/1)/3,LINETHICK1;
爱约股解答:
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*10;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*10;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*10;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
AB:=IF(C=INDEXC,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1)*100,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1));
AC:=SMA(AB,3,1);
波:3*AB-2*AC,COLORRED,LINETHICK1;
段:EMA(SLOPE(AB,6)*20+AB,42),COLORGREEN;
振幅:=(H-REF(L,5))/REF(L,5)*100;
X:=(波-段);
换手:=(V/CAPITAL*100);
活跃度:(振幅/5+换手/3+X/1)/3,LINETHICK1;