大智慧攻击线率指标公式股票软件源码如下: 攻击线:(ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.295),LINETHICK0; 操盘线:(ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.295),LINETHICK0; 动力线:(ATAN((MA(CLOSE,17)/REF(MA(CLOSE,17),1)-1)*100)*57.295),LINETHICK0; 生命线:(ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.295),LINETHICK0; 单比净:=SUM(操盘线,1); {www.gpxiazai.com 股票软件下载网_大智慧股票指标公式} STICKLINE(单比净>0,0,单比净,7,0),COLORred,linethick2; STICKLINE(单比净>0,0,单比净,6,0),COLOR005555; STICKLINE(单比净>0,0,单比净,6,0),COLOR006666; STICKLINE(单比净>0,0,单比净,5,0),color007777; STICKLINE(单比净>0,0,单比净,4,0),color009999; STICKLINE(单比净>0,0,单比净,3,0),color00BBBB; STICKLINE(单比净>0,0,单比净,2,0),color00DDDD; STICKLINE(单比净>0,0,单比净,1,0),color00FFFF; {yin柱图} STICKLINE(单比净<0,0,单比净,7,0), COLORgreen,linethick2; STICKLINE(单比净<0,0,单比净,6,0), COLOR444444; STICKLINE(单比净<0,0,单比净,6,0), COLOR555555; STICKLINE(单比净<0,0,单比净,5,0), COLOR777777; STICKLINE(单比净<0,0,单比净,4,0), COLOR999999; STICKLINE(单比净<0,0,单比净,3,0), COLORbbbbbb; STICKLINE(单比净<0,0,单比净,2,0), COLORdddddd; STICKLINE(单比净<0,0,单比净,1,0), COLORffffFF; DRAWTEXTABS(0,0,'FY-操盘线率'),COLOR52FFFF; |