源码:
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
DRAWICON(CROSS(VAR4,VAR5) AND VAR5<30,8,1);
DRAWICON(CROSS(VAR5,VAR4) AND VAR5>30,93,2);
FILLRGN(VAR5>REF(VAR5,1),VAR5,VAR4),COLORRED;
FILLRGN(VAR5<REF(VAR5,1),VAR5,VAR4),COLORGREEN;