当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:换手率多彩,陆家嘴谷神主力控盘,非妖不买和涨停妖

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、换手率多彩,不同颜色代表意思不同

{换手率多彩}
换手:VOL/CAPITAL*100,NODRAW;
低换手小于2:换手<2,COLORFFFF00,NODRAW;
温和换手2到5:换手>2 AND 换手<5,COLORMAGENTA,NODRAW;
热换手5到11:换手>5 AND 换手<11,COLORYELLOW,NODRAW;
烫手换手11到17:换手>11 AND 换手<17,COLORRED,NODRAW;
高潮换手大于17:换手>17,COLORGREEN,NODRAW;
五日均换手:MA(换手,5);
十日均换手:MA(换手,10);
STICKLINE(换手<2,0,换手,2.3,0),COLORFF4400;
STICKLINE(换手<2,0,换手,1.8,0),COLORFF6600;
STICKLINE(换手<2,0,换手,1.3,0),COLORFF9900;
STICKLINE(换手<2,0,换手,0.6,0),COLORFFCC00;
STICKLINE(换手<2,0,换手,0.3,0),COLORGREEN;
STICKLINE(换手>2 AND 换手<5,0,换手,2.3,0)COLORFF0033;
STICKLINE(换手>2 AND 换手<5,0,换手,1.8,0)COLORFF0066;
STICKLINE(换手>2 AND 换手<5,0,换手,1.2,0)COLORFF0099;
STICKLINE(换手>2 AND 换手<5,0,换手,0.6,0)COLORFF00CC;
STICKLINE(换手>2 AND 换手<5,0,换手,0.3,0)COLORFF00FF;
STICKLINE(换手>5 AND 换手<11,0,换手,2.3,0)COLOR0035FF;
STICKLINE(换手>5 AND 换手<11,0,换手,1.8,0)COLOR0064FF;
STICKLINE(换手>5 AND 换手<11,0,换手,1.3,0)COLOR0093FF;
STICKLINE(换手>5 AND 换手<11,0,换手,0.8,0)COLOR00C2FF;
STICKLINE(换手>5 AND 换手<11,0,换手,0.3,0)COLOR00FFFF;
STICKLINE(换手>11 AND 换手<17,0,换手,2.3,0),COLOR000055;
STICKLINE(换手>11 AND 换手<17,0,换手,2,0),COLOR000077;
STICKLINE(换手>11 AND 换手<17,0,换手,1.8,0),COLOR000099;
STICKLINE(换手>11 AND 换手<17,0,换手,1.5,0),COLOR0000BB;
STICKLINE(换手>11 AND 换手<17,0,换手,0.9,0),COLOR0000DD;
STICKLINE(换手>11 AND 换手<17,0,换手,0.3,0),COLOR0000FF;
STICKLINE(换手>17,0,换手,2.3,0),COLOR006000;
STICKLINE(换手>17,0,换手,2.1,0),COLOR007500;
STICKLINE(换手>17,0,换手,1.8,0),COLOR009100;
STICKLINE(换手>17,0,换手,1.3,0),COLOR00A600;
STICKLINE(换手>17,0,换手,0.8,0),COLOR00BB00;
STICKLINE(换手>17,0,换手,0.3,0),COLOR00CC00;
DRAWICON(换手>25,换手,15);



2、陆家嘴谷神主力控盘

