标题: 王者均线带标注数字版 [打印本页] 作者: 王者之聚沙成塔 时间: 2019-9-30 13:52 标题: 王者均线带标注数字版 MA5:MA(CLOSE,5); % D9 w0 S5 O( F, Z) B, RMA10:MA(CLOSE,10);8 j( C- H ^7 u# R& J$ t
MA20:MA(CLOSE,20);( R4 M9 E2 h& w. g( E; W$ J
MA55:MA(CLOSE,55);+ b. _+ R' u1 I4 x' j; @* K
MA89:MA(CLOSE,89);$ [" `! D, g* }3 Z
MA144:MA(CLOSE,144); , X0 {1 F V' H7 H! C' c: \MA233:MA(CLOSE,233);# O3 m% P- _6 `- l+ I: M. r% N( I" Y
MA377:MA(CLOSE,377); 4 N) K+ t0 P1 {6 F T% v9 w# RMA450:MA(CLOSE,450);0 v# s* ^9 L( H) p
MA610:MA(CLOSE,610); ' o& O! n4 I8 C9 L6 z) QDRAWTEXT(MA5 AND BARSTATUS=2 ,MA5 ,'5' ); ' J; o$ [( Y1 q, y. e- X wDRAWTEXT(MA10 AND BARSTATUS=2 ,MA10 ,'10' );) M. \$ o, n+ ~9 P/ B8 o; x
DRAWTEXT(MA20 AND BARSTATUS=2 ,MA20 ,'20' );1 k& R5 r, ?) E- P9 {
DRAWTEXT(MA55 AND BARSTATUS=2 ,MA55 ,'55' ); ! W, @; J3 b1 O; W% S1 qDRAWTEXT(MA89 AND BARSTATUS=2 ,MA89 ,'89' ); / J1 V* b. }, E- Q0 CDRAWTEXT(MA144 AND BARSTATUS=2 ,MA144 ,'144' );8 H S/ }' R. y* c
DRAWTEXT(MA233 AND BARSTATUS=2 ,MA233 ,'233' );* W: m8 n8 s- |; K1 a/ m% u
DRAWTEXT(MA377 AND BARSTATUS=2 ,MA377 ,'377' );" M, U* y, L% s& E+ a) I( X1 c) L
DRAWTEXT(MA450 AND BARSTATUS=2 ,MA450 ,'450' ); + l1 F- ~, @3 Z" o9 t: E, y# jDRAWTEXT(MA610 AND BARSTATUS=2 ,MA610 ,'610' ); ! R. V) G9 O, m% o: v6 B( h$ p7 ?
又增加了一段可以显示涨跌停特殊颜色K线的代码,直接跟在后面就可以了, o" _4 k, J. e( I1 X4 Z7 w
5 u* ~7 |0 i0 ~" Z5 L
0 S) A: m7 C/ m+ x$ V5 w7 q; OZT:=C/REF(C,1)>1.0993 AND C=H;& L; i. C3 }1 e
STICKLINE(ZT,O,C,2,0),COLORYELLOW;" v5 g9 {. S4 a. X
DT:=C/REF(C,1)<0.913 AND C=L; 9 t. _2 H3 P/ q$ ZSTICKLINE(DT,O,C,2,0),COLORGREEN;" n1 S' r5 R4 m- P9 F6 L