通达信专家提示5合1指标公式

通达信成本跟踪主图指标公式

{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);

{指标网-股票公式网站 www.Gupang.com}

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;

通达信三金叉选股指标公式