【大智慧】波段趨勢指標(biāo)公式
攻城獅 2016.01.06 10:35
主力持倉:EMA(100*(CLOSE- LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;
指數(shù)趨勢:
EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;
強(qiáng)弱分界: 80,coloryellow;
主力線:WINNER(C)*100 ,COLORRED,linethick2;
散戶線:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2;
B:=CROSS(主力線,散戶線);
D:=主力線>強(qiáng)弱分界;
主力強(qiáng)入:=B AND D;
STICKLINE( 主力強(qiáng)入,主力強(qiáng)入,80,2,0),COLORFFAA00,LINETHICK5;
DRAWTEXT(主力強(qiáng)入,80,'(主力)’),COLORFFAA00,LINETHICK3;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
主力潛伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
STICKLINE(主力潛伏中,0,MACD*80,8,0),COLORF00FF0;
100,COLOR1C1C1C;
0,COLOR1C1C1C;
-100,COLOR1C1C1C;
-100,STICK,COLOR1C1C1C;
zz:=(hhv(h,3)+llv(l,3))/2;a:=if(c>zz,vol,0);b:=if(cBBD:EMA(總0,3)/sum(vol,5)*100,LINETHICK0;
STICKLINE(BBD>=0,0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,8,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,3,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,1,0),COLORFFFF00;
XH1:=ref(bbd,1)ref(bbd,1) and bbd>0;
XH2:=ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd DRAWICON(XH1,-25,4);DRAWICON(XH2,25,5);
DRAWTEXTABS(380,200,’證券代碼: ‘+STKLABEL+’ 證券名稱: ‘+STKNAME+”),Color0000ff,LINETHICK3;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。