您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通信达公式编写 大黑马精准买卖主图公式源码(3)

2018-06-13 17:12    股票知识   zhishi.southmoney.com
    

抄底:=((FILTER((CROSS(VARS3,VARS4) AND VARS3<20),10)=1) AND 买线>=卖线);

DRAWTEXT(抄底,(基线*0.94),'--抄底'),COLORFF00FF;

STICKLINE(抄底,(基线*0.92),基线,9,0),COLORFF00FF;

YY:=(CROSS(X2,X3) AND (买线>=卖线));

DRAWTEXT(YY,(L*0.99),'--精准买'),coloryellow;

STICKLINE(YY,C,(L*0.98),9,0),coloryellow;

F:=100*(C-REF(C,1))/REF(C,1);

S1:=IF(C<REF(O,1) AND F<0,1,0);

S2:=IF(C<REF(O,2) AND F<0,1,0);

短买点:=((CROSS((SMA(MAX(C-(REF(C,1)),0),4.1,1)/SMA(ABS(C-(REF(C,1))),4.1,1)*100),11)*1) AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND 换手>=3 AND 买线>=卖线);

DRAWTEXT(短买点,(基线*0.94),'--短买点'),COLORFF00FF;

STICKLINE(短买点,(基线*0.92),(基线*0.98),9,0),COLORFF00FF;

VAR5:=(3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5)));

奔牛:=(CROSS(VAR5,(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND 买线>=卖线);

DRAWTEXT(奔牛,(基线*0.98),'--奔牛'),COLOR00AAFF;

STICKLINE(奔牛,(基线*0.96),基线,9,0),COLOR00AAFF;

VARQ1:=EMA(CLOSE,3);

VARQ2:=EMA(CLOSE,21);

VARQ3:=BARSLAST(CROSS(VARQ2,VARQ1))>15;

VARQ4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;

黑马:=((CROSS(VARQ1,VARQ2) AND VARQ4 AND VARQ3) AND 买线>=卖线);

DRAWTEXT(黑马,(基线*0.98),'--黑马'),COLORFF6600;

STICKLINE(黑马,(基线*0.96),基线,9,0),COLORFF6600;

波段买点:=CROSS((ZIG(3,10)),(MA((ZIG(3,10)),3)));

DRAWTEXT(波段买点,(基线*0.98),'--波段买'),color00aaff;

STICKLINE(波段买点,(基线*0.96),基线,9,0),colorlired;

VARDD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));

DRAWTEXT((VARDD=1),(H*1.05),'波段卖'),colorwhite;

STICKLINE((VARDD=1),(H*1.01),(H*1.03),9,0),colorwhite;

大黑马:=(IF(CROSS((MA(3*SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,6,1)-2*SMA(SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,5,1),5,1),2)),0)AND EMA(3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),5)<40,8,0) AND 买线>=卖线);

DRAWTEXT(大黑马,(基线*0.94),'-大黑马'),colorblue;

STICKLINE(大黑马,(基线*0.92),基线,9,0),colorblue;

更多股票公式相关资讯请关注南方财富网

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号