以下是通达信黄金模式源码附图(无源码的请下载附件导入)
工作线:EXPMA(CLOSE,17),COLORWHITE;
生命线:MA(CLOSE,25),COLORRED;
九号线:MA(CLOSE,99),COLORBLUE;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,GNBLOCK);
DRAWTEXT_FIX(1,0.7,0,0,1),COLORFF6000;
DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;
X_1:=CONST(HHV(HIGH,190));
X_2:=0+0.03;
X_3:=X_2+0.03;
X_4:=X_3+0.03;
DRAWTEXT(CURRBARSCOUNT=150,X_1-X_1*X_2,7),COLORRED;
DRAWTEXT(CURRBARSCOUNT=150,X_1-X_1*X_3,8),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=150,X_1-X_1*X_4,9),COLORMAGENTA;
711188517.jpg
|