撑压互换主图指标 (源码)

2012-10-24 06:44:00来源:本站整理浏览:273

STICKLINE(C>=O,H,L,0,1),COLOR0000FF;
STICKLINE(C>O,C,O,2,0),COLOR000066;
STICKLINE(C>O,C,O,1.5,0),COLOR000088;
STICKLINE(C>O,C,O,1,0),COLOR0000AA;
STICKLINE(C>O,C,O,0,0),COLOR0000CC;
STICKLINE(C<O,H,L,0,1),COLORCYAN;
STICKLINE(O>=C,C,O,2,0),COLORFF8800;
STICKLINE(O>=C,C,O,1.5,0),COLORFFAA00;
STICKLINE(O>=C,C,O,1,0),COLORFFCC00;
STICKLINE(O>=C,C,O,0,0),COLORFFEE00;
{ gpxiazai.com 股票软件下载网_通达信股票指标公式}
ZT:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.009*100/REF(C,1)),2,0) AND C=H;
STICKLINE(ZT,H,L,0,0),COLORFF00FF;
STICKLINE(ZT,O,C,2,0),COLORFF00FF;
DT:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.009*100/REF(C,1)),2,0) AND C=L;
STICKLINE(DT,H,L,0,0),COLOR00EE00;
STICKLINE(DT,O,C,2,0),COLOR00EE00;
SP:=IF((C<100),C,(C/100));
DS:=INTPART(((4*(LOG(SP)/LOG(2)))+1));
H1:=((DS-1)/4);
支撑:IF((C>100),(POW(2,H1)*100),POW(2,H1)),POINTDOT,LINETHICK4,COLORBROWN;
DRAWTEXT(ISLASTBAR,支撑,'支撑'),COLOR0000EE;
压力:IF((C>100),(POW(2,(H1+(1/4)))*100),POW(2,(H1+(1/4)))),
POINTDOT,LINETHICK4,COLOR009900;
DRAWTEXT(ISLASTBAR,压力,'压力'),COLOREE0000;

通达信撑压互换主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式