【大智慧】跟莊獲利主圖指標(biāo)公式
攻城獅 2015.11.27 02:42
DRAWGBKlast(c>0,strip(RGB(0,0,100),RGB(0,0,0),0));
pv:=INDEXV;
lb1:=v/ref(ma(v,3),1);lb2:=pv/ref(ma(pv,3),1);
a1:=lb1>lb2;a2:=lb1a3:=lb1>1.3*lb2 and lb1<=2*lb2;a4:=lb1>2*lb2;
a5:=lb2>1.3*lb1 and lb2<=2*lb1;a6:=lb2>2*lb1;
aa:=lb1>1.10*lb2;
低于大盤:=STICKLINE(a2,h,l,0,0);
STICKLINE(a2,o,c,8,0),COLOR888800;
STICKLINE(a2,o,c,5,0),COLORaaaa00;
STICKLINE(a2,o,c,3,0),COLORcccc00;
弱于大盤:=STICKLINE(a5,h,l,0,0);
STICKLINE(a5,o,c,8,0),COLOR008800;
STICKLINE(a5,o,c,5,0),COLOR00aa00;
STICKLINE(a5,o,c,3,0),COLOR00cc00;
超弱大盤:=STICKLINE(a6,h,l,0,0);
STICKLINE(a6,o,c,8,0),COLOR880000;
STICKLINE(a6,o,c,5,0),COLORaa0000;
STICKLINE(a6,o,c,3,0),COLORcc0000;
領(lǐng)先大盤:=STICKLINE(a1,h,l,0,0);
STICKLINE(a1,o,c,8,0),COLOR880088;
STICKLINE(a1,o,c,5,0),COLORaa00aa;
STICKLINE(a1,o,c,3,0),COLORcc00cc;
強(qiáng)于大盤:=STICKLINE(a3,h,l,0,0);
STICKLINE(a3,o,c,8,0),COLOR000088;
STICKLINE(a3,o,c,5,0),COLOR0000aa;
STICKLINE(a3,o,c,3,0),COLOR0000cc;
超強(qiáng)大盤:=STICKLINE(a4,h,l,0,0);
STICKLINE(a4,o,c,8,0),COLOR008888;
STICKLINE(a4,o,c,5,0),COLOR00aaaa;
STICKLINE(a4,o,c,3,0),COLOR00cccc;
W:=BARSLAST(DISPSTATUS=1);
P:=BACKSET(DISPSTATUS=2,W/2+1);
K:=BARSLAST(CROSS(P,0.5));
KJ:=HHVALL(HIGH)-LLVALL(LOW);
VERTLINE(CROSS(P,0.5),4),COLOR00FFFF;
平衡:LLVALL(LOW)+KJ/2,COLOR00FF00,DOTLINE,PRECIS2;
壓力:IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡),COLORFF00FF,DOTLINE,PRECIS2;
支撐:IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡),COLOR00FF00,DOTLINE,PRECIS2;
低漲:=(C/(LLVALL(LOW)+KJ/2)-1)*100;
低漲2:=(C/壓力-1)*100;
DRAWTEXT(HIGH=HHVALL(HIGH) and K>=0,HIGH*1.01,’←’+NUMTOSTRN(HIGH,2)),COLORFFFFFF;
DRAWTEXT(DISPSTATUS=2,壓力,’0.809′),COLOR0000FF,ALIGN0;
DRAWTEXT(DISPSTATUS=2,平衡,’0.500′),COLORFFFFFF,ALIGN0;
DRAWTEXT(DISPSTATUS=2,支撐,’0.191′),COLOR00FFFF,ALIGN0;
DRAWTEXT(K=0,HHVALL(HIGH)-KJ/12,’★強(qiáng)勢(shì)區(qū)域–急拉減倉!’),COLOR00FFFF,ALIGN1;
DRAWTEXT(K=0,HHVALL(HIGH)-KJ/3,’●震蕩整理–尋機(jī)低吸!’),COLOR00FF00,ALIGN1;
DRAWTEXT(K=0,LLVALL(LOW)+KJ/3,’◆反彈中軌–逢高休息!’),COLORFFFFFF,ALIGN1;
DRAWTEXT(K=0,LLVALL(LOW)+KJ/10,’■弱勢(shì)區(qū)域–暫不參與!’),COLORFFFF00,ALIGN1;
DD:=FINANCE2(35);SS:=FINANCE2(37);
DRAWTEXTREL(10,120,’總股本:’+NUMTOSTRN(DD,0)+’萬’ +’ 流通盤:’+CAPITAL/1000000+’億’+’上市年:’ +REF(YEAR,BARSCOUNT(C)-1));
DRAWTEXTREL(10,190,’■平衡至今上漲:’+NUMTOSTRN(低漲,2)+’% ‘),COLOR0000FF;
DRAWTEXTREL(10,260,’■壓力至今上漲:’+NUMTOSTRN(低漲2,2)+’%’),COLOR00FFFF;
DRAWTEXTREL(10,330,’■目前可見K線:’+NUMTOSTRN(W+1,0)+’天’),COLOR00FF00;
較上二季增減:=(PFFIN(4253,0)-PFFIN(4253,2))/PFFIN(4253,2)*100;
股東增減比例:=(PFFIN(4253,0)-PFFIN(4253,1))/PFFIN(4253,1)*100;
DRAWTEXTREL(10,50,’★股東增減’+NUMTOSTRN(股東增減比例,2)+’%’+’■上二增減’+NUMTOSTRN(較上二季增減,2)+’%’),COLOR00FF00;
qq:=COUNT(aa,6)>=4;
DRAWTEXT(qq,L-0.1,’→莊←’),COLOR00FFFF,ALIGN1;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。