您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

大智慧买入无忧指标源码[大智慧公式]

相关标签: 叶荣添买入三只股 、 收盘前15分钟买入技巧 、 买入强烈推荐增持 、 强势股回调买入法图解 、 缩量的买入方法 、 一字涨停股票怎么买入 、 最新买入评级股票 、 股权登记日当天买入 、 机构买入最多的次新股 、

 

 

大智慧买入无忧指标源码

 

R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=EMA(R,3);
D:=EMA(K,3);
陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20070110));
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110));
获利盘:=(WINNER(CLOSE))*(100);
获利线:=FORCAST(获利盘,7);
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
线:=(FORCAST(VAR1A,7))*((DATE < 20070110));
满仓:=((线 > ref(线,1)) and (线 < 25) and (COUNT((线 > ref(线,1)),5) = 1) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0));
DRAWTEXT(满仓,LOW*0.98,'满仓'),ColorRED;
轻仓:=IF((获利盘 >= 60) and (线 > ref(线,1)) and (ref(线,1) < 20) and (线 < 40) and (COUNT((线 > ref(线,1)),5) = 1) and (ref(N,1) = 6),1,0);
DRAWTEXT(轻仓,LOW*0.98,'轻仓'),ColorYELLOW;
出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,(线 > D) or (K > D) and (D < 60)) and IF((N = 6),(获利盘 < 70),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0); {内容来至程序化交易网 CXH99.COM}
DRAWTEXT(出击,LOW*0.98,'出击'),colorMAGENTA;
进一:=CROSS(线,D) and (D > 30) and (D > ref(D,1)) and (D < 80);
进二:=CROSS(线,获利线) and (D > 30) and (获利线 > 25) and (D > ref(D,1));
低进:=IF(进一 and (D > 获利线),进二,进一);
DRAWTEXT(低进,LOW*0.98,'低进'),ColorRED;
DRAWTEXT(进二,LOW*0.99,'高进'),ColorGRAY;
狂喜:=(CROSS(VAR1,(-2)));
DRAWTEXT(狂喜,(LOW*0.98),'要涨停'),coloryelLOW;
狂喜过望:=((VAR1 = 0));
恐慌:=(VAR1 < -94);
DRAWTEXT(恐慌,(LOW*0.98),'恐慌'),ColorGREEN;
极度恐慌:=(-40)*(VAR1 = (-100));
DRAWTEXT(极度恐慌,(LOW*0.95),'极度恐慌'),ColorWHITE;
半仓:=(CROSS(VAR1,(-94)) and (COUNT(恐慌,5) > 0) and (N = ref(N,1)) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (COUNT((获利线 > 20),20) > 0));
DRAWTEXT(半仓,LOW*0.95,'半仓'),ColorWHITE;
加仓:=(CROSS(K,20) and (COUNT(半仓,5) > 0));
DRAWTEXT(加仓,LOW*0.98,'加仓'),ColorRED; {文章来至程序化交易网 cxh99.com}
背离:=(COUNT(恐慌,2) > 0) and (CLOSE < ref(CLOSE,1)) and (VAR1 > ref(VAR1,1));
DRAWICON(背离,HIGH*1.02,1),ColorGRAY;
DD:=FINANCE2( 1);
SS:=FINANCE2( 7);
FF:=FINANCE2(18);
GG:=FINANCE2(33);
HH:=DYNAINFO(39);
IF C>0 AND DISPSTATUS=2 THEN
DRAWTEXTREL(20,30,'总股本:'+NUMTOSTRN(DD,0)+'万股' +' 流通A股:'+NUMTOSTRN(SS,0)+'万股'+' 市盈率:'+NUMTOSTRN(HH,2)+'%'+' 每股收益:'+NUMTOSTRN(GG,3)),COLORbbffff;
MA1:=(LOW+HIGH+CLOSE)/3;
MA2:= MA(MA1,2);
箱顶:HHV(MA2,13),coloryelLOW,LINETHICK2;
箱底:LLV(MA2,13),colorwhite,LINETHICK2;
五日均价:MA(C,5),colorred,LINETHICK1;
十日均价:MA(C,10),colorwhite,LINETHICK1;
二十日均价:MA(C,20),colorgreen,LINETHICK1; {内容来至程序化交易网 CXH99.COM}
六十日均价:MA(C,60),coloree66ee,LINETHICK1;
{内容来至程序化交易网 CXH99.COM}

 

{别忘了将本网告诉您身边的朋友,向朋友传达有用资料,也是一种人情,你朋友会感谢你的。}
 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容