- UID
- 2
- 积分
- 2874604
- 威望
- 1387331 布
- 龙e币
- 1487273 刀
- 在线时间
- 13155 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
大智慧BS主图改进版[大智慧公式]
大智慧BS主图改进版-我的处女贴
对于理想,发自内心的感谢!对于大庆老杨、一发千钧等各位老师,发自内心的景仰!小弟刚学炒股,不会自编指标,只能实行“拿来主义”,发个自用主图,用大智慧整天吹嘘的BS买卖点主图,结合几位老师的一些公式指标整合出来的,喜欢的朋友拿去吧
- {柳江一粟}
- 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";
- 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:='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,7.5,0),colorblack;
- STICKLINE(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
- STICKLINE(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
- STICKLINE(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,o,c,7.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,l,c,0.5,1),color5454ff;
- STICKLINE(p1=1 and c<=o,h,o,0.5,1),color5454ff;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
- STICKLINE((p1<>1 or barscount(c)<3) and c>=o,l,o,0.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;
- MA0:MA(c,1),colorblack;
- 操盘线:MA(c,7);
- 生命线:MA(c,21),colorff00ff;
- 二次生命:MA(c,55),colorwhite;
- 牛熊线:MA(c,144),colorgray,LINETHICK2;
- PARTLINE(操盘线,c>=操盘线 and 操盘线>=ref(操盘线,1),RGB(255,0,0),c<操盘线,RGB(0,255,0)),LINETHICK2;
- DRAWTEXTABS(0,10,'所属板块:'+BKNAME),Colorwhite;
- DRAWTEXTREL(0,80,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;
- x1:=(C+L+H)/3;
- bb13:=atan(eMA(x1,13)-ref(eMA(x1,13),1))*3.1416*10;
- eMA8:=eMA(c,8);
- DRAWTEXT(filter(bb13>1 and eMA(x1,13)>ref(eMA(x1,8),1),10),
- eMA8,'∠45°'),colorwhite;
- 压力:MA(ref(HHV(C,30),1),2),LINETHICK2,ColorAFFF00;
- 支撑:MA(ref(LLV(C,30),1),2),LINETHICK2,ColoryelLOW;
- gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
- 明日阻力:=l+(gj-l)+(c-l);
- 明日支撑:=l+(c-gj);
- 今日阻力:=ref(明日阻力 , 1);
- 今日支撑:=ref(明日支撑 , 1);
- STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;
- STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;
- STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;
- STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;
- DRAWTEXTREL(0,130,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred;
- DRAWTEXTREL(0,170,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN;
- VAR2:=(2*CLOSE+HIGH+LOW)/4;
- VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
- VAR4:=LLV(LOW,5);
- VAR5:=HHV(HIGH,4);
- 散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
- 庄家:=EMA(0.667*ref(散户,1)+0.333*散户,2)*VAR3;
- DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.08,'←吸'),COLORRED;
- DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.1,1);
复制代码
指标使用的几点感悟:
1、股价下探支撑线(黄线)后反弹并站稳支撑线,可以在支撑线附近出现笑脸、B点或小红点提示时逢低买入,操盘线变红时加仓;
2、股价上碰压力线要注意风险,此时会两极分化,不上则下!请在操盘线变绿时考虑减仓或清仓!如果连续三天以上站在压力线之上,可以做下波段,高抛一下,在操盘线不变绿的情况下,在回踩操盘线附近时接回,一直持股到操盘线变绿;
3、生命线、二次生命线很重要,是股票运行的重要支撑价位,也可以看做是二次启动位和最低止损位,跌破这两根线的票,应该期待它跌得更彻底,一直跌到黄色支撑线才好;
4、牛熊线之下的股票受到的压力比较大,只有突破了牛熊线的票才有可能迎来美好的春天;
5、开盘竞价在“今日阻力”下方2%以内,或者高于“今日阻力”3%以内的票,当日涨的可能性大于跌的可能性;
6、人是活的,指标是死的,信心是自己给自己的,祝各位投资顺利!
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|