【通达信源码分享】大阳成交量(通达信公式 副图 源码 测试图)

通达信免费指标 12-14 阅读:551 评论:0

{大阳成交量}

{副图}

VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;

VOLUME:VOL,VOLSTICK;

AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);

AA1:=VOL<REF(LLV(VOL,21),1);

AA2:=VOL<REF(LLV(VOL,55),1);

AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;

STICKLINE(AA,0,V,1,0),COLORRED;

STICKLINE(AA1,0,V,1,0),COLORGREEN;

STICKLINE(AA2,0,V,1,0),COLORMAGENTA;

STICKLINE(AA3,0,V,1,0),COLORCYAN;



MV5:=MA(VOL,5);

筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;

{VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED;

D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;

VAR3:=LLV(LOW,55);

VAR4:=HHV(HIGH,34);

VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);

VAR6:=(K+VAR5)/2;

VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);

VAR8:=EMA(VAR6,5);

VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);

DRAWICON(LONGCROSS(D,K,0.1) AND K>60 AND D>60,MV5,2),COLORRED;

DRAWICON(LONGCROSS(K,D,0.1) AND K<40 AND D<40,MV5,1),COLORGREEN;}



换手:=VOL{/CAPITAL*100},VOLSTICK;

V1:=MIN(REF(换手,1),REF(换手,2));

V2:=MIN(REF(换手,3),REF(换手,4));

V3:=MIN(REF(换手,5),REF(换手,6));

V4:=MIN(REF(换手,7),REF(换手,8));

V5:=MIN(REF(换手,9),REF(换手,10));

V6:=MIN(REF(换手,11),REF(换手,12));

V7:=MIN(REF(换手,13),REF(换手,14));

V8:=MIN(REF(换手,15),REF(换手,16));

W1:=MIN(MIN(V1,V2),MIN(V3,V4));

W2:=MIN(MIN(V5,V6),MIN(V7,V8));

ZM1:={MIN(W1,W2)}LLV(V,16);

ZM2:={MIN(W1,W2)}HHV(V,16);

五日:=REF(MA(V,5),1);

地量:(ZM1*3+五日)/4,COLORMAGENTA;


天量:(ZM2*3+五日)/4,COLORRED;

版权声明

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

服务热线

18020657357

微信客服

微信客服