VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
?ò:IF(CROSS(VAR2,VAR1),100,0);
MAC5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
M5:=MA(MAC5,5);
AA:=PLOYLINE(CROSS(MAC5,M5),M5),COLORRED;
AAB:=PLOYLINE(CROSS(M5,MAC5),MAC5),COLORFF00FF ;
XG:COUNT(CROSS(MAC5,M5),AA<REF(AA,5) AND AAB>REF(AAB,5)),COLORYELLOW;
(南方財富網(wǎng)SOUTHMONEY.COM)