通達信乖離前導波段買賣指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-04-30 來源:互聯網
通達信乖離前導波段買賣指標公式:
AS5:(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,COLORYELLOW,NODRAW;
BIAS1:(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,COLORGREEN,NODRAW;
BIAS2:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORGREEN,STICK,LINETHICK3;
分界線:=BIAS1>=0;
DRAWBAND(分界線,RGB(90,50,180),AS5,(50,50,180));
BIAS:(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,COLORRED;
上軌:MA(BIAS1,20)+1.618*STD(BIAS2,20),COLORLIGRAY,CROSSDOT;
下軌:MA(BIAS1,20)-1.618*STD(BIAS2,20),COLORLIGRAY,CROSSDOT;
【最高】:=BIAS1*1.1,COLORGREEN;
【最低】:=BIAS1*0.90,NODRAW;
【收盤】:=BIAS1,NODRAW;
【開盤】:=REF(【收盤】,1),NODRAW;
STICKLINE(【收盤】>=【開盤】,【最高】,【最低】,0,0),COLORYELLOW;
STICKLINE(【收盤】>=【開盤】,【收盤】,【開盤】,1.5,1),COLORYELLOW;
STICKLINE(【收盤】<【開盤】,【最高】,【最低】,0,0),COLOR00FF00;
STICKLINE(【收盤】<【開盤】,【收盤】,【開盤】,1.5,1),COLOR00FF00;
變異:IF(BIAS< REF(BIAS,1),BIAS,DRAWNULL),COLORLIGREEN,LINETHICK1;
STICKLINE(AS5>0 AND AS5>REF(AS5,1),AS5,分界線,0,0),COLOR00ACCC;
UP1:=HHV(BIAS,55);
UP2:=LLV(BIAS,55);
UP3:=BIAS-(BIAS1-BIAS);
UP:IF(BIAS1>UP1 AND BIAS=UP1,MAX(LLV(UP1,10),UP3),UP1),COLORBB9A00;
DN:IF(BIAS1<UP2 AND BIAS=UP2,MIN(HHV(UP2,10),UP3),UP2),COLORBB9A00;
{疊加百分線}
JB:=BIAS1;
EE:=CURRBARSCOUNT<=200;
HH:=CONST(HHV(JB,200));
LL:=CONST(LLV(JB,200));
天:HH,POINTDOT,COLORLIGREEN;
地:LL,POINTDOT,,COLORLIGREEN;
強:CONST(HH-(HH-LL)*1/5),POINTDOT,COLORLIGRAY;
中:CONST(HH-(HH-LL)*1/2),POINTDOT,COLORLIGRAY;
弱:CONST(HH-(HH-LL)*4/5),POINTDOT,COLORLIGREEN;
通達信乖離前導波段買賣指標公式實例圖解:
通達信乖離前導波段買賣指標公式