通達信變色趨勢波段買賣指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2020-10-08 來源:互聯(lián)網
通達信變色趨勢波段買賣指標公式:
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;
通達信變色趨勢波段買賣指標公式實例圖解:
通達信變色趨勢波段買賣指標公式