通達(dá)信BIAS角度計(jì)算乖離率背離指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 超買(mǎi)超賣(mài)
- 畫(huà)線方法: 副圖
- 日期:2020-03-04 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信BIAS角度計(jì)算乖離率背離指標(biāo)公式:
N1:=5;N2:=10;N3:=20;
BIAS1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,LINETHICK1;
BIAS2:=(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100,LINETHICK2;
BIAS3:=(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100,LINETHICK4;
MAXBIAS1:=IF(BIAS1>REF(BIAS1,1),BIAS1,0);
角度計(jì)算1:IF(BIAS1>REF(BIAS1,1),(MAXBIAS1-MIN(BIAS1,REF(BIAS1,1)))/
(ABS(BIAS1)+ABS(REF(BIAS1,1))),0),LINETHICK1;
MAXBIAS2:=IF(BIAS2>REF(BIAS2,1),BIAS2,0);
角度計(jì)算2:IF(BIAS2>REF(BIAS2,1),(MAXBIAS2-MIN(BIAS2,REF(BIAS2,1)))/
(ABS(BIAS2)+ABS(REF(BIAS2,1))),0),LINETHICK1;
MAXBIAS3:=IF(BIAS3>REF(BIAS3,1),BIAS3,0);
角度計(jì)算3:IF(BIAS3>REF(BIAS3,1),(MAXBIAS3-MIN(BIAS3,REF(BIAS3,1)))/
(ABS(BIAS3)+ABS(REF(BIAS3,1))),0),LINETHICK1;
三強(qiáng):=角度計(jì)算1>=1 AND 角度計(jì)算2>=1 AND 角度計(jì)算3>=1;
STICKLINE(三強(qiáng),0.5,1,0.5,0),COLORRED;
大盤(pán)6日:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6)*100;
大盤(pán)12日:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12)*100;
大盤(pán)24日:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24)*100;
大盤(pán):=(大盤(pán)6日 + 大盤(pán)12日 + 大盤(pán)24日)/3;
個(gè)股6日:=(C-MA(C,6))/MA(C,6)*100;
個(gè)股12日:=(C-MA(C,12))/MA(C,12)*100;
個(gè)股24日:=(C-MA(C,24))/MA(C,24)*100;
個(gè)股:=(個(gè)股6日 + 個(gè)股12日 + 個(gè)股24日)/3;
強(qiáng)勢(shì)出擊:=(大盤(pán)>REF(大盤(pán),1) AND CROSS(個(gè)股,大盤(pán)));
STICKLINE(強(qiáng)勢(shì)出擊,0,1,0,0),COLORRED;
轉(zhuǎn)折1:=REF(角度計(jì)算1,2)>REF(角度計(jì)算1,1) AND REF(角度計(jì)算1,1)<角度計(jì)算1
AND REF(角度計(jì)算1,2)<角度計(jì)算1;
轉(zhuǎn)折2:=REF(角度計(jì)算2,2)>REF(角度計(jì)算2,1) AND REF(角度計(jì)算2,1)<角度計(jì)算2
AND REF(角度計(jì)算2,2)<角度計(jì)算2;
轉(zhuǎn)折3:=REF(角度計(jì)算3,2)>REF(角度計(jì)算3,1) AND REF(角度計(jì)算3,1)<角度計(jì)算3
AND REF(角度計(jì)算3,2)<角度計(jì)算3;
同時(shí)轉(zhuǎn)折買(mǎi)點(diǎn):=轉(zhuǎn)折1 AND 轉(zhuǎn)折2 AND 轉(zhuǎn)折3;
DRAWICON(同時(shí)轉(zhuǎn)折買(mǎi)點(diǎn) AND C>MA(C,5)
AND MA(C,5)>REF(MA(C,5),1)
AND REF(MA(C,5),1)>REF(MA(C,5),2),
MIN(MIN(角度計(jì)算1,角度計(jì)算2),角度計(jì)算3),1);
DRAWICON(同時(shí)轉(zhuǎn)折買(mǎi)點(diǎn),角度計(jì)算1,1);
DRAWICON(同時(shí)轉(zhuǎn)折買(mǎi)點(diǎn),角度計(jì)算2,1);
DRAWICON(同時(shí)轉(zhuǎn)折買(mǎi)點(diǎn),角度計(jì)算3,1);
金屋頂:1,CIRCLEDOT,LINETHICK3,COLORRED;
通達(dá)信BIAS角度計(jì)算乖離率背離指標(biāo)公式實(shí)例圖解:
通達(dá)信BIAS角度計(jì)算乖離率背離指標(biāo)公式