1樓:文師師友
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2;
ref(macd,1)<0 and cross(macd,ref(macd,1);
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2;
ref(macd,1)>0 and cross(macd,ref(macd,1);
兩個公式組合成乙個就不需要考慮紅柱還是綠柱了,公式如下:
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2;
cross(macd,ref(macd,1);
2樓:般若若愚
ref("macd.macd"=hhv("macd.macd",30),1) and "macd.macd"
3樓:匿名使用者 又出一根長於前根紅柱的紅柱(與前根紅柱等高時預警)或者macd頂背離後綠柱開始縮短時的組合預警公式。先謝謝了! 請高手老師編寫 macd 紅柱一天比一天縮短後 有一天或二天的綠柱後 再出現紅柱的這天選股公式,如圖。謝謝 4樓: dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9); macd:=(dif-dea)*2; a1:=count(macd0; count(a1,3)>0 and a2 and macd>0 and macd>ref(macd,1) and dif>dea and dea>0; 請高手編寫個通達信的簡單公式:macd紅綠柱子背離 5樓:匿名使用者 macd頂底背離(同時包含kdj背離,rsi背離) 公式如下: diff:ema(close,12) - ema(close,26); dea:ema(diff,9); macd:2*(diff-dea),colorstick; a1:=barslast(ref(cross(diff,dea),1)); b1:=ref(c,a1+1)>c and ref(diff,a1+1)c and ref("kdj.k"(9,3,3),a2+1)<"kdj. k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)); a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1)); b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi. rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)); c1:=barslast(ref(cross(dea,diff),1)); d1:=ref(c,c1+1)diff and cross(dea,diff); c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1)); d2:=ref(c,c2+1)"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)); c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1)); d3:=ref(c,c3+1)"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)); macd底背:if(b1>0,-0.1,0),colorred,pointdot; kdj底背:if(b2>0,-0.1,0),colorff00ff,pointdot; rsi底背:if(b3>0,-0.1,0),coloryellow,pointdot; macd頂背:if(d1>0,0.1,0),color00ff00,pointdot; kdj頂背:if(d2>0,0.1,0),colorffcc66,pointdot; rsi頂背:if(d3>0,0.1,0),colorwhite,pointdot; stickline(b1>0,-0.1,0,2,0),colorred; stickline(b2>0,-0.1,0,2,0),colorff00ff; stickline(b3>0,-0.1,0,2,0),coloryellow; stickline(d1>0,0.1,0,2,0),color00ff00; stickline(d2>0,0.1,0,2,0),colorffcc66; stickline(d3>0,0.1,0,2,0),colorwhite; 請專家編寫乙個通達信選股公式:macd小綠柱子今日變得很短(處於macd綠柱叢的邊緣),紅柱子即將出現 6樓:匿名使用者 xg:abs("macd.macd")<=llv(abs("macd.macd"),30) and "macd.macd"<=0; 請高手編寫乙個通達信macd日線和60分鐘紅燭選股公式?
10 7樓:匿名使用者 首先可以編寫9日內有漲停出現過,5天macd日線和60分鐘線都是紅柱,並且紅柱一直在放大mmacd開口是向上的,遠離,但你說的3月24日600073也不符合這個條件啊,5日裡的日線兩線也沒一直遠離啊,macd柱也沒一直放大啊,9日內也沒出現過漲停啊,等等,這和你說的選股條件也不符合啊. 求高手幫忙編乙個通達信股價創新低而macd指標的綠柱不紅柱並沒有創新低的週線底背離的選股公式,謝謝! 8樓:匿名使用者 公式引用裡周macd資料會有未來函式效果請注意zd:=count((c-llv(c,20))/(hhv(h,20)/llv(l,20))5; tj1:=cross(macd.dif#week,macd.dea#week); xg:tj1&&zd; 劃過指尖的絲滑 cross close,ma close,n or cross ma close,n close range close,ma close,n 0.995,ma close,n 1.005 cross close,ma close,n1 or cross ma close,n1 cl... a1 abs ma c,60 ma c,30 ma c,30 1000 5 a2 abs ma c,90 ma c,30 ma c,30 1000 5 a3 abs ma c,120 ma c,30 ma c,30 1000 5 a1 and a2 and a3 a1 abs ma c,90 ma ... 祿專 zyxf barslast cross zig 3,15 ma zig 3,15 2 1 鐵底出現了 zyxf 3 and h ref hhv h,3 1 注 原指標的所謂鐵底是大漲了以後回頭來確認其為鐵底,所以公式 zyxf troughbars 3,15,1 4 鐵底選股 filter z...請高手編寫通達信預警公式
請高手編兩個均線粘合選股公式,請老師幫忙寫一個通達信兩條均線粘合在一起的選股公式。
那位老師能幫忙修改成預警公式,非常感謝