推荐回答:
1、简单的,和系统macd一样的如下:dif:ema(close,12)-ema(close,26),colorblue;dea:ema(dif,9),colorgreen;macd:(dif-dea)*2,colorstick;红柱:if(macd>ref(macd,1),macd,draw**),stick,colorred;绿柱:if(macd<ref(macd,1),macd,draw**),stick,colorgreen;2、 和系统macd参数一样的,加了其他条件的如下:dif:ema(close,12)-ema(close,26),colorblue;dea:ema(dif,9),colorgreen;macd:(dif-dea)*2,colorstick;红柱:if(macd>ref(macd,1),macd,draw**),stick,colorred;绿柱:if(macd<ref(macd,1),macd,draw**),stick,colorgreen;抄底:abs((cross(dif,dea)&&dea<=-0.07)*dif)*1.50,colorlimagenta;强度1:if(dif>dea,dif,draw**),colorred,linethick1;强度2:if(dea<dif,dea,draw**),colormagenta,linethick1;drawtext(abs(抄底)>0,抄底*1.10,'抄底'),coloryellow;drawicon(abs(抄底)>0,抄底*1.02,4);drawicon(cross(dif,dea),dea,1);drawicon(cross(dea,dif) ,dea,2);drawicon(cross(dif,0) and dif>dea,0,1);drawicon(cross(0,dif) and dif<dea,0,2);a1:=barslast(ref(cross(dif,dea),1));a2:=barslast(ref(cross(dea,dif),1));底背离:=ref(c,a1+1)>c and dif>ref(dif,a1+1) and cross(dif,dea);顶背离:=ref(c,a2+1)<c and ref(dif,a2+1)>dif and cross(dea,dif);drawtext(底背离=1 and a2<=10,dif,'底背'),colorred;drawtext(顶背离=1 and a1<=10,dif,'顶背'),colorgreen;xg:底背离=1 and a2<=10,nodraw;
广告合作商务QQ: 6391-670-971
2023年最新贷款计算器,采用2023年最新房贷基准利率,房贷利率表,提供贷款、商业贷款、公积金买房、个人按揭月供购房等银行房贷利率计算公式在线使用,2023年最好用的房贷计算器,房贷利息计算专家。