这是我自编自用的macd买卖副图指标,超准,带有二进制数值,关于二进制数值在macd指标中的应用,拟在下一帖子详叙,本帖仅发表指标源码:
{www.qill.cnmacd二进制原码} DIF:EMA(CLOSE,12)-EMA(CLOSE,26); DEA:EMA(DIF,9),NODRAW; MACD:(DIF-DEA)*2,COLORSTICK; NOTEXT1:HHV(DIF,34/3); NOTEXT2:LLV(DIF,34/3);
{www.qill.cn二进制计算} DIFF:=ABS(DIF); DEAA:=ABS(DEA); EJZ1:=DIFF-(2*DEAA); EJZ2:=DEAA-(2*DIFF); 二进制值:IF(DIFF>DEAA,EJZ1,EJZ2),COLORBLUE,NODRAW;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
这是我自编自用的macd买卖副图指标,超准,带有二进制数值,关于二进制数值在macd指标中的应用,拟在下一帖子详叙,本帖仅发表指标源码:
{www.qill.cnmacd二进制原码}
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9),NODRAW;
MACD:(DIF-DEA)*2,COLORSTICK;
NOTEXT1:HHV(DIF,34/3);
NOTEXT2:LLV(DIF,34/3);
{www.qill.cn二进制计算}
DIFF:=ABS(DIF);
DEAA:=ABS(DEA);
EJZ1:=DIFF-(2*DEAA);
EJZ2:=DEAA-(2*DIFF);
二进制值:IF(DIFF>DEAA,EJZ1,EJZ2),COLORBLUE,NODRAW;