万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 飞狐公式 正文

飞狐MACD合成指标公式

admin 2023-10-15 20:27:26 飞狐公式 261 ℃

飞狐MACD合成指标公式

获利:WINNER(C)*100,Color800080,LINETHICK,PRECISION2;

套牢:(WINNER(C*1.07)-WINNER(C*0.93))*85,COLORBLUE,LINETHICK,PRECISION2;

获利差:获利-套牢,COLORFFFFFF,LINETHICK,PRECISION2;

DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),Colorred,LINETHICK,PRECISION2;

DEA:EMA(DIF,9),COLORYELLOW,LINETHICK,PRECISION2;

MACD:=2*(DIF-DEA),COLORFFFFFF,LINETHICK,PRECISION2;

BIAS:EMA(C-REF(C,1),14)*2,Color000080,PRECISION2;

RSV14:=(CLOSE - LLV(LOW,14))/(HHV(HIGH,14) - LLV(LOW,14))-0.5;

K14:EMA(RSV14,3),COLORFFFFFF,LINETHICK,PRECISION2;

D14:EMA(K14,3),COLORGREEN,LINETHICK,PRECISION2;

J14:=3*K14-2*D14;

限制画线时限:=RANGE(BARPOS,SYSPARAM(3)-180,SYSPARAM(3)+1);

WLP:=WINNER(C)-0.5;

SCX:=(WINNER(C*1.07)-WINNER(C*0.93))*0.85-0.5;

ZSCC:=(WINNER(C)-(WINNER(C*1.07)-WINNER(C*0.93))/2*0.85)-0.5;

STICKLINE(限制画线时限 AND ZSCC<-0.5,ZSCC,-0.5,8,0),COLOR1477FF;

FILLRGN(DATATYPE>5 AND 限制画线时限,-0.5,SCX),ColorA00000;

FILLRGN(DATATYPE>5 AND 限制画线时限 AND WLP>SCX,SCX,WLP),Color800080;

FILLRGN(DATATYPE>5 AND 限制画线时限 AND WLP<=SCX,SCX,WLP),Color408000;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,3,0),COLOR000055;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,2,0),COLOR000099;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),COLOR0000BB;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.5,0),COLOR0000DD;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,3,0),COLOR888888;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,2,0),COLORBBBBBB;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORDDDDDD;

STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.5,0),COLORFFFFFF;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,3,0),COLOR3377AA;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,2,0),COLOR3388BB;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLOR4499CC;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.5,0),COLOR5599DD;

STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,3,0),COLORFF3300;

STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,2,0),COLORFF5500;

STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORFF7700;

STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.5,0),COLORFF9900;

STICKLINE(限制画线时限,0.4,0.4,3,0),COLORFFFFFF;

STICKLINE(限制画线时限,-0.4,-0.4,3,0),COLORFFFFFF;

PARTLINE(dea<=ref(DEA,1),Dea),COLORff0000,LINETHICK2;

PARTLINE(dea>ref(DEA,1),Dea),COLORYELLOW,LINETHICK2;

PARTLINE(DIF>ref(dif,1),DIF),Colorred,LINETHICK2;

PARTLINE(DIF<=ref(dif,1),DIF),Color008080,LINETHICK2;

K14,COLORFFFFFF;

D14,COLORGREEN;

STICKLINE(限制画线时限 AND J14<-0.5,-0.5,-0.4,8,0),COLORYELLOW;

AA:=COUNT(MA(V,10)

BB:=CROSS(MA(V,5),MA(V,30));

量突:IF(AA AND BB,-0.3,-0.5),COLORRED,LINETHICK2;

VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);

VAR10:=SMA(VAR9,3,1);

VAR11:=SMA(VAR10,3,1);

VAR12:=SMA(VAR11,3,1);

主力出现:IF(CROSS(VAR11,VAR12) AND (VAR11<40),0.2,0),COLOR4455ff,LINETHICK2;

KDJXG:=REF(COUNT(J14=3,1) AND REF(J14,1)<-0.4 AND J14>REF(J14,1);

DRAWICON(限制画线时限 AND FILTER(KDJXG,3),-0.44,8),ALIGN;

DRAWICON(限制画线时限 AND FILTER(KDJXG,3),-0.47,8),ALIGN;

DRAWICON(限制画线时限 AND FILTER(KDJXG,3),-0.5,8),ALIGN;

DRAWICON(CROSS(BIAS,0),0,4),ALIGN;

准备介入点:=ref(cross(0,macd),3) and count(dif>0 and macd

DRAWICON(准备介入点,macd*1.15,1),ALIGN;

飞狐MACD合成指标公式选股公式如下:

>股票指标网

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群