飞狐变异MACD指标公式源码 飞狐指标公式大全
2015-10-9 17:26:26 股票入门 http://rumen.southmoney.com
飞狐变异MACD指标公式源码 飞狐指标公式大全 南方财富网小编为您带来最新的飞狐指标公式
WRAP: break-word; PADDING-TOP: 0px">nn:=35;n:=20;m:=18;
A:-( EMA(CLOSE,NN) - EMA(CLOSE,N)),linethick2;
B:EMA(A,M),linethick3;
MACD:(A-B),COLORSTICK;
A1:-(EMA(CLOSE,NN/2) - EMA(CLOSE,N/2)),COLORYELLOW;
B1:EMA(A1,M/2),linethick2;
MACD1 : 2*(A1-B1)/N/2, COLORSTICK;
A2:EMA(CLOSE,NN/3) - EMA(CLOSE,N/3);
B2:EMA(A2,M/3);
MACD2 :2*(A2-B1)/N/3, COLORSTICK;
AA:=A1<REF(A1,1)AND REF(A1,1)>REF(A1,2)AND A1>A AND A1>0.1;
DRAWTEXT(CROSS(A1,B1)AND B1<0,B1,'★'),COLORRED;
DRAWICON(CROSS(A2,B2)AND B2<-0.18,A,2);
DRAWTEXT(CROSS(A,A2)AND A<0.03,A,'进'),COLORRED;
DRAWTEXT(COUNT(A>REF(A,1),8)>=7 AND A>0.2 AND A<REF(A,1)OR AA,A,'逃'),COLORFF0000;
A:-( EMA(CLOSE,NN) - EMA(CLOSE,N)),linethick2;
B:EMA(A,M),linethick3;
MACD:(A-B),COLORSTICK;
A1:-(EMA(CLOSE,NN/2) - EMA(CLOSE,N/2)),COLORYELLOW;
B1:EMA(A1,M/2),linethick2;
MACD1 : 2*(A1-B1)/N/2, COLORSTICK;
A2:EMA(CLOSE,NN/3) - EMA(CLOSE,N/3);
B2:EMA(A2,M/3);
MACD2 :2*(A2-B1)/N/3, COLORSTICK;
AA:=A1<REF(A1,1)AND REF(A1,1)>REF(A1,2)AND A1>A AND A1>0.1;
DRAWTEXT(CROSS(A1,B1)AND B1<0,B1,'★'),COLORRED;
DRAWICON(CROSS(A2,B2)AND B2<-0.18,A,2);
DRAWTEXT(CROSS(A,A2)AND A<0.03,A,'进'),COLORRED;
DRAWTEXT(COUNT(A>REF(A,1),8)>=7 AND A>0.2 AND A<REF(A,1)OR AA,A,'逃'),COLORFF0000;
更多飞狐指标公式请关注南方股票网(http://rumen.southmoney.com )
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
相关阅读
官方微信
文章导读
48小时排行