当前位置:首页 > 通达信 > 正文

【通达信免费源码】短线多空指标 副图 波段 短线 买卖点 趋势 操

2022-04-13未知 编 辑:掌上指标

30-1P519222921.png30-1P519222922.png

短高H:=(20H+19REF(H,1)+18REF(H,2)+17REF(H,3)+16REF(H,4)+15REF(H,5)+14*REF(H,6)

+13REF(H,7)+12REF(H,8)+11REF(H,9)+10REF(H,10)+9REF(H,11)+8REF(H,12)

+7REF(H,13)+6REF(H,14)+5REF(H,15)+4REF(H,16)+3REF(H,17)+2REF(H,18)+

REF(H,20))/210,COLORBLUE,LINETHICK1;

短低L:=(20L+19REF(L,1)+18REF(L,2)+17REF(L,3)+16REF(L,4)+15REF(L,5)+14*REF(L,6)

+13REF(L,7)+12REF(L,8)+11REF(L,9)+10REF(L,10)+9REF(L,11)+8REF(L,12)

+7REF(L,13)+6REF(L,14)+5REF(L,15)+4REF(L,16)+3REF(L,17)+2REF(L,18)+

REF(L,20))/210,COLORBLUE,LINETHICK1;

D90H:=EMA(短高H,90),COLORRED,LINETHICK1;

D90L:=EMA(短低L,90),COLORRED,LINETHICK1;

D90差:=D90H-D90L;

D90顶:=D90H+D90差*2,COLORRED,LINETHICK1;

D90底:=D90L-D90差*2,COLORRED,LINETHICK1;

高0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK1,COLORWHITE;

低0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK1,COLORWHITE;

多头定位:=低0>=D90底 AND 高0>=D90顶;

空头定位:=高0<=D90顶 AND 低0<=D90底;

震荡定位:=低0>=D90底 AND 高0<=D90顶;

短顶:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2+XMA(XMA(H,25),25),LINETHICK2,COLORGREEN;

短底:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*2,LINETHICK2,COLORGREEN;

短线收盘:=(C-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;

短线开盘:=(O-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;

短线高盘:=(H-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;

短线低盘:=(L-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;

震荡顶:=(XMA(XMA(短线高盘,25),25)-XMA(XMA(短线低盘,25),25))*1+XMA(XMA(短线高盘,25),25),DOTLINE,COLORWHITE;

震荡底:=XMA(XMA(短线低盘,25),25)-(XMA(XMA(短线高盘,25),25)-XMA(XMA(短线低盘,25),25))*1,DOTLINE,COLORWHITE;

做空:80000,COLORWHITE,LINETHICK1;

做多:20000,COLORWHITE,LINETHICK1;

空损:110000,COLORMAGENTA,LINETHICK2;

多损:-10000,COLORMAGENTA,LINETHICK2;

DEA3:=EMA((EMA(CLOSE,3) - EMA(CLOSE,6)),9),COLORGREEN,LINETHICK2;

DEA3B:=REF(DEA3,1),COLORWHITE,LINETHICK0;

DEA33B:=EMA((EMA(EMA(CLOSE,3) - EMA(CLOSE,9),3) - EMA(EMA(CLOSE,3) - EMA(CLOSE,9),9)),9),COLORWHITE,LINETHICK0;

DEA333B:=REF(DEA33B,1),COLORWHITE,LINETHICK0;

STICKLINE(DEA3B<DEA3 OR DEA333B<DEA33B,短线低盘,短线高盘,0.0,0),COLORRED;

STICKLINE(DEA3B<DEA3 OR DEA333B<DEA33B,短线收盘,短线开盘,3,1),COLORRED;

STICKLINE(DEA3<DEA3B,短线低盘,短线高盘,0.0,0),COLORGREEN;

STICKLINE(DEA3<DEA3B,短线收盘,短线开盘,3,1),COLORGREEN;

大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标