多空線:0,COLORYELLOW,LINETHICK9; VAR1:=EMA(EMA(CLOSE,7),2)-EMA(EMA(CLOSE,21),2); VAR2:=EMA(0.668*REF(VAR1,1)+0.333*VAR1,1); 短多:IF(VAR1>=VAR2,VAR1,VAR2),COLORLIMAGENTA,LINETHICK3; 短空:VAR2,COLORGREEN,LINETHICK3; STICKLINE(VAR2<0 AND VAR2>REF(VAR2,1),VAR2*0.7,0,0.05,0),COLORYELLOW; STICKLINE(VAR2>REF(VAR2,1) AND VAR2>0,VAR2*0.7,0,0.05,0),COLORRED; STICKLINE(VAR2<REF(VAR2,1) AND VAR2>0,VAR2*0.7,0,0.05,0),COLORGREEN; |
|