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

通达信源码:宝宝强势涨停,打板指标公式来了,今日交易

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

1、宝宝强势涨停,追涨公式

{宝宝强势涨停}
 
ST:=IF(NAMELIKE('S'),0,1);
XXG:=IF(NAMELIKE('*'),0,1);
TP:=DYNAINFO(4)>0;
XIAO:=FINANCE(7)<=6000000000;
YZ:=C/REF(C,1)>1.0975 AND H=O;
LTGB:=ST AND XXG AND TP AND XIAO AND NOT(YZ);
XA_1:=IF(CLOSE>OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
XA_2:=IF(CLOSE>OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
XA_3:=IF(CLOSE>OPEN AND HIGH=REF(CLOSE,1),0,0);
XA_4:=IF(CLOSE<OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
XA_5:=IF(CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
XA_6B:=IF(CLOSE<OPEN AND HIGH=REF(CLOSE,1),0,0);
XA_6C:=HIGH-REF(HIGH,1);
XA_6D:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),15);
XA_6F:=REF(LOW,1)-LOW;
XA_28:=MA(CLOSE,20);
XA_29:=MA(CLOSE,40);
XA_30:=MA(CLOSE,60);
XA_6G:=EXPMEMA(IF(XA_6C>0&&XA_6C>XA_6F,XA_6C,0),15);
XA_6H:=OPEN<XA_28 OR OPEN<XA_29 OR OPEN<XA_30;
XA_7:=XA_1+XA_2+XA_3+XA_4+XA_5+XA_6B;
XA_8:=MA(XA_7,9);
XA_9:=MA(XA_7,5);
XA_10:=MA(XA_7,3);
XA_21:=ATAN(XA_8/0.09);
XA_22:=ATAN(XA_9/0.05);
XA_23:=ATAN(XA_10/0.03);
XA_27:=C/REF(C,1)>1.028 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
XG1:=FILTER(XA_27,28);
XGG:=(XA_23+XA_22+XA_21)/3/6.28*360>30;
A12:=C>MAX(XA_28,MAX(XA_29,XA_30));
A13:=V/MA(V,30)>1.2;
A14:=C/REF(C,1)>1.029;
XG2:=XGG-REF(XGG,1)>0 AND XGG;
XG8:=XA_6H AND A12 AND A13 AND A14;
AA06:=ATAN((HIGH-REF(HIGH,1))/REF(HIGH,1)/0.1)/6.28*360;
AA07:=ATAN((LOW-REF(LOW,1))/REF(LOW,1)/0.1)/6.28*360;
AA08:=ATAN((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)/0.1)/6.28*360;
AA09:=ATAN((OPEN-REF(OPEN,1))/REF(OPEN,1)/0.1)/6.28*360;
B:=MAX(MAX(MAX(AA08,AA09),AA06),AA07);
T1:=FINDHIGH(B,1,3,1);
T2:=FINDHIGH(B,1,3,2);
Y:=BARSCOUNT(T1)<BARSCOUNT(T2);
W1:=IF(Y,T1,0);
W2:=IF(Y,T2,0);
N1:=W1-W2;
XG66:=MA(REF(T1+N1,1),5);
XG6:=XG66-REF(XG66,1)>0;
XG77:=XA_6G*100/XA_6D;
XG7:=XG77-REF(XG77,1)>0;
XG:XG1 AND XG2 AND LTGB AND XG6 AND XG7 AND XG8;



2、打板指标公式来了

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR0000EE;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),COLORRED;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,3,0),COLOREEEE00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,1,0),COLORCYAN;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE/REF(CLOSE,1)>1.05,(CLOSE+OPEN)/2,CLOSE,3,0),COLOR00EEEE;
STICKLINE(CLOSE/REF(CLOSE,1)>1.05,(CLOSE+OPEN)/2,CLOSE,1,0),COLORYELLOW;
XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(XA_1<=(-4),(CLOSE+OPEN)/2,CLOSE,3,0),COLOREE0000;
STICKLINE(XA_1<=(-4),(CLOSE+OPEN)/2,CLOSE,1,0),COLORBLUE;
M30:MA(CLOSE,30),COLORMAGENTA;
顶:COST(95)*1,COLORRED,LINETHICK2;
XA_2:=(2*CLOSE+HIGH+LOW)/4;
底:EMA(XA_2,99)*0.91,COLORGREEN,LINETHICK2;



3、今日交易( 顶尖财经 股票学院: http://58188.com )

最新:C,COLORFFFF00,LINETHICK1;

 IF(C>=REF(C,1),C,DRAWNULL),COLOR0000FF,LINETHICK1;
 AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
 BB:=BETWEEN(C/AA,C+H,C-H);
 DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
 DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);
Q:=(3*CLOSE+LOW+OPEN+HIGH)/6;
操盘线:(26*Q+25*REF(Q,1)+24*REF(Q,2)+23*REF(Q,3)+22*REF(Q,4)+21*REF(Q,5)
 +20*REF(Q,6)+19*REF(Q,7)+18*REF(Q,8)+17*REF(Q,9)+16*REF(Q,10)+15*REF(Q,11)+14*REF(Q,12)+13*REF(Q,13)+12*REF(Q,14)+11*REF(Q,15)
 +10*REF(Q,16)+9*REF(Q,17)+8*REF(Q,18)+7*REF(Q,19)+6*REF(Q,20)+5*REF(Q,21)+4*REF(Q,22)+3*REF(Q,23)+2*REF(Q,24)+REF(Q,26))/351,COLOR5B5BFF,NODRAW;
空头线:=EMA(操盘线,7);
DRAWBAND(操盘线,RGB(498,0,0),空头线,RGB(0,188,198));
关键点位:(REF(H,1)+REF(L,1)+REF(C,1))/3,NODRAW,COLOR8080FF;
 
阻力:2*关键点位-REF(L,1),NODRAW;
 
压力:MA(REF(HHV(C,30),1),2),NODRAW,COLOR7DA8FF,LINETHICK1;
支撑:MA(REF(LLV(C,30),1),2),NODRAW,COLOR00EAEA,LINETHICK1;  
HH:=CONST(HHV(C,0));
HH*1.05,COLORBLACK;
LL:=CONST(LLV(C,0));
LL*0.9,COLORBLACK;
HL:=HH-LL;
顶:HH,NODRAW;
 
DRAWICON(C=HH,HH,45); 
DRAWICON(C=LL,LL,44);

上一篇:通达信源码:操盘线主图,市场人气副图,突破底部

下一篇:通达信源码:五日十日线,QMA5专用,小波段买卖