【大智慧】量價變化指標公式
攻城獅 2015.11.27 12:39
{1.價角度}
MA5:=EMA(C,5);
價角度:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416,LINETHICK0;
EMA5:WMA(價角度,10),COLOR0598FF,DOTLINE;
PARTLINE(EMA5,EMA5>REF(EMA5,1),RGB(255,0,0)),COLOR00FFFF,LINETHICK2,LAYER0;
DRAWTEXT(DISPSTATUS=2,EMA5,’價:’+NUMTOSTRN(價角度,1)+’度’),COLOR0000FF,LINETHICK1,ALIGN0;
{2.量角度}
MV5:=EMA(V,5);
量角度:ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416,LINETHICK0;
EMV5:WMA(量角度,10),COLOR00FF00,DOTLINE;
PARTLINE(EMV5,EMV5>REF(EMV5,1),RGB(255,255,0)),COLOR0099FF,LINETHICK2,LAYER0;
DRAWTEXT(DISPSTATUS=2,EMV5,’量:’+NUMTOSTRN(量角度,1)+’度’),COLOR00FF00,LINETHICK1,ALIGN0;
{3.成本角度}
成本角度:ATAN((cyc(5)/REF(cyc(5),1)-1)*100)*180/3.1416,LINETHICK0;
{www.chiang1015.com 概念股網(wǎng)_大智慧股票指標公式}
CY5:WMA(成本角度,10),COLOR00FFFF,DOTLINE;
PARTLINE(CY5,CY5>REF(CY5,1),RGB(0,255,0)),COLOR00FF00,LINETHICK4,LAYER0;
{3天-5天OBV強弱}
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE MB3:=MA(OBV,3);
MB5:=MA(OBV,5);
NB1:=BARSLAST(CROSS(MB3,MB5));
NB2:=BARSLAST(CROSS(MB5,MB3));
N:=IF(NB1STICKLINE(N>0,0-50,0-50+N*2,6,0),COLOR0000FF;
STICKLINE(N<0,0-50,0-50+N*2,6,0),COLORFFFF00;
申明:本文為作者投稿或轉載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。