变色趋势主图-精品通达信指标公式源码分享

通达信免费指标 12-19 阅读:31 评论:0

image.png

CC:=ABS ((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);    

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;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服