以下是通达信老村长一招鲜源码附图(无源码的请下载附件导入)
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3)LINETHICK4 COLORRED;
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
IF(MA(CLOSE,M3)<=REF(MA(CLOSE,M3),1),MA(CLOSE,M3),DRAWNULL),COLORGREEN,LINETHICK4;
DRAWTEXT_FIX(ISLASTBAR,0.45,1,1,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.49,1,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.59,1,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.01,1,0,ZDBLOCK),COLORWHITE;
STICKLINE(C/REF(C,1)>1.095,O,C,2,0),COLORMAGENTA;
C1:=REF(C,1);
跌停:=IF((C1-C)*100/C1>=(10-0.01*100/C1),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.2,0),COLORGREEN;
71555315.jpg
|