五日貝塔:CLOSE/REF(CLOSE,5)/(INDEXC/REF(INDEXC,5));
十三日貝塔:CLOSE/REF(CLOSE,13)/(INDEXC/REF(INDEXC,13));
一般來說,在市場行情上漲期可選擇β>1的股票, 以獲取高于市場的超額收益;在市場行情下跌期應(yīng)選擇β<1的股票,以規(guī)避市場的系統(tǒng)風(fēng)險, 適當(dāng)減少投資損失
。
貝塔系數(shù):CLOSE/REF(CLOSE,1)/(INDEXC/REF(INDEXC,1));
1,COLORWHITE,POINTDOT;
1.07,COLORFF00FF,POINTDOT;
1.09,COLORRED,POINTDOT;
二、{五日貝塔系數(shù)}
貝塔:CLOSE/REF(CLOSE,5)/(INDEXC/REF(INDEXC,5));
drawicon(貝塔>1.09,1,4);
1;
1.07;
1.09;
三、{十三日貝塔系數(shù)}
貝塔:CLOSE/REF(CLOSE,13)/(INDEXC/REF(INDEXC,13));
drawicon(貝塔>1.09,1,4);
1;
1.07;
1.09;
OK,加點色會更好
貝塔:CLOSE/REF(CLOSE,13)/(INDEXC/REF(INDEXC,13));
FILLRGN(貝塔,1.07,貝塔>1.07),colorff00ff;
G:MA(貝塔,9),coloryellow,LINETHICK2;
1.07;1;
STICKLINE(貝塔>G,G,貝塔,0.1,1),COLORRED;
STICKLINE(貝塔<G,G,貝塔,0.1,1) ,colorFF3333;
MA1:=MA(C,1);
IF BARSTATUS=2 and (MA1) THEN BEGIN DRAWTEXTREL(0,0,'股價:'+NUMTOSTRN(MA1,2)),LINETHICK6,COLORccffcc;end;
IF BARSTATUS=2 and (貝塔) THEN BEGIN DRAWTEXTREL(0,200,'貝塔:'+NUMTOSTRN(貝塔,1)),LINETHICK6,COLORccffcc;end;
PARTLINE(貝塔,貝塔<REF(貝塔,1),RGB(0,255,255),貝塔>REF(貝塔,1),RGB(255,0,0)),linethick2;
要把“β系數(shù)指標(biāo)”做成精品指標(biāo)(不但指標(biāo)做的好,還要教會大家怎么用,這樣才算的上精品好指標(biāo))?。。。。。。。。。?br>
這個公式就是尋找強勢股,呵呵,謝謝了
貝塔與均數(shù)的關(guān)系
,說一下貝塔與均數(shù)的關(guān)系
N參數(shù)從1至200隨便定,變化N參數(shù),看貝塔值與均數(shù)之間的關(guān)系,看你能悟出什么道道來
貝塔:(CLOSE/REF(CLOSE,N)/(INDEXC/REF(INDEXC,N)))*C;
PARTLINE(貝塔,貝塔<REF(貝塔,1),RGB(255,255,255),貝塔>REF(貝塔,1),RGB(255,133,133)),linethick2;
均數(shù):ema(c,N),COLORRED,LINETHICK2;
{貝塔系數(shù) 大智慧副圖指標(biāo)}{通用}
貝塔:CLOSE/REF(CLOSE,5)/(INDEXC/REF(INDEXC,5));
P:CLOSE/REF(CLOSE,13)/(INDEXC/REF(INDEXC,13));
強勢:IF(CROSS(貝塔,1) AND P>1,1.1,1),COLOR00FF00;
牛股:IF(CROSS(貝塔,1.07) AND P>1 AND COUNT(貝塔<1.07,3)>=2,1.1,1),COLOR0000FF;
{以下設(shè)置副圖顯示方式}
STICKLINE(貝塔>1.07,1.07,貝塔,4,0),COLOR00FFFF;
DRAWTEXT(強勢=1.1,1,'●'),COLORFF00FF;
DRAWTEXT(強勢=1.1,1,'¤'),COLORFF00FF;
DRAWICON(牛股=1.1,1,1);
1,COLORFFFFFF;
1.07,COLORFF00FF;
分析家提示語法錯誤,DOTLINE,怎么辦?
貝塔:=C/REF(C,1)/(INDEXC/REF(INDEXC,1));
貝塔系數(shù):FORCAST(SMA(貝塔,8,1),18)*100-100;
貝塔長線:EMA(貝塔系數(shù),13);
貝塔差:2*(貝塔系數(shù)-貝塔長線),COLORSTICK;
0,pointdot,COLOR888888;
聯(lián)系客服