以下是通达信【叠彩线】 云枫专用版
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
YF:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+
15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+
10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+
5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+ REF(A,21))/231;
HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;
Y1:EMA(HJX3,4),COLORRED;
Y2:EMA(Y1,3),COLORRED;
Y3:EMA(Y1,7),COLORRED;
IF(Y1<REF(Y1,1),Y1,DRAWNULL),COLORGREEN;
IF(Y2<REF(Y2,1),Y2,DRAWNULL),COLORGREEN;
IF(Y3<REF(Y3,1),Y3,DRAWNULL),COLORGREEN;
Y4:EMA(YF,6),COLORYELLOW;
Y5:EMA(YF,16),COLORYELLOW;
Y6:EMA(YF,36),COLORYELLOW;
Y7:EMA(YF,56),COLORMAGENTA;
Y8:EMA(YF,76),COLORMAGENTA;
Y9:EMA(YF,96),COLORMAGENTA;
IF(Y4<REF(Y4,1),Y4,DRAWNULL),COLORBLUE;
IF(Y5<REF(Y5,1),Y5,DRAWNULL),COLORBLUE;
IF(Y6<REF(Y6,1),Y6,DRAWNULL),COLORBLUE;
DRAWICON(CROSS(C,Y9),L,1);
评论(0)