通达信变色趋势波段买卖指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 主图
- 日期:2020-10-08 来源:互联网
通达信变色趋势波段买卖指标公式:
N1:=13;
N2:=34;
N3:=55;
N4:=89;
VAR1:=IF(DATE>99991231,0,1);
VAR2:=ZIG(3,3)*VAR1>REF(ZIG(3,3),1)*VAR1 AND REF(ZIG(3,3),1)*VAR1<REF(ZIG(3,3),2)*VAR1;
VAR3:=ZIG(3,3)*VAR1<REF(ZIG(3,3),1)*VAR1 AND REF(ZIG(3,3),1)*VAR1>REF(ZIG(3,3),2)*VAR1;
VAR4:=BARSLAST(VAR2)*VAR1<BARSLAST(VAR3)*VAR1;
VAR5:=BARSLAST(VAR3)*VAR1<BARSLAST(VAR2)*VAR1;
QS1: EMA(ZIG(3,3)*VAR1,N1), , COLOR00FF00;
QS2: EMA(REF(ZIG(3,3),1)*VAR1,N2), , COLORWHITE;
QS3: EMA(REF(ZIG(3,3),2)*VAR1,N3), , COLORBLUE;
QS4: EMA(REF(ZIG(3,3),3)*VAR1,N4), , COLORRED;
☆QS: EMA(REF(ZIG(3,3),4)*VAR1,255), , COLORYELLOW;
STICKLINE(VAR4 AND OPEN<CLOSE,OPEN,CLOSE,7,1), , COLORRED;
STICKLINE(VAR4 AND OPEN>=CLOSE,OPEN,CLOSE,7,0), , COLORRED;
STICKLINE(VAR2 AND VAR4,OPEN,CLOSE,7,1), , COLORRED;
STICKLINE(VAR4 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), , COLORRED;
STICKLINE(VAR4 AND OPEN>CLOSE,LOW,HIGH,0.8,0), , COLORRED;
STICKLINE(VAR3 AND VAR5,OPEN,CLOSE,7,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,OPEN,CLOSE,7,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN<CLOSE,OPEN,CLOSE,7,1), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,OPEN,HIGH,0.8,1), , COLORFFCC99;
STICKLINE(VAR5 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), , COLORFFCC99;
通达信变色趋势波段买卖指标公式实例图解:
通达信变色趋势波段买卖指标公式