万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信三线定强弱指标公式[万物公式]

admin 2024-05-14 20:42:03 通达信主副图指标 997 ℃
QQ交流群586838595

GSKZ1:=POW(10,6);

GSKZ2:=IF(GSKZ1>0,1,0);

GSKZ3:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);

GSKZ4:=HIGH-REF(HIGH,1);

GSKZ5:=REF(LOW,1)-LOW;

GSKZ6:=SUM(IF(GSKZ4>0 AND GSKZ4>GSKZ5,GSKZ4,0),20);

GSKZ7:=SUM(IF(GSKZ5>0 AND GSKZ5>GSKZ4,GSKZ5,0),20);

GSKZ8:=LLV(LOW,240);

GSKZ9:=HHV(HIGH,240);

趋势线:(CLOSE-GSKZ8)/GSKZ8*100,COLORGREEN;

中线:GSKZ7/GSKZ3/2*100,COLORMAGENTA;

散户线:(GSKZ9-CLOSE)/CLOSE*100,COLORWHITE;

HH:趋势线/散户线,NODRAW,COLORWHITE;

GSKZ10:=HHV(CLOSE,20);

GSKZ11:=EMA(GSKZ10,30)*1.03;

GSKZ12:=EMA(GSKZ10,120)*1.03;

GSKZ13:=(CLOSE+HIGH+LOW)/3;

GSKZ14:=EMA(GSKZ13,10);

GSKZ15:=REF(GSKZ14,1);

看涨:IF(趋势线>15 AND 趋势线>中线,趋势线,DRAWNULL),COLORYELLOW,LINETHICK2;

超强:IF(趋势线>30 AND 趋势线>散户线,趋势线,DRAWNULL),COLORRED,LINETHICK2;

DRAWICON(FILTER(看涨 OR 超强 AND 趋势线>=HHV(趋势线,10) AND OPEN/GSKZ14<1.08 AND OPEN/GSKZ11<1.1 AND OPEN/GSKZ12<1.2 AND CLOSE>GSKZ11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散户线<60 AND 趋势线<120,30),趋势线,1)*GSKZ2;

QQ交流群586838595