您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識(shí) >> 股票公式 >> 正文
南方財(cái)富搜索

博易指標(biāo)公式(彩色柱體)

2009-11-1 12:28:54   來源:本站原創(chuàng)   佚名
    

彩色柱體

VAR1:=MA(CLOSE,4);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,16);
VAR4:=MA(CLOSE,22);
VARA:=MA(CLOSE,28);
VAR5:=(VAR1+VAR2+VAR3+VAR4+VARA)/5;
VAR6:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500;
VAR7:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500;
VAR8:=EMA(VAR6,3);
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,3,0),COLORWHITE;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,3,0),COLORYELLOW;
STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,3,0),COLORMAGENTA;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,3,0),COLORRED;
STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,3,0),COLORWHITE;
STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,3,1),COLORCYAN;

效果如下:

 

(責(zé)任編輯:張?jiān)墸?/td>
    南方財(cái)富網(wǎng)聲明:股市資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