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

通达信源码:买卖特准,低位启动,见底飘红选股和副图

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

买卖特准:

提供低吸出击波段买入信号,还是可参考的

{买卖特准}

 
MA13:=MA(C,13);
MA34:=MA(C,34);
MA55:=MA(C,55);
VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/
(HHV(HIGH,21)-LLV(LOW,21))));
VAR2:=(100-((90*(HHV(HIGH,21)-CLOSE))/
(HHV(HIGH,21)-LLV(LOW,21))));
VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/
(HHV(HIGH,6)-LLV(LOW,6))),34));
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
低吸:=CROSS(RSI,11);
DRAWTEXT(低吸,L,'★'),COLORWHITE;
DRAWTEXT(低吸,L-0.05,'低吸'),COLORWHITE;
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'进 '),COLORFF00FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'出 '),COLOR3AFF00;
VAR7:=EMA(AMOUNT/VOL/100,3);
VAR8:=EMA(VAR7,88);
VAR9:=EMA(VAR7,88)*0.85;
VARA:=VAR9*0.87;
VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;
DRAWTEXT(FILTER(VARB,6),L-0.05,'坚决买进'),COLORFF00FF;
DRAWTEXT(FILTER(VARB,6),L,'★'),COLORFF00FF;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
分界线:MA(CLOSE,21),COLORYELLOW;
STICKLINE(C>=分界线 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=分界线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,O,5,1),COLORRED;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,
3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L,'★'),COLORYELLOW;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,
3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),L-0.05,'出击'),COLORYELLOW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,
5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,
11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,
15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;
STICKLINE(C>=分界线 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<分界线 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<分界线 AND C<=O,C,O,5,1),COLORFFFF00;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
STICKLINE(C<分界线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,O,L,0,1),COLORFFFF00;
DRAWTEXT(CROSS(D1,K1),L-0.05,'波段买入'),COLOR0099FF;




低位启动:

公式用法说明:
以2020-02-04大盘再次启动为基准,如现价低于2020-02-04开盘价,不论是否低开进行对比,
并且开盘后向上走作为判断依据,下面是源码,可以副图也可以用作选股。( 顶尖财经 股票学院: http://www.58188.com )

 
TS:=BARSLAST(DATE=1200204);
C<REF(O,TS) AND C>O;
 


见底飘红选股和副图:

A3:=EMA(MA(CLOSE,3),3);
A5:=EMA(MA(CLOSE,5),3);
A8:=EMA(MA(CLOSE,8),3);
A12:=EMA(MA(CLOSE,12),3);
A17:=EMA(MA(CLOSE,17),3);
A23:=EMA(MA(CLOSE,23),3);
www58188com:=EMA(MA(CLOSE,23),3);
B1:=BETWEEN(A3,H,LOW) AND BETWEEN(A5,H,LOW) AND BETWEEN(A8,H,LOW) AND BETWEEN(A12,H,LOW) AND BETWEEN(A17,H,LOW);
B2:=COUNT(A23<REF(A23,1),24)>=20;
B3:=DYNAINFO(37)>0.01;
B1 AND B2 AND B3;

上一篇:通达信源码:移动筹码3合1,T+0斩妖分时,分时抓板

下一篇:通达信源码:时间之窗彩图,九转序列王者,主力建仓