【大智慧】MA均線+F10資料主圖指標(biāo)公式
攻城獅 2015.12.03 11:56
MA5:MA(c,5);
ma10:ma(c,10);
ma30:ma(c,30),linethick2;
MA60:MA(c,60);
{F10提取顯示部分}
cwts:=f10find(‘財(cái)務(wù)透視’,1);
xsml:=f10find(‘銷售毛利率(%)’,cwts+1);
銷售毛利率:=strtonum(f10text(xsml+20,10));
通流市值:=DYNAINFO(57)/100000000;
cpbd:=f10find(‘最新指標(biāo)’,1);
fpya:=f10find(‘分配預(yù)案: ‘,cpbd+1);
分配預(yù)案:=f10text(fpya+10,0);
zygc:=f10find(‘主營構(gòu)成’,1);
zycp:=f10find(‘─────────────────────────────────────’,zygc+1);
主營1:=f10text(zycp+78,70);
主營2:=f10text(zycp+148,68);
DRAWTEXTREL(5,10,’所屬板塊:’+BKNAME),Color60FF14;
DRAWTEXTREL(5,55,’股票代碼:’+STKLABEL+’, 流通盤:’+CAPITAL/1000000+’億, 流通總市值:’+通流市值+’億,’),Color08ddff;
DRAWTEXTREL(5,95,’主營收入同比: ‘+FINANCE2(11)+’% ,利潤率同比: ‘+FINANCE2(10)+’% ‘+ ‘ 銷售毛利率:’+銷售毛利率+’% 市盈率:’+DYNAINFO(39)+’, 每股收益’+FINANCE2(3)),Colorred;
DRAWTEXTREL(5,135,’每股凈資產(chǎn):’+FINANCE2(4)+’元, 每股未分配:’+FINANCE2(8)+’元, 每股公積金’+FINANCE2(7)+’元, 每股經(jīng)營現(xiàn)金:’+FINANCE2(6)),Coloraa3399;
DRAWTEXTREL(5,189,’分配預(yù)案: ‘+分配預(yù)案),ColorafFF00;
DRAWTEXTREL(5,260,’產(chǎn)品行業(yè)地區(qū) 主營收入 同比增長 主營收入占比 主營利潤’),Color11FF00;
DRAWTEXTREL(5,285,’─────────────────────────────────────’),Color11FF00;
DRAWTEXTREL(5,305,主營1),Color11FF00;
DRAWTEXTREL(5,345,主營2),Color11FF00;
ZF:=100*(C-REF(C,1))/REF(C,1);
STICKLINE(ZF>5,c,o,2,500),coloryellow;
活潑指數(shù):COUNT(ZF>5,120),colorred,linethick0;
DRAWTEXTABS(5,5,’概念股網(wǎng) www.chiang1015.com’),linethick1,COLOR00EEff;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
買1:=VAR10;
買2:=(VAR11+VAR13+VAR15+VAR17);
賣1:=(VAR12+VAR14+VAR16+VAR18);
買:=買1>0 OR 買2>0;
賣:=賣1>0;
DRAWTEXT(買1>0 OR 買2>0,0.99*LOW,’買’),COLORRED;
DRAWTEXT(賣1>0,1.01*HIGH,’賣’),COLORGREEN;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。