源码如下:
AA:=SUM(VOL,3);
BB:=AA>REF(AA,1)*1.9;
MA10:=MA(C,10);
MA30:=MA(C,30);
MA60:=MA(C,60);
CC:=MA10>MA30 AND MA30>REF(MA30,1);
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
JJ:=(CROSS(VAR4,VAR5) AND CROSS(KK,DD));
XG1:BB AND CC ;
XG2:BB AND JJ ;