指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:送个macd超准的 通达信公式
送个macd超准的公式
sqx:=(c-ma(close,13))*100;
diff:ema(ma(sqx,7),1),colorwhite;
dea:ema(diff,7),coloryellow;
macd:(diff-dea)*2,colorstick;
低位金叉:if(cross(diff,dea)anddiff<-0.1,15,drawnull),coloryellow,linethick4,crossdot;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:if(cross(diff,dea)anddea<0andcount(jccount=2,21)=1,28,drawnull),colorff00ff,linethick4,crossdot;
a1:=barslast(ref(cross(diff,dea),1));
底背离:if(ref(close,a1+1)>closeanddiff>ref(diff,a1+1)andcross(diff,dea),40,drawnull),colorred,linethick4,crossdot;
势:drawline(a1=0,dea,底背离,dea,0),colorgreen;{,colorred;}
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<closeandref(diff,a2+1)>diffandcross(dea,diff),colorwhite;
顶背离_:if(ref(close,a2+1)<closeandref(diff,a2+1)>diff
andcross(dea,diff),66,drawnull)
,colorf08000,linethick4,crossdot;
压:drawline(a2=0,dea,顶背离,dea,0),colorffbb99;
a3:=cross(diff,dea)anddea<0;
零下二次金叉_:if(filter(count(a3,21)=2,10),53,drawnull)
,colorwhite,linethick4,crossdot;
>>>使用本站搜索工具可以找到更多“送个macd超准的 通达信公式”