当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧决策BS买卖系统更改(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- a:="LTFunc4@FORLT2";
- s1:="LTFunc4@LT_S1";
- hs:="LTFunc4@LT_HS";
- ls:="LTFunc4@LT_LS";
- p1:="LTFunc4@LT_P1";
- upp:="LTFunc4@LT_UPP";
- udd:="LTFunc4@LT_UDD";
- {hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
- d1:=ema(abs("ddx.ddx"),60);
- d2:=max("ddx.ddx"/d1+7.5,7.5);
- d3:=min("ddx.ddx"/d1,10);
- fb:=if(s1=0,hs,ls);
- tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n');
- tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');
- tr2:=ifs(p1=1,ifs(cross(p1,0),'B点','持股'),ifs(cross(1,p1),'S点','持币'));
- tr3:=ifs(s1=0,'向下,','向上,');
- tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
- bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.BS点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
- drawflagtext(1,fb,bs);
- STICKLINE(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
- STICKLINE(p1=1 and c>=o and o<>0,c,o,2.5,0),colorblack;
- STICKLINE(p1=1 and c>=o and o<>0,c,c,2.5,0),color5454ff;
- STICKLINE(p1=1 and c>=o and o<>0,o,o,2.5,0),color5454ff;
- STICKLINE(p1=1 and c>=o and o<>0,o,c,2.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,o,c,2.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,l,c,1.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,h,o,1.5,1),color5454ff;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,o,2.5,1),colorffff54;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,h,1.5,1),colorffff54;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,l,o,1.5,1),colorffff54;
- drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
- drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
- drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
- drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
- TY:=C;
- A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
- A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
- 前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
- STICKLINE(C,前期高位,前期高位,8,0),COLORYELLOW;
上一篇:DIF<10选股 下一篇:大智慧L2DDE深度挖掘——《短线之星》选股