【通达信】三指擒妖公式指标/量能分析L2/尽抓强势股升级V2版
可以看出,什么都不看,甚至连K线都不看,仅看此指标,都可以分析出很好的买卖点位。这也是这么简单的测试一下,可见它比普通的量能要更加有用。
可以看出,什么都不看,甚至连K线都不看,仅看此指标,都可以分析出很好的买卖点位。这也是这么简单的测试一下,可见它比普通的量能要更加有用。
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/3)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);{延进公式网:WWW.6073168.COM}
B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL);
B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL);
B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL);
B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL);
B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL);
B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL);
B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);
B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL);
B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL);
B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL);
XG:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))>1,1,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)))*100,COLORGREEN,NODRAW;{(成交额/收盘价)/(20天内最高成交额/20天内最高收盘价)}
TMP:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力活跃度:=(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7)),NODRAW;
连续正跃度:=LAST(TMP>0,3,0),NODRAW;
多日正活跃:=SUM(IF(TMP>0,TMP,0),3)+SUM(IF(TMP<=0,TMP,0),3)>12000,NODRAW;
活跃度日比:主力活跃度/REF(主力活跃度,1),NODRAW,COLORRED;
NOTEXT主力:=WINNER(C)*1000,COLORRED;{红曲线,要显示曲线去掉等于号}
{DRAWTEXT(CURRBARSCOUNT<=3 AND REF(CURRBARSCOUNT<=3,1)=0,NOTEXT主力,'主筹'),COLORRED;}{要显示曲线去掉括号}
NOTEXT散户:=(WINNER(C*1.1)-WINNER(C*0.9))*1000,COLORD1FAFA;{黄曲线,要显示曲线去掉等于号}
{DRAWTEXT(CURRBARSCOUNT<=3 AND REF(CURRBARSCOUNT<=3,1)=0,NOTEXT散户,'散筹'),COLORD1FAFA;}{黄曲线,要显示曲线去掉括号}
主散筹码比:NOTEXT主力/NOTEXT散户,NODRAW,COLORCYAN;
主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),NODRAW,COLORYELLOW;
DRAWGBK_DIV((量能饱和度=100 AND (活跃度日比>5 OR 多日正活跃) AND 主散筹码比>1) OR XG,RGB(150,0,0),RGB(255,240,50),0,0);
STICKLINE(TMP>0,0,主力活跃度,2,0),COLORLIRED;
成交量:=VOL/100,VOLSTICK;
VAR1:=成交量/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),成交量/2)),NODRAW,COLORWHITE;
主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-成交量/2)),NODRAW,COLORYELLOW;
主动买入净额:=主买+主卖,NODRAW,COLORWHITE;
主持仓:=(EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3))*10,COLORFF00FF;{品曲线,要显示曲线去掉等于号}
{DRAWTEXT(CURRBARSCOUNT<=3 AND REF(CURRBARSCOUNT<=3,1)=0,主持仓,'主持仓'),COLORFF00FF;}{要显示曲线去掉括号}
地量:=成交量<LLV(成交量,14)*1.001;
主动买卖占比:(主买+主卖)*100/成交量,NODRAW,COLORYELLOW;
{主动买卖占比:IF(主买+主卖>0,(主买+主卖)*100/成交量,DRAWNULL),NODRAW,COLORYELLOW;}
主动买卖比:=ABS(主买/主卖),NODRAW,COLORYELLOW;
换手:VOL/CAPITAL*100,NODRAW,COLORRED;
换手55日:SUM(换手,55),NODRAW,COLORWHITE;
买卖差55日:=SUM(主动买入净额,55),NODRAW,COLORGRAY;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL/100,0,3.5,-1),COLOR00C0C0;{虚拟成交量}
中点:=REFDATE(HHV(EMA(主动买入净额,9),120),DATE)*2;
持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),NODRAW,COLORRED;
V2:=IF(CURRBARSCOUNT=1,成交量*240/FROMOPEN/REF(成交量,1)-1,成交量/REF(成交量,1)-1);
STICKLINE(成交量>0,成交量,0,3.5,0),COLORD1FAFA;{侧面白色柱}
STICKLINE(主买>0,-主卖,-主卖+主买,2.5,0),COLOR1A1AFF;{■主动性买入红量柱}
DRAWTEXT(ISLASTBAR AND 主买>0,(-主卖+主买)*1.03,'买'),COLOR1A1AFF;
STICKLINE(主卖<0,0,-主卖,2.5,0),COLOR6C5A58;{■主动性卖出灰量柱}
DRAWTEXT(ISLASTBAR AND 主卖<0,-主卖*1.07,'卖'),COLOR6C5A58;
DRAWTEXT(地量>0,V*0.01,'地'),COLORWHITE;
DRAWICON(量能饱和度=100,V/100,27);
DRAWICON((活跃度日比>5 OR 多日正活跃),V/110,26);
DRAWICON(主散筹码比>1,V/120,24);
STICKLINE(量能饱和度=100 AND (活跃度日比>5 OR 多日正活跃) AND 主散筹码比>1,V/95,V/90,4.5,0),COLOR1AC4E5;
DDX:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW,COLORWHITE;
DDY:IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0),NODRAW,COLORWHITE;
DDZ:IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0),NODRAW,COLORWHITE;{大单差分};
擒王1:(量能饱和度=100 AND (活跃度日比>5 OR 多日正活跃) AND 主散筹码比>1) OR XG,NODRAW,COLOR1AC4E5;
擒王:XG,NODRAW,COLOR1AC4E5;

