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

通达信源码:智勇出击大胜,抄底王和黑马拉升

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

智勇出击大胜:

买卖看字就可以,概率很大不是绝对的,请注意规避风险!
 

F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=今小前;//顶尖财经 股票学院: http://www.58188.com
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(A1 AND A2 ,0,3,3,0);colorgreen;
STICKLINE(A1 AND A2 ,0,1,3,0);colorblue;
STICKLINE(A1 AND A2 AND A3,0,5,3,0);coloryellow;
STICKLINE(A1 AND A2 AND A3,0,3,3,0);colorgreen;
STICKLINE(A1 AND A2 AND A3,0,1,3,0);colorred;
DRAWTEXT(A3=1,4.8,'买入!'),colorred;
智勇出击: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG
(3,6),2),colorred,LINETHICK2;
DRAWTEXT(智勇出击=1,0.8,'买入!'),colorred;
小获且退: ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG
(3,10),2),coloryellow,LINETHICK2;
DRAWTEXT(小获且退=1,1.3,'卖!'),coloryellow;
VAR3:=PEAKBARS(2,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
大胜且归:IF(顶>REF(顶,1),2,0),colorgreen,LINETHICK2;
DRAWTEXT(大胜且归=2,2,'卖!'),colorgreen;



抄底王和黑马拉升的选股指标:

 
金叉:=CROSS(EMA(C,1),EMA(C,3));
买入线:=10;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);{DCLOSE是未来函数}
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
绝密:=AAA1-REF(AAA1,1);
选股王:=CROSS(绝密,买入线);
抄底王:金叉 AND 选股王;
HZ:=EMA(CLOSE,13); 
短波:=EMA(HZ,1); 
HZ2:=EMA(HZ,8); 
黑马拉升:CROSS(短波,HZ2);

上一篇:通达信源码:超好用的波段副图,棒棒糖买卖,分时至尊主图

下一篇:通达信公式下载:牛逼一整套T+0公式,变色龙