当前位置:首页 > 通达信公式 > 内容

通达信波段高低点主图公式源码

作者:公式指标网   更新时间:2018-06-15   点击:

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.93,0.97,0,CODE),COLORWHITE;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.97,0,STKNAME),COLORCYAN;

MA5:MA(CLOSE,5),COLORWHITE,LINETHICK3;

波段高:(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*2.5+XMA(XMA(HIGH,60),60),COLORWHITE,LINETHICK2;

波段低:XMA(XMA(LOW,60),60)-(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*2.5,COLORWHITE,LINETHICK2;

通达信:(波段高+波段低)/2,DOTLINE,COLOR909090;

IF(波段高>=REF(波段高,1),波段高,DRAWNULL),COLOR000088,LINETHICK2;

IF(波段低>=REF(波段低,1),波段低,DRAWNULL),COLOR000088,LINETHICK2;

IF(波段高<=REF(波段高,1),波段高,DRAWNULL),COLOR008800,LINETHICK2;

IF(波段低<=REF(波段低,1),波段低,DRAWNULL),COLOR008800,LINETHICK2;

IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK4;

IF(MA5<=REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK3;

STICKLINE(REF(LOW,1)<波段低 AND CLOSE>波段低 AND 波段高>=REF(波段高,1) AND CLOSE>OPEN,CLOSE,OPEN,(-1),0),COLORYELLOW;

STICKLINE(REF(HIGH,1)>=波段高 AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN,CLOSE,OPEN,(-1),0),COLORFF6600;

DRAWTEXT_FIX(ISLASTBAR,0,0,0,FGBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,GNBLOCK);

DRAWICON(REF(LOW,1)<波段低 AND CLOSE>波段低 AND 波段高>=REF(波段高,1) AND CLOSE>OPEN,LOW,3);

DRAWICON(REF(HIGH,1)>=波段高 AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN,HIGH,4);

通达信波段高低点主图公式源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web