该指标是由无忧箱体改进而来,加入了股票所属行业,概念,板块和上市以来共多少涨停板,最后标出了半个箱体的幅度,以有利于使用者判断有无操作价值。这是主图指标,图中涨停,跌停用全红,全绿,超4%涨幅用黄色,超4%跌幅用蓝色,一目了然地发现主力运行的轨迹,如果再能配合筹码雷达那就能更加准确地捕捉到个股的启动。
当然,没有指标是万能的,炒股即炒心。在此也非常感谢无忧箱体的原创者。
无忧箱体
AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/
(HHV(HIGH,30)-LLV(LOW,30))*100,8);
BA:=EMA(AB,5);
A1{高}:=REFDATE(REF(HHV(H,96),5),DATE);
B1{低}:=REFDATE(REF(LLV(L,96),5),DATE);
D{中}:=((A1)+(B1))/2;
五:MA(C,5)LINETHICK2,COLOR00FFFF;
二O:EMA(C,20),COLORMAGENTA;
空仓:IF(AB-BA<0,五,DRAWNULL),LINETHICK2,COLOR00FFFF;
持仓:IF(AB-BA>0,五,DRAWNULL),,LINETHICK2,COLORRED;
箱顶:IF(AB>0 AND AB-BA<=0,A1,A1),LINETHICK3,COLOR00FF00;
箱腰:IF(AB>0 AND AB-BA<=0,D,D),LINETHICK3,COLOR00FF00;
箱底:IF(AB>0 AND AB-BA<=0,B1,B1),LINETHICK3,COLOR00FF00;
高1:IF(AB>0 AND AB-BA>0,A1,DRAWNULL),LINETHICK3,COLORRED;
中1:IF(AB>0 AND AB-BA>0,D,DRAWNULL),LINETHICK3,COLORRED;
低1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK3,COLORRED;
C2:=REF(C,1);
涨停1:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
STICKLINE(VAR2 < MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(VAR2 > MA(VAR3,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(((OPEN>CLOSE)AND(VAR2
STICKLINE(((OPEN
DRAWTEXT_FIX(ISLASTBAR,0,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>4 ,C,O,1,0),COLORYELLOW;
STICKLINE(ZDF<-4,C,O,1,0),COLORBLUE;
STICKLINE(ZDF>9.0 AND C=H,O,C,1,0),COLORRED;
STICKLINE(ZDF<-9.0 AND C=L,O,C,1,0),COLORGREEN;
C21:=REF(C,1);
非ST涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
涨停:=非ST涨停;
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);
DRAWNUMBER(非ST涨停,HIGH*1.04,NUMBER),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0,0,NUMBER),COLORLIRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.80,0,0,'上市以来共涨停'),COLORLIRED;
U:=(A1-D)/D*100;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.62,0,0,'半箱幅度'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.72,0,0,U),COLORYELLOW;