【资料名称】:强弱分析副图指标 通达信 贴图介绍【资料描述】:
强弱分析副图指标 通达信 贴图
CC:=INDEXC;
CB:=HY_INDEXC;
DPZ:=CC/REF(CC,1)*1/00-100;
DBZ:=CB/REF(CB,1)*1/00-100;
ZD:=C/REF(C,1)*1/00-100;
日:=ZD-DPZ;
日3:=SUM(日,3);
日5:=SUM(日,5);
日10:=SUM(日,10);
日20:=SUM(日,20);
日40:=SUM(日,40);
日60:=SUM(日,60);
日120:=SUM(日,120);
日250:=SUM(日,250);
股对大盘:(日+日3+日5+日10+日20+日40+日60+日120+日250)/9,NODRAW;
股对大盘力度:股对大盘-REF(股对大盘,1),NODRAW;
日B:=ZD-DBZ;
日B3:=SUM(日B,3);
日B5:=SUM(日B,5);
日B10:=SUM(日B,10);
日B20:=SUM(日B,20);
日B40:=SUM(日B,40);
日B60:=SUM(日B,60);
日B120:=SUM(日B,120);
日B250:=SUM(日B,250);
股对板块:(日B+日B3+日B5+日B10+日B20+日B40+日B60+日B120+日B250)/9,NODRAW;
股对板块力度:股对板块-REF(股对板块,1),NODRAW;
日C:=DBZ-DPZ;
日C3:=SUM(日C,3);
日C5:=SUM(日C,5);
日C10:=SUM(日C,10);
日C20:=SUM(日C,20);
日C40:=SUM(日C,40);
日C60:=SUM(日C,60);
日C120:=SUM(日C,120);
日C250:=SUM(日C,250);
板块对大盘:(日C+日C3+日C5+日C10+日C20+日C40+日C60+日C120+日C250)/9,NODRAW;
板块对大盘力度:板块对大盘-REF(板块对大盘,1),NODRAW;
股票强度:(股对大盘+股对板块+板块对大盘),COLORSTICK;
力度:(股票强度-REF(股票强度,1)),NODRAW;
上涨比例:100*HY_INDEXADV/(HY_INDEXADV+HY_INDEXDEC),NODRAW;
A股上涨比例:100*INDEXADV/(INDEXADV+INDEXDEC),NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 股对大盘>0,0.4,0,0.01,'强于大盘'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 股对板块>0,0.5,0,0.01,'强于板块'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 板块对大盘>0,0.6,0,0.01,'板块强'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 股对大盘<0,0.4,0,0.01,'弱于大盘'),COLOR737300;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 股对板块<0,0.5,0,0.01,'弱于板块'),COLOR737300;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 板块对大盘<0,0.6,0,0.01,'板块弱'),COLOR737300;
gd55768
【下载地址隐藏】: 点:回复可见地址