飞狐CCI+KD指标公式,飞狐MACD日周月共振指标公式
admin888
|飞狐CCI+KD指标公式,飞狐MACD日周月共振指标公式
飞狐CCI+KD指标公式
N:=9;P1:=3;P2:=3;
均价:=(C+H+L)/3;
cci:(均价-wma(均价,98))/(0.015*AVEDEV(均价,98))/8+30;
做多:(3*SMA(CCI,5,1)+2*SMA(SMA(CCI,5,1),3,1))/5,COLORRED;
FILLRGN(CCI>做多,cci,做多),COLORBROWN;
FILLRGN(CCI<做多,cci,做多),COLORAAAA00;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:WMA(RSV,P1)-10,COLORWHITE;
D:SMA(K,P2,1),COLORYELLOW;
0,COLORGREEN;40,COLORWHITE;80,COLORRED;
飞狐MACD日周月共振指标公式
input:long(26),short(12),mid(9);
difF:ema(CLOSE,SHORT)-Ema(CLOSE,LONG),linethick1,COLORWHITE;
DEA:EMA(DIFF,MID),linethick1,COLORWHITE;
macd:(DIFF-DEA)*2,COLORstICK;
周DIFF:MA("MacD.DIFF#WEEK"(LONG,SHORT,MID),5),LINETHICK1,COLORMAGENTA;
周DEA:MA("MACD.DEA#WEEK"(LONG,SHORT,MID),5),LINETHICK1,COLORMAGENTA;
周金▲:DRAWTEXT(crOSS("MACD.DIFF#WEEK"(LONG,SHORT,MID) ,"MACD.DEA#WEEK"(LONG,SHORT,MID)),周DIFF,'▲'),COLORMAGENTA;
周死?:DRAWTEXT(CROSS("MACD.DEA#WEEK"(LONG,SHORT,MID) ,"MACD.DIFF#WEEK"(LONG,SHORT,MID)),周DEA,'?')COLORGREEN;
月DIFF:MA("MACD.DIFF#MONTH"(LONG,SHORT,MID),5),LINETHICK1,COLORBLUE;
月DEA:MA("MACD.DEA#MONTH"(LONG,SHORT,MID),5),LINETHICK1,COLORBLUE;
月金▲:DRAWTEXT(CROSS("MACD.DIFF#MONTH"(LONG,SHORT,MID) ,"MACD.DEA#MONTH"(LONG,SHORT,MID)),月DIFF,'▲'),COLORRED;
月死?:DRAWTEXT(CROSS("MACD.DEA#MONTH"(LONG,SHORT,MID) ,"MACD.DIFF#MONTH"(LONG,SHORT,MID)),月DEA,'?'),COLORyellow;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。