通達信牛氣沖天多空指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2022-01-06 來源:互聯網
通達信牛氣沖天多空指標公式:
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;
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};
通達信牛氣沖天多空指標公式實例圖解:
通達信牛氣沖天多空指標公式