1. 請高手把這個指標公式改成這三個選股公式分別是:牛股起爆 .門庭若市 .瘋狂箭頭 謝謝!
{牛股起爆}
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
TJ8:=REF(C,1)/REF(C,5)<=1.1 AND C>=MA(C,24) AND EXIST(V/REF(V,1)>=2,5) AND C>REF(C,1);
牛股起爆:(TJ3 AND TJ8)*70;
********************************************************************
{門庭若市}
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
TJ4:=MA(C,5)>=MA(C,24) AND MA(C,24)>=MA(C,72) AND MA(C,72)>=MA(C,200);
TJ5:=MA(C,10)>=MA(C,30) AND MA(C,20)>=MA(C,30);
TJ7:=TJ4 OR TJ5;
牛股:=TJ2 AND TJ3 AND TJ7;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24),COLORRED,NODRAW;
門庭若市1:=(IF(COUNT(EXIST(牛股出爐,6),6)>=2,牛股出爐,DRAWNULL));
門庭若市:(門庭若市1 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O)*75;
**********************************************************************************************
{瘋狂箭頭}
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
TJ4:=MA(C,5)>=MA(C,24) AND MA(C,24)>=MA(C,72) AND MA(C,72)>=MA(C,200);
TJ5:=MA(C,10)>=MA(C,30) AND MA(C,20)>=MA(C,30);
TJ7:=TJ4 OR TJ5;
牛股:=TJ2 AND TJ3 AND TJ7;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24),COLORRED,NODRAW;
門庭若市1:=(IF(COUNT(EXIST(牛股出爐,6),6)>=2,牛股出爐,DRAWNULL));
門庭若市:=(門庭若市1 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O)*75;
門庭若市3:=門庭若市/75;
瘋狂箭頭:(IF(BARSLASTCOUNT(EXIST(門庭若市3,3))>=2,門庭若市3,DRAWNULL))*80;
2. 求大師幫我編一個選股公式,是mACD在0軸上面兩次金叉時。(日線選股公式)
JC:IF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)-HHV(IF(IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),0),0)=2 AND SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)>REF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),1),10,0);
以上公式經測試可用。
注意:原本macd在零軸上二次金叉為強勢票,但是股票太多一旦做為選股公式,選出來的票成功率就會大幅降低,因此個人看法這個選股公式沒什麼用(給你寫就是讓你驗證我的看法避免自己走錯路)。我多年研究股票指標,自編一個專抓主升浪的指標公式成功率還行。想要就私信和我聯系,免費送你。以後有關於指標公式類的問題也可私信問我。