专家提示5合1副图-精品通达信指标公式源码分享

通达信免费指标 12-29 阅读:22 评论:0

image.png

{VR}

WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)/

SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;

VR买:IF((CROSS(70,WVR)),5,0),COLORYELLOW;

{DPSJ}

RSV:=(INDEXC-LLV(INDEXL,18))/(HHV(INDEXH,18)-LLV(INDEXL,18))*100;

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

DPSJ买入:IF((CROSS(K,20)),10,0),COLORWHITE;

{KD}

WRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

WK:=SMA(WRSV,3,1);

D:=SMA(WK,3,1);

KD买入:IF((CROSS(WK,D)&&WK<20),8,0),COLORRED;

{KDJ}

K1:=SMA(RSV,3,1);

D1:=SMA(K1,3,1);

J:=3*K1-2*D1;

KDJ买入:IF((CROSS(J,0)),12,0),COLORGREEN;

{BOLL}

MID :=MA(CLOSE,20);

UPPER:=MID+2*STD(CLOSE,20);

LOWER:=MID-2*STD(CLOSE,20);

BOLL买入:IF((CROSS(CLOSE,LOWER)),15,0),COLORMAGENTA;


版权声明

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

服务热线

18020657357

微信客服

微信客服