以下是通达信新RSI,有板块排名公式副图源码(无源码的请下载附件导入)
强势股支撑线:40,COLORYELLOW;
弱股支撑线:30,COLORWHITE;
强势股压力线:70,COLORRED;
弱股压力线:60,COLORFF00FF;
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,LINETHICK2,COLOR00FF00;
IF(RSI>REF(RSI,1),RSI,DRAWNULL),LINETHICK2,COLORRED;
市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
股本:(FINANCE(7)/100000000),NODRAW,COLORWHITE;
流通:CAPITAL/1000000;
{板块排名}
TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=STRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));
1536344113.png
|