{陆家嘴谷神主力控盘}
B1:=(HHV(H,12)-C)/(HHV(H,12)-LLV(LOW,12))*100- 38;
B2:=SMA(B1,12,1)+100;
B3:=(C-LLV(L,12))/(HHV(H,12)- LLV(L,12))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盘程度:(IF(B6>11,B6-1,0)),COLORYELLOW,NODRAW;
控盘度:=50,COLORRED;
STICKLINE( 控盘程度,0,控盘程度 ,2,0 ),COLORA05858;
STICKLINE( 控盘程度 AND 控盘程度>50,50,控盘程度 ,2,0 ),COLORRED;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,3,0 ),COLORBLUE;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度<50,控盘程度,0,3,0 ),COLORCYAN;
STICKLINE( 控盘程度<REF(控盘程度,1) AND 控盘程度>50,控盘程度,50,0.3,0 ),COLORGREEN;
PVAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); 
PVAR2:=SMA(ABS(LOW-PVAR1),13,1)/SMA(MAX(LOW-PVAR1,0),10,1); 
PVAR3:=EMA(PVAR2,10);
PVAR4:=LLV(LOW,33);
PVAR5:=EMA(IF(LOW<=PVAR4,PVAR3,0),3);
主力进场:IF(PVAR5>REF(PVAR5,1),PVAR5,0),COLORRED,LINETHICK1;
STICKLINE(PVAR5>REF(PVAR5,1),0,PVAR5,3,0 ),COLORRED;
主力洗盘:IF(PVAR5<REF(PVAR5,1),PVAR5,0),COLORGREEN,LINETHICK1;
STICKLINE(PVAR5<REF(PVAR5,1),0,PVAR5,3,0),COLORGREEN; 
ATR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1); 
LD := REF(LOW,1)-LOW; 
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14); 
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14); 
PDI:=DMP*100/ATR; 
MDI:=DMM*100/ATR;0; 
持币:=PDI-MDI;
WWW58188COM:=(持币<0),COLORGREEN;
持股区:IF(持币>0,持币,0),COLORMAGENTA, LINETHICK2;
(IF(主力洗盘>0.01 AND 主力洗盘<0.05,70,0)),LINETHICK2;
DRAWTEXT(FILTER((IF(主力洗盘>0.01 AND 主力洗盘<0.05,58,0))=58,9),60,'洗盘即将结束'),COLORRED;
VAR51:=3;
VAR52:=(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));
准备启动:=CROSS(VAR52,VAR51),STICK,COLORRED;
DRAWICON(准备启动>0,-8,34);
PLOWV:=LLV(LOW,17);
PHIGHV:=HHV(HIGH,17);
偏RSV:=EMA((CLOSE-PLOWV)/(PHIGHV-PLOWV)*100,6);
偏K:=EMA(偏RSV,3),COLORCYAN;
偏D:=MA(偏K,3),COLORBROWN;
P:=(C-MA(C,5))*100/MA(C,5);
偏5线:IF(P>0,P,0),COLORYELLOW,NODRAW;
超买:IF(偏K>=79,偏K,110),DOTLINE,COLORGREEN,LINETHICK2;
危险:IF(偏K>=90,偏K,110),DOTLINE,COLORRED;
超卖:IF(偏K<15,-偏K,0),DOTLINE,COLORRED,LINETHICK2;
TJ1:=((C-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22)))*110;
TJF:=SMA(TJ1,10,2);
TJFF:=SMA(TJ1,17,3);
DRAWBAND(TJF,RGB(250,110,110),TJFF,RGB(10,250,10));
日K:=("KDJ.K"(27,6,4)),COLORWHITE;
日D:=("KDJ.D"(27,6,4)),COLORWHITE,LINETHICK2;
STICKLINE( 控盘程度=0 AND 日K<日D,0,3,3,1 ),COLORCYAN;
GVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; 
GVAR2:=SMA(GVAR1,3,1); 
GVAR3:=SMA(GVAR2,3,1); 
GVAR4:=SMA(GVAR3,3,1); 
BBBB:=GVAR3; 
GAA:=LLV(LOW,36); 
GBB:=HHV(HIGH,20); 
GDD:=(EMA(((CLOSE-GAA)/(GBB-GAA))*(4),4))*(25); 
GSSS:=GDD*0.93,COLOR0000FF,LINETHICK2,COLORGREEN; 
AZ:=CROSS(GSSS,BBBB) AND BBBB<25;
AZ1:=CROSS(BBBB,GSSS) AND BBBB<100 ;
DRAWTEXT(AZ,BBBB,'低买'),COLORYELLOW;
DRAWTEXT(AZ1 AND 日K>75,100,'卖出'),COLORWHITE;



3、非妖不买和涨停妖,非妖不干,不妖不参与

经过不停在测试妖股,组合两个公式来捉妖的,选股+主图。
选股出的信号主图上显示黄色K线;
 
选股方法:可以直接开条件预警,盘中信号出来看得更直观,跑不掉;
 
既然捉妖铁的纪律是“非妖不干”,不妖不参与,选出来的股票一般多一条命,失败信号也有;
选出来的票也不多,今天就10来只吧,有的是一次性信号,有的是持续性信号,主图副图看的很清楚;
如果抓住了大妖股多恭喜你;( 股 民 学 院 : http://www.58188.net )
没抓住次日逢高卖一般小赚而已;
 
软件有个历史涨跌停我找前几天涨停票,仔细测试过了,大家也可以去各种妖股牛股上测试;
失败信号:即便不是妖股,次日只要逢高卖亏损几率不大的;
看图说话,今天的,曾经的,去年的都测试过了。
 
 
{非妖不买}
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:=MA(C,120);
MA200:=MA(C,200);
MA300:=MA(C,300);
VAR1:=MA5>MA300;
VAR2:=MA200>MA300;
VAR3:=MA120>MA200;
VAR4:=MA60>MA120;
VAR5:=MA30>MA60;
VAR6:=MA20>MA30;
VAR7:=MA10>MA20;
VAR8:=MA5>MA10;
VAT1:=MA10>REF(MA10,1);
VAT2:=MA20>REF(MA20,1);
VAT3:=MA30>REF(MA30,1);
VAT4:=MA60>REF(MA60,1);
VAT5:=MA120>REF(MA120,1);
VAT6:=MA200>REF(MA200,1);
VAT7:=MA300>REF(MA300,1);
VARB:=CLOSE-LLV(L,9);
VARBB:=HHV(H,9)-LLV(L,9);
VARBBB:=((CLOSE-LLV(L,9)+0.00001))/(HHV(H,9)-LLV(L,9))*100;
ZT:=C=ZTPRICE(REF(C,1),0.1) AND C=H;
ZT1:=C=ZTPRICE(REF(C,1),0.2) AND C=H;
VATA:=EMA(EMA(VARBBB,5),5); 
VATB:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8+VAT1+VAT2+VAT3+VAT4+VAT5+VAT6+VAT7,NODRAW;
AA:=VATA<80 AND VATB>=11 AND ZT AND LLV(L,20)<L;
STICKLINE(AA,O,C,-1,0),COLORYELLOW;
STICKLINE(AA,H,L,0,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.00,0,'买卖纪律,次日涨停持有;次日不奔涨停的非妖,不管小赚大赚都要卖掉;不妖绝不持有,连续信号的可加仓')COLORYELLOW;

 {涨停妖}

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA200:=MA(C,200);
MA300:=MA(C,300);
VAR1:=MA5>MA300;
VAR2:=MA200>MA300;
VAR3:=MA120>MA200;
VAR4:=MA60>MA120;
VAR5:=MA30>MA60;
VAR6:=MA20>MA30;
VAR7:=MA10>MA20;
VAR8:=MA5>MA10;
VAT1:=MA10>REF(MA10,1);
VAT2:=MA20>REF(MA20,1);
VAT3:=MA30>REF(MA30,1);
VAT4:=MA60>REF(MA60,1);
VAT5:=MA120>REF(MA120,1);
VAT6:=MA200>REF(MA200,1);
VAT7:=MA300>REF(MA300,1);
VARB:=CLOSE-LLV(L,9);
VARBB:=HHV(H,9)-LLV(L,9);
VARBBB:=((CLOSE-LLV(L,9)+0.00001))/(HHV(H,9)-LLV(L,9))*100;
ZT:=C=ZTPRICE(REF(C,1),0.1) AND C=H;
ZT1:=C=ZTPRICE(REF(C,1),0.2) AND C=H;
VATA:=EMA(EMA(VARBBB,5),5); 
VATB:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8+VAT1+VAT2+VAT3+VAT4+VAT5+VAT6+VAT7;
AA:VATA<80 AND VATB>=11 AND ZT AND LLV(L,20)<L,COLORYELLOW;

上一篇:通达信源码:金蕴扶摇,黄金分割线 自用纯K,黄蓝带升级版

下一篇:通达信源码:鳄鱼线新,超级OBV,回踩60