以下是通达信一根均线打天下源码附图(无源码的请下载附件导入)
MA60:MA(CLOSE,71),LINETHICK4,COLORWHITE;
上涨MA60:IF(CLOSE>MA60,MA60,DRAWNULL),LINETHICK4,COLORRED;
下跌MA60:IF(CLOSE<MA60,MA60,DRAWNULL),LINETHICK4,COLORGREEN;
短:MA(CLOSE,5),COLORWHITE,LINETHICK1;
长:MA(CLOSE,18),COLORYELLOW,LINETHICK1;
DRAWICON((CLOSE*1.05<MA(CLOSE,20) AND
CLOSE<MA(CLOSE,60) AND
UPNDAY(C,3) AND
BARSLAST(CROSS(MACD.DIF,MACD.DEA))<=3 ) ,
LOW*0.98,9);
76433329.jpg
|