公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

量价变化指标 (源码)

2022-3-21 04:42| 发布者: admin| 查看: 103| 评论: 0

大智慧量价变化指标公式股票软件源码如下:

{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.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
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(CLOSEMB3:=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;

大智慧量价变化指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部