买好股公式网 > 股票公式 > 通达信公式 > 通达信红线波段主图指标

通达信红线波段主图指标

2019年01月27日 字体: 人气:

通达信红线波段主图指标


 


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

 


0% (0)
0% (10)

关于通达信红线波段主图指标的评论:

 以下是对 [通达信红线波段主图指标] 的评论,总共:0条评论
加入收藏 | 联系我们 | 免责声明 | 站内地图 | 关于我们