【通达信免费源码】量能饱和度副图,能直观反映股票是否强势的副图

通达信免费指标 07-07 阅读:597 评论:0

30-1P223143048.png

M:=1.2;

N1:=34;

N2:=N1*1.05;

N3:=N1+3;

SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));

量能饱和度:IF(SAT>1,1,SAT)*100,COLORLIBLUE,NODRAW;

中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}

DRAWTEXT(CURRBARSCOUNT=N3,中点*1.82,量能饱和度),COLORBLUE;

VOLUME:VOL,VOLSTICK;

SHORT:=12;

LONG:=26;

MID:=9;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:=EMA(DIF,MID);

MACD:=(DIF-DEA)*2,COLORSTICK;

STICKLINE(DIF>DEA,0,VOL,3,0),COLORRED;

STICKLINE(DIF<DEA,0,VOL,3,0),COLORGREEN;

N:=9;

M1:=3;

M2:=3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,M1,1);

D:=SMA(K,M2,1);

J:=3K-2D;

STICKLINE(J>D,VOL/2,VOL,3,0),COLORRED;

STICKLINE(J<D,VOL/2,VOL,3,0),COLORGREEN;


版权声明

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

服务热线

18020657357

微信客服

微信客服