{股性评价}
GGJJ:=(CLOSE-REF(C,1))/REF(C,1);
DYDP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
GDC:=(GGJJ-DYDP)*100;
股性廿日:((CLOSE-REF(C,20))/REF(C,20)-(INDEXC-REF(INDEXC,20))/REF(INDEXC,20))*100,COLORWHITE,LINETHICK3;
DRAWBAND(股性廿日,RGB(80,0,0),0,RGB(0,50,0));
股性五日:((CLOSE-REF(C,5))/REF(C,5)-(INDEXC-REF(INDEXC,5))/REF(INDEXC,5))*100,COLORYELLOW,LINETHICK2;
股性十日:((CLOSE-REF(C,10))/REF(C,10)-(INDEXC-REF(INDEXC,10))/REF(INDEXC,10))*100,COLORRED,LINETHICK2;
股性60日:((CLOSE-REF(C,60))/REF(C,60)-(INDEXC-REF(INDEXC,60))/REF(INDEXC,60))*100,COLORMAGENTA;
STICKLINE(GDC 0,0,GDC,3,0),COLORRED;
STICKLINE(GDC 0,0,GDC,3,0),COLORGREEN;
个股涨幅:(CLOSE-REF(C,1))/REF(C,1)*100,COLORRED,NODRAW;
对应大盘涨幅:(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100,NODRAW;{对应}
换手率:VOL/CAPITAL*100,COLORWHITE,NODRAW;
预测换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,换手率*240/FROMOPEN,DRAWNULL),COLORMAGENTA,NODRAW;
日量比:V/REF(MA(V,5),1),NODRAW,COLORWHITE;
量比:DYNAINFO(17),NODRAW,COLORWHITE;
个股振幅:=(H-L)/L*100;
大盘振幅:=(INDEXH-INDEXL)/INDEXL*100;
今日波幅:=100*(DYNAINFO(5)-DYNAINFO(6))/DYNAINFO(6);
今日价差:=DYNAINFO(5)-DYNAINFO(6);
DRAWTEXT_FIX(1,0.000,0.000,0,STRCAT(STRCAT('今日个股振幅: ',CON2STR(今日波幅,2)),' %')),COLORWHITE;
DRAWTEXT_FIX(1,0.120,0.000,0,STRCAT(STRCAT('今日个股高低价差: ',CON2STR(今日价差,2)),' 元')),COLORWHITE;
DRAWTEXT_FIX(1,0.260,0.000,0,STRCAT(STRCAT('今日大盘振幅: ',CON2STR(大盘振幅,2)),' %')),COLORWHITE;
DRAWTEXT_FIX(1,0.380,0.000,0,STRCAT(STRCAT('大盘总上涨家数: ',CON2STR(DYNAINFO(60),0)),' 家')),COLORRED;
DRAWTEXT_FIX(1,0.520,0.000,0,STRCAT(STRCAT('大盘总下跌家数: ',CON2STR(DYNAINFO(61),0)),' 家')),COLORGREEN;
DRAWTEXT_FIX(1,0.660,0.000,0,STRCAT(STRCAT('对应上涨家数: ',CON2STR(INDEXADV,0)),' 家')),COLORRED;
DRAWTEXT_FIX(1,0.800,0.000,0,STRCAT(STRCAT('对应下跌家数: ',CON2STR(INDEXDEC,0)),' 家')),COLORGREEN;
DRAWTEXT_FIX(C 0,0,0.08,0,'(【对应、大盘总】:1.对应,是专指个股与对应大盘的关系。对应大盘是指上证指数、深圳成指、中小盘指和创业板指;港股则是恒生指数。2.大盘总,是指沪深大盘总的上涨或下跌家数。)'),COLORWHITE;
DRAWTEXT_FIX(C 0,0,0.16,0,'(【柱状图、曲线】:1.柱状图,表示当日的股性,即个股与对应大盘对比的强弱。2.曲线,表示不同时间段个股的股性,即强弱。)'),COLORWHITE;