通达信乖离前导波段买卖指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 副图
- 日期: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;
通达信乖离前导波段买卖指标公式实例图解:
通达信乖离前导波段买卖指标公式