小庞主力强牛 小庞双隧道 只做擒牛波段 通达信主图/副图指标 源码 贴图

2021-08-03 10:03:00来源:本站整理浏览:872

依据vegas双隧道中期牛熊线走势,结合股票走牛特征(股价站上20均线走小牛、站上60日均线走大牛),再定义所有走牛股票必须vegas中期趋势向上(144日蓝线大于169日绿线)。当所选股票走势符合如此特征,即20日、60日都在vegas线之上,当20日线向上变红半仓、60日线变品红加三成仓位操作。一旦20日线拐头向下变灰或者60日线变绿立即减仓或者清仓。一般长线牛股当股价回调跌破60日线会在vegas线上获得支撑,可以考虑低仓位操底机会。


小庞主力强牛源码:

A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
进:STICKLINE(((B-B1)*1500/B)>=0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORRED;
出:STICKLINE(((B-B1)*1500/B)<0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORGREEN;
主力突破:(B-B1)*1500/B COLORRED,NODRAW;
100;{www.gpxiazai.com}
XG:主力突破>100;
DRAWICON(主力突破>100 AND NOT(L=H)AND 主力突破>REF(主力突破,1) ,主力突破,24);

N:=8;
M:=13;
P:=60;
S:=3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
超大主力吃: IF(V4>=0,V4,0),COLORYELLOW,LINETHICK3;
超大主力吐: IF(V4<=0,V4,0),COLOR66FF00,LINETHICK3;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
超大主力吃线:28,COLORFF80FF,LINETHICK3;



买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFFF000;
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORFFF000;
M60:MA(C,60),COLORGREEN,LINETHICK2;
上扬M60:=M60>=REF(M60,1);
下降M60:=M60<REF(M60,1);
M60上:IF(上扬M60,M60,DRAWNULL),COLORMAGENTA,LINETHICK2;
M20:MA(C,20),COLORGRAY,LINETHICK2;
上扬M20:=M20>=REF(M20,1);
下降M20:=M20<REF(M20,1);
M20上:IF(上扬M20,M20,DRAWNULL),COLORRED,LINETHICK2;
MA144:EMA(CLOSE,144),LINETHICK1,DOTLINE,COLORBLUE,LINETHICK1;
MA169:EMA(CLOSE,169),LINETHICK1,DOTLINE,COLORGREEN,LINETHICK1;
DRAWTEXT_FIX(1,0,0.00,0,'地区: '),COLORYELLOW;DRAWTEXT_FIX(1,0.03,0.00,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.10,0.00,0,'行业: '),COLORYELLOW;DRAWTEXT_FIX(1,0.13,0.00,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.20,0.00,0,'概念: '),COLORYELLOW;DRAWTEXT_FIX(1,0.23,0.00,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.07,0,'主营同比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.05,0.07,0,CONST(FINANCE(44))),COLORYELLOW;
DRAWTEXT_FIX(1,0.10,0.07,0,'毛利率:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.14,0.07,0,CONST((FINANCE(20)-FINANCE(21))/FINANCE(20))*100),COLORYELLOW;
DRAWTEXT_FIX(1,0.20,0.07,0,'净益率:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.24,0.07,0,CONST(FINANCE(30)/FINANCE(19)*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.07,0,'净利同比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.34,0.07,0,CONST(FINANCE(43))),COLORYELLOW;
DRAWTEXT_FIX(1,0.40,0.07,0,'净利润:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.44,0.07,0,CONST(FINANCE(30)/10000)),COLORYELLOW;
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营业增长率:=FINANCE(44);
净利润增长率:=FINANCE(43);
每股收益:=CONST(FINANCE(38));
每股净资产:=CONST(FINANCE(34));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
流通市值:=ROUND(FINANCE(40)/100000000);
A股流通:=FINANCE(7)/100000000;
市盈率:=DYNAINFO(39);
内外比:=DYNAINFO(51);
量比:=DYNAINFO(17);
成交方向:=DYNAINFO(40);
主动买单:=ISBUYORDER;
均价:=DYNAINFO(11);
PEG指标:=DYNAINFO(39)/FINANCE(43);
市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
现价:=DYNAINFO(7);
振幅:=DYNAINFO(13)*100;
区间成本:=COSTEX(CLOSE,REF(CLOSE,BARSCOUNT(C)-1));
昨收盘价:=DYNAINFO(3);
今开盘价:=DYNAINFO(4);
ER1:=净资收益率>3;
ER12:=净资收益率>0.01 AND 净资收益率<=3;
ER2:=主营利润率>2;
ER22:=主营利润率>0;
ER4:=主营业增长率>1;
ER42:=主营业增长率>0;
ER5:=净利润增长率>2;
ER52:=净利润增长率>0.2;
SAX1:=每股收益>0.01;
SAX12:= 每股收益>0.001;
SAX2:=每股净资产>2;
SAX22:=每股净资产>0.01;
SAX4:=每股未分配>0.5;
SAX42:=每股未分配>0.001;
SAX5:=每股公积金>0.5;
SAX52:=每股公积金>0.002;
优秀:=ER1 AND ER2 AND ER4 AND ER5 AND SAX1 AND SAX2
AND SAX4 AND SAX5,COLORRED;
较好:=ER12 AND ER22 AND ER42 AND ER52 AND SAX12 AND SAX22
AND SAX42 AND SAX52,COLORMAGENTA;
DRAWTEXT_FIX(优秀 AND 较好=0,0.645,0.01,0,'基本面:优秀!'),COLORRED;
DRAWTEXT_FIX(较好,0.645,0.06,0,'基本面:较好!'),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.00,0,'地区: '),COLORYELLOW;DRAWTEXT_FIX(1,0.03,0.00,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.10,0.00,0,'行业: '),COLORYELLOW;DRAWTEXT_FIX(1,0.13,0.00,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.20,0.00,0,'概念: '),COLORYELLOW;DRAWTEXT_FIX(1,0.23,0.00,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.07,0,'主营同比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.05,0.07,0,CONST(FINANCE(44))),COLORYELLOW;
DRAWTEXT_FIX(1,0.10,0.07,0,'毛利率:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.14,0.07,0,CONST((FINANCE(20)-FINANCE(21))/FINANCE(20))*100),COLORYELLOW;{www.gpxiazai.com}
DRAWTEXT_FIX(1,0.20,0.07,0,'净益率:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.24,0.07,0,CONST(FINANCE(30)/FINANCE(19)*100)),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.07,0,'净利同比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.34,0.07,0,CONST(FINANCE(43))),COLORYELLOW;
DRAWTEXT_FIX(1,0.40,0.07,0,'净利润:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.44,0.07,0,CONST(FINANCE(30)/10000)),COLORYELLOW;
主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW,LINETHICK0;
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:=主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.13,0,'■ 主力筹码估算:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.11,0.13,0,' %'),COLORMAGENTA;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.08,0.13,0,主力筹码估算),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.20,0.13,0,'■ 主力控盘比率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.31,0.13,0,' %'),COLORMAGENTA;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.28,0.13,0,主力控盘比率),COLORMAGENTA;
LC:=REF(CLOSE,1);
WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
获利筹码:=CONST(WINNER(C)*100);
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和:=(IF(SAT>1,1,SAT)*100);
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;
活跃:=(WRSI-WR10);
活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));
DRAWTEXT_FIX(1,0.0,0.18,0,STRCAT(STRCAT('量能饱和: ',CON2STR(量能饱和,2)),'%')),COLORRED;
DRAWTEXT_FIX(1,0.12,0.18,0,STRCAT(STRCAT('活跃度比: ',CON2STR(活跃度比,2)),'%')),COLORRED;
DRAWTEXT_FIX(1,0.24,0.18,0,STRCAT(STRCAT('获利筹码: ',CON2STR(获利筹码,2)),'%')),COLORMAGENTA;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式