弱势区:20,LINETHICK2,COLORGREEN;
强弱分水岭:50,LINETHICK2,COLORWHITE;
强势区:80,LINETHICK2,COLORRED;
风险区:95,LINETHICK2,COLORLICYAN;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(V2,DATE),COLORYELLOW,NODRAW;
阻力:REFDATE(V3,DATE),COLORYELLOW,NODRAW;
主力:EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORRED,LINETHICK1;
走势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORYELLOW;
主力筹码集中度:WINNER(C)*100 ,COLORLIMAGENTA,LINETHICK1;
M:=60;
散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)) COLORGREEN,LINETHICK1,DOTLINE;
散户筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORLICYAN,LINETHICK1,DOTLINE;
主力换手率:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
市场总量:=MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;
筹码总量:=IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLORWHITE,LINETHICK1;
DRAWRECTREL(0,0,220,650,RGB(01,000,000));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.0,0, '主力:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.0,0,'%'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.0,0,主力),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.08,0, '走势:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.08,0,'%'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.08,0,走势),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.24,0, '主力换手率:'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.24,0, '%'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.24,0,主力换手率),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.32,0,'散户:'),COLORGRAY;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.32,0, '%'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.32,0,散户),COLORGRAY;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.40,0,'支撑:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.40,0, '¥'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.40,0,支撑),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.48,0,'阻力:'),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.48,0, '¥'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.04,0.48,0,阻力),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.0,0, '主力筹码集中度:'),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.0,0, ' %'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.0,0,主力筹码集中度),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.08,0, '主力控盘比率:'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.08,0, ' %'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.08,0,主力控盘比率),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.16,0, '主力筹码估算:'),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.16,0,' %'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.16,0,主力筹码估算),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.32,0, '散户套牢比率:'),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.32,0,' %'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.32,0,散户套牢比率),COLORLICYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,0.40,0, '散户筹码集中度:'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.40,0, ' %'),COLORLIGRAY;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.17,0.40,0,散户筹码集中度),COLORGREEN;