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

通达信源码:主升反线抢筹追涨+港资持股+跟庄做黑马

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

主升反线抢筹追涨:

M2:=EMA(C,2);

M18:=EMA(C,18);
Q:=EMA(VOL,13);
Y:=EMA(AMOUNT,13);
S:=((Y /Q) / 100);
X:=(((CLOSE -S) / S) * 100);
F:=((X < (0)) AND ZXNH);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
XQ:=F AND RSVV<VARB2-2;
买:=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2;
持股线:EMA(C,7),COLOR9F5F9F,LINETHICK2;
多空线: EMA(C,14),COLORGREEN,LINETHICK2;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
收阴买:=买 AND XQ ,STICK,COLORYELLOW,LINETHICK3;
DRAWTEXT(收阴买,L*0.98,'←快买'),COLORYELLOW;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
STICKLINE(持股线>多空线 AND 持股线>=REF(持股线,
1) AND 多空线>REF(多空线,1),持股线,多空线,0.3,0),COLORRED;
STICKLINE(持股线>多空线 AND 持股线<REF(持股线,
1) AND 多空线>=REF(多空线,1),持股线,多空线,0.3,0),COLORRED;
STICKLINE(持股线<多空线 AND 持股线<=REF(持股线,
1) AND 多空线<REF(多空线,1),持股线,多空线,0.3,0),COLORYELLOW;
STICKLINE(持股线<多空线 AND 持股线<=REF(持股线,
1) AND 多空线<REF(多空线,1),持股线,多空线,0.3,0),COLORYELLOW;
A:=MAX(MA(C,60),MA(C,120));
E:=MAX(MA(C,45),MA(C,90));
J:=MAX(MA(C,30),MA(C,60));
生命线:=(MA(C,25));
牛线1:=(MA(C,40));
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
趋势:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
年线:=EMA(C,250);
黄金线:EMA(C,55),COLORFA05FF,LINETHICK2;
IF(黄金线>=REF( 黄金线,1),黄金线,DRAWNULL),COLORFA05FF,LINETHICK2;
IF(黄金线<REF (黄金线,1), 黄金线,DRAWNULL),COLOR399C7F,LINETHICK2;
LA:=趋势-(EMA(C,3)-趋势);
反线:=EMA((年线-(EMA(C,3)-年线)),5);
追涨:=EMA(COST(81),10);
YC5:=PPART(5)*100;
YC100:=PPART(100)*100;
C85:=COST(85);
C15:=COST(15);
B1:=C85-C15;
B2:=(C85+C15)/2;
牛熊线:=EMA(COST(27),120),DOTLINE;
做空68:= HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5);
平衡点:= LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3);
XG:=CROSS(做空68,牛熊线);
B3:=B1/B2*100<15 AND YC5>90 AND YC100<15;
ZF:=RANGE((C-REF(C,1))/REF(C,1)*100,-3,3) AND M5>=REF(M5,1);
XG1:=EVERY(ZF,3) AND M10>=M20 AND B3 AND M5>M60 AND ASR>80;
WWW58188COM:=EMA(CLOSE,9)-EMA(CLOSE,2*9+2),NODRAW;
STICKLINE(CROSS(XG1,0.5),C,O,1.8,0),COLORLIMAGENTA;
STICKLINE(CROSS(XG1,0.5),H,L,0,0),COLORLIMAGENTA;
DRAWTEXT(CROSS(XG1,0.5),L*0.98,'←抢筹'),COLORYELLOW;




港资持股:

香港的外资资金持股很多都是打牛股,(顶尖财经 股票学院: www.58188.com)

 
用法:通达信软件,点击左上角的“系统”,再点击其下菜单里的“专业财务数据”,记得每天下载更新这个数据。


NOTEXT曲线:GPJYVALUE(6,1,1),COLORFFFF00;
IF((GPJYVALUE(6,1,1)/FINANCE(7))>0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORRED;
IF((GPJYVALUE(6,1,1)/FINANCE(7))=0,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORWHITE;
IF((GPJYVALUE(6,1,1)/FINANCE(7))>0 AND (GPJYVALUE(6,1,1)/FINANCE(7))<0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORCYAN;
持股量:GPJYVALUE(6,1,1)/10000,COLORLIBLUE;
万股:DRAWNULL;
占流通比:(GPJYVALUE(6,1,1)/FINANCE(7))*100,NODRAW;
占总股比:(GPJYVALUE(6,1,1)/FINANCE(1))*100,NODRAW;
增减万股:(GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1))/10000;
增减:=GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1);
IF(增减<0,增减,DRAWNULL),STICK,LINETHICK4,COLORCYAN;
IF(增减=0,增减,DRAWNULL),STICK,LINETHICK4,COLORWHITE;
IF(增减>0,增减,DRAWNULL),STICK,LINETHICK4,COLORRED;




跟庄做黑马 没未来函数:

个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;   
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;   
STICKLINE(个股>=大盘,个股,大盘,1,0),COLORRED;   
STICKLINE(个股<大盘,个股,大盘,1,0),COLORBLUE;   
STICKLINE(个股>=大盘,0,大盘,6,0),COLORYELLOW;   
STICKLINE(个股<大盘,0,个股,6,0),COLORYELLOW;   
短线反弹:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;   
DRAWTEXT(CROSS(个股,9),40,'短线反弹!'),COLOR00FF00;   
VAR1:=EMA(CLOSE,3);   
VAR2:=EMA(CLOSE,21);   
VAR3:=BARSLAST(CROSS(VAR2,VAR1))>15;   
VAR4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;   
VAR5:=CROSS(VAR1,VAR2)  AND VAR4 AND VAR3;   
黑马:IF(VAR5,80,0),STICK,LINETHICK4,COLORF00FF0;   
DRAWTEXT(VAR5,70,'黑马!'),COLORF00FF0;

上一篇:通达信源码:自用周线KDJ+KDJ提前金叉+稳赢股票池

下一篇:通达信源码:压力支撑回马枪+阴阳太极+长阴短柱