通达信三线定强弱副图指标 源码 贴图
2024-05-15 09:49:00来源:本站整理浏览:664
通达信三线定强弱副图指标 源码 贴图
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);{公式网WWW.GPXIAZAI.COM}
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;
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);{公式网WWW.GPXIAZAI.COM}
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;
- 上一篇公式:通达信拐线抬头捉妖主图指标 源码 贴图
- 下一篇公式:通达信趋势量化线副图指标 源码 贴图