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