通达信牛气冲天指标公式
2020/2/7 19:02:27
G1:=8;
股票:=0;
理:IF(CLOSE>MA(CLOSE,5),股票+1,股票),COLORWHITE;
想:IF(CLOSE>MA(CLOSE,10),理+1,理),COLOR999999;
论:IF(CLOSE>MA(CLOSE,20),想+1,想),COLOR00FFFF;
坛:IF(CLOSE>MA(CLOSE,60),论+1,论),COLORFF00FF;
估:IF(MA(CLOSE,5)>MA(CLOSE,10),坛+1,坛),COLORFFAA00;
界:IF(MA(CLOSE,10)>MA(CLOSE,20),估+1,估),COLOR006AFF;
文:IF(MA(CLOSE,20)>MA(CLOSE,60),界+1,界),COLOR0000FF;
{投股票网-股票公式网站 www.tou18.cn}
DRAWBAND(文,RGB(255,0,0),0,RGB(0,0,0));
DRAWBAND(界,RGB(255,125,0),0,RGB(0,0,0));
DRAWBAND(估,RGB(0,90,255),0,RGB(0,0,0));
DRAWBAND(坛,RGB(0,255,0),0,RGB(0,0,0));
DRAWBAND(论,RGB(255,0,255),0,RGB(0,0,0));
DRAWBAND(想,RGB(150,150,150),0,RGB(0,0,0));
DRAWBAND(理,RGB(255,255,255),0,RGB(0,0,0));
估算:理+想+论+坛+估+界+文,NODRAW,COLORFF00FF;{取消等号}
G2:=(REF(估算,1)<=2 AND 估算>=G1);
牛气:=IF(G2,1,0);
冲天:STICKLINE(牛气,0,6.8,1,0),COLOR00BAFF;
DRAWICON(牛气=1,7.2,1);{标号用1位置取7.2};
投股票 网 ww w.tou18.cn
股市公式下载推荐