2016通达信指标公式 通达信阶梯副图公式源码
2016-08-15 10:57 股票知识 zhishi.southmoney.com
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLORCYAN,LINETHICK3;
天佑:趋势>=50,COLOR0000FF,NODRAW;
周期:IF(天佑,BARSLAST(CROSS(天佑,0.1))+1,0),COLORFF00FF,NODRAW;
临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,NODRAW;
WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));
挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,NODRAW;
DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));
AA:=IF(挖坑,趋势,50);
零轴:0,COLORFFFFFF;
选股:周期=1,COLORRED,NODRAW;
快跑:趋势<50,,COLOR00FF00,NODRAW;
50,POINTDOT,COLOR000000;
DRAWTEXT(临界,90,'☆'),COLOR00FF00;
DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));
STICKLINE(天佑,周期*0.8,周期*0.95,3,0),COLOR0000FF;
STICKLINE(天佑,周期*1.05,周期*1.2,3,0),COLOR0000FF;
STICKLINE(天佑 AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF;
STICKLINE(CROSS(天佑,0.1),0,100,0,-1),COLOR0000FF;
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLORCYAN,LINETHICK3;
天佑:趋势>=50,COLOR0000FF,NODRAW;
周期:IF(天佑,BARSLAST(CROSS(天佑,0.1))+1,0),COLORFF00FF,NODRAW;
临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,NODRAW;
WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));
挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,NODRAW;
DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));
AA:=IF(挖坑,趋势,50);
零轴:0,COLORFFFFFF;
选股:周期=1,COLORRED,NODRAW;
快跑:趋势<50,,COLOR00FF00,NODRAW;
50,POINTDOT,COLOR000000;
DRAWTEXT(临界,90,'☆'),COLOR00FF00;
DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));
STICKLINE(天佑,周期*0.8,周期*0.95,3,0),COLOR0000FF;
STICKLINE(天佑,周期*1.05,周期*1.2,3,0),COLOR0000FF;
STICKLINE(天佑 AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF;
STICKLINE(CROSS(天佑,0.1),0,100,0,-1),COLOR0000FF;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。