相關(guān)標(biāo)簽:
紅色不操作,黃色觀望,綠色持幣,短中長期一目了然。
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛線:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
馬線:=MA(牛線,6),COLORYELLOW;
STICKLINE(C>牛線,2.5,4,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<馬線,2.5,4,8,0),COLORRED,LINETHICK2;
STICKLINE(牛線>=C AND C>=馬線,2.5,4,8,0),COLORYELLOW,LINETHICK2;A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
開槍:C>A,COLORGREEN;
休息:C<B,COLORRED;
觀望準(zhǔn)備:A>=C AND C>=B,COLORYELLOW ;
STICKLINE(C>A,0.5,2,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<B,0.5,2,8,0),COLORRED,LINETHICK2;
STICKLINE(A>=C AND C>=B,0.5,2,8,0),COLORYELLOW,LINETHICK2;
R:=0;
E:=MAX(MA(C,30),MA(C,60));
F:=MIN(MA(C,30),MA(C,60));STICKLINE(C>E,-0.5,-2,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F,-0.5,-2,8,0),COLORRED,LINETHICK2;
STICKLINE(E>=C AND C>=F,-0.5,-2,8,0),COLORYELLOW,LINETHICK2;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'
程序化交易模型'),COLORRED;
