1樓:友紳渡動漫
sqx:=(c-ma(close,13))*100; diff:ema(ma(sqx,7),1),color00ffff; dea:
ema(diff,7),colorff33ff; macd:(diff-dea)*2,colorstick; 低位金叉:if(cross(diff,dea) and diff<-0.
1,0.3,0),coloryellow,pointdot; stickline(低位金叉,0,15,8,0),coloryellow;drawicon(低位金叉,0.3,1); jccount:
=count(cross(diff,dea),barslast(dea>=0)); 二次金叉:if(cross(diff,dea) and dea<0 and count(jccount=2,21)=1,0.2,0),colorff00ff,pointdot; stickline(二次金叉,30,15,8,0),colorff00ff; a1:
=barslast(ref(cross(diff,dea),1)); 底背離:if(ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea),0.1,0),colorred,pointdot; stickline(底背離,45,30,8,0),colorred;drawline(a1=0,dea,底背離,dea,0),colorred; a2:
=barslast(ref(cross(dea,diff),1)); 頂背離:ref(close,a2+1)diff and cross(dea,diff),colorgreen; drawline(a2=0,dea,頂背離,dea,0),colorgreen; a3:=cross(diff,dea) and dea<0; 零下二次金叉:
if(filter(count(a3,21)=2,10),0.05,0),colorwhite,pointdot; stickline(零下二次金叉,45,60,8,0),colorwhite;
2樓:準星略高
n:=20;
gd:=c=hhv(c,n);
aa:=barslast(ref(gd,1));
ab:=ref(close,aa+1)macd;
m頂背離:=ab and ac;
count(m頂背離,n)>=2 and m頂背離;
求通達信15分鐘週期macd底背離的選股公式
3樓:匿名使用者
用日線的底背離公式,選擇15分鐘週期就可以了。
下圖是macd底背離選股指標日線勝率回測截圖
還有macd背離自動畫線指標截圖
4樓:匿名使用者
diff:=ema(close,12)- ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c andref(diff,a1+1)0;
5樓:準星略高
修正一下就好了。
diff:=ema(close,12)- ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)0;
6樓:孫氏**
用日線背離的就可以了。
求通達信日線macd底背離選股公式 5
7樓:匿名使用者
a1:=barslast(ref(cross(macd.dif,macd.dea),1));
macd底背:ref(c,a1+1)>c and ref(macd.dif,a1+1) (以前次金叉股價與現在金叉股價相比) 請真的高手做macd通達信的頂背離選股指標公式,要求附圖出現頂背離畫綠線的5天時間內,diff金叉dea選股 8樓:準星略高 diff:=ema(close,5)-ema(close,24); dea:=ema(diff,5); a2:=barslast(ref(cross(dea,diff),1)); 頂背離:=ref(close,a2+1)diff and cross(dea,diff); count(頂背離,5)>=1 and cross(diff,dea); 量價奇緣 如何判斷底背離和頂背離 如何判斷macd的頂背離和底背離 廣發 當股價的低點比前一次的低點低,而此時macd的低點卻比前一次的低點高,這就是macd的底背離現象 相反,當股價的高點比前一次的高點高,而此時macd的高點卻比前一次的高點低,這就是macd的頂背離現象。 指標編 可以把背離做成... 引數還是macd原來的引數,保持不變,你自己重新輸入。新公式1 如下 dif ema close,short ema close,long dea ema dif,mid macd dif dea 2,colorstick stickline dif dea,macd,0,1,0 color0000... m5 ma c,5 m10 ma c,10 m20 ma c,20 昨天 ref m5 min m5,min m10,m20 and m20 max m5,max m10,m20 1 今天 m5 max m5,max m10,m20 and m20 min m5,min m10,m20 二十日線拐頭...如何識別頂背離和底背離,如何判斷MACD的頂背離和底背離
怎樣修改公式把通達信macd紅綠柱變粗
求通達信選股公示高手編寫公式,求通達信選股公示高手編寫乙個公式。