大智慧股票公式:BSMA主圖股票指標(biāo)公式
2013-12-02 11:03 南方財(cái)富網(wǎng)
a:="";
s1:="_S1";
hs:="_HS";
ls:="_LS";
p1:="_P1";
upp:="_UPP";
udd:="_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,'明日收盤價(jià)<'+numtostrn(udd,2)+',出現(xiàn)S點(diǎn)n','若明日收盤價(jià)>'+numtostrn(upp,2)+',出現(xiàn)B點(diǎn)n');
tr1:=ifs(s1=1,'明日收盤價(jià)<'+numtostrn(ls,2)+',短線賣出機(jī)會(huì)','若明日收盤價(jià)>'+numtostrn(hs,2)+'短線買入機(jī)會(huì)');
tr2:=ifs(p1=1,ifs(cross(p1,0),'B點(diǎn)','持股'),ifs(cross(1,p1),'S點(diǎn)','持幣'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量級(jí)別:'+numtostrn(d3,1)+'級(jí)';
bs:=''+datestr(date)+'買賣點(diǎn)決策系統(tǒng)提示n'+'1.BS點(diǎn):'+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;
{均線}
MA5:MA(CLOSE,5);
MA13:MA(CLOSE,13);
MA21:MA(CLOSE,21);
MA34:MA(CLOSE,34);
MA62:MA(CLOSE,62);
MA120:MA(CLOSE,120);
{支撐壓力線}
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)),COLORRED{紅色},POINTDOT;
支撐線:REF(C,BARSLAST(LD)),COLORYELLOW{黃},POINTDOT;
STICKLINE(C,壓力線,壓力線,8,0),COLORRED{紅色};
STICKLINE(C,支撐線,支撐線,8,0),COLORYELLOW{黃};
{短期壓力支撐}
X1:=REF(TY,5)=HHV(TY,2*5+1); Y1:=FILTER(X1,5); Z1:=BACKSET(Y1,5+1); HA:=FILTER(Z1,5);
X2:=REF(TY,5)=LLV(TY,2*5+1); Y2:=FILTER(X2,5); Z2:=BACKSET(Y2,5+1); LA:=FILTER(Z2,5);
短壓力:REF(C,BARSLAST(HA)),colormagenta{品紅},POINTDOT;
短支撐:REF(C,BARSLAST(LA)),colorgreen{綠},POINTDOT;
STICKLINE(C,短壓力,短壓力,8,0),colormagenta{品紅};
STICKLINE(C,短支撐,短支撐,8,0),colorgreen{綠};
{K線圖左上方顯示股票信息文字}
DRAWTEXTREL(1,10,'■所屬板塊:'+BKNAME),COLORRED{紅色};
DRAWTEXTREL(1,60,'■流通盤 :'+CAPITAL/100+'萬(wàn)股'),COLORYELLOW;
DRAWTEXTREL(1,110,'■流通市值:'+DYNAINFO(57)/100000000+'億'),COLORYELLOW;
DRAWTEXTREL(1,160,'■每股收益:'+FINANCE2(3)),COLORYELLOW;
DRAWTEXTREL(1,210,'■每股凈資:'+FINANCE2(4)),COLORYELLOW;
DRAWTEXTREL(1,260,'■主營(yíng)收入:'+FINANCE2(27)),COLORYELLOW;
DRAWTEXTREL(1,310,'■凈利潤(rùn) :'+FINANCE2(33)),COLORYELLOW;
DRAWTEXTREL(1,360,'■利潤(rùn)增長(zhǎng):'+FINANCE2(10)+'%'),COLORYELLOW;
DRAWTEXTREL(1,410,'■市盈率 :'+DYNAINFO(39)),COLORYELLOW;
聲明:文章帶有聯(lián)系方式已經(jīng)被過(guò)濾,請(qǐng)到相關(guān)網(wǎng)站去查詢。如帶有聯(lián)系方式,請(qǐng)勿直接聯(lián)系,本站不對(duì)真實(shí)性進(jìn)行核驗(yàn)(如涉及資金、財(cái)產(chǎn)等需謹(jǐn)慎),請(qǐng)到相關(guān)網(wǎng)站核實(shí),如有不便,敬請(qǐng)諒解。
- 通達(dá)信CCI反轉(zhuǎn)選股公式源碼無(wú)未來(lái) 通信達(dá)公
- 通達(dá)信跟上牛股選公式無(wú)未來(lái) 通信達(dá)公式導(dǎo)
- RSI+BOLL副圖公式源碼 通信達(dá)公式編寫
- 超跌反彈選股公式有哪些 選股有哪些技巧
- 通達(dá)信主力籌碼副圖公式 通信達(dá)公式指標(biāo)大
- 通達(dá)信主力動(dòng)向副圖公式源碼 通信達(dá)公式指
- 通達(dá)信陽(yáng)勢(shì)K線主圖無(wú)未來(lái) 通信達(dá)公式指標(biāo)大
- 市銷率計(jì)算公式是什么 股票市銷率高好還是
- 通達(dá)信機(jī)構(gòu)籌碼拉升副圖公式 2019通達(dá)信指
- 另類KDJ指標(biāo)公式源碼 2019通達(dá)信指標(biāo)公式