0,DOTLINE,COLORLIGRAY;
1,DOTLINE,COLORLIGRAY;
1.5,DOTLINE,COLORLIGRAY;
HH:=EMA(H,21);
CC:=EMA(C,21);
LL:=EMA(L,21);
RV1:(HH-CC)/(CC-LL),COLORGREEN;
RV2:(CC-LL)/(HH-CC),COLORRED;
RV3:RV2*2-RV1,COLORWHITE;
DRAWICON(crOSS(RV2,1) AND EXIST(RV1>1.5,5),1,1);
{
选股公式:
HH:=EMA(H,21);
CC:=EMA(C,21);
LL:=EMA(L,21);
RV1:=(HH-CC)/(CC-LL);
RV2:=(CC-LL)/(HH-CC);
xg:DRAWICON(CROSS(RV2,1) AND EXIST(RV1>1.5,5),1,1);
}