公式如下:
DT1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;DT2:EMA(DT1,3),COLORFF00FF,LINETHICK1;DT3:EMA(DT2,3),COLOR00FF00,LINETHICK1;DRAWTEXT((CLOSE<MTD),MTD,'*'),COLOR00FF00,LINETHICK5;DRAWTEXT((CLOSE>MTD),MTD,'*'),COLOR0000FF,LINETHICK5;CAT1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);CAT2:=REF(CAT1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT3:=REF(CAT2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT4:=REF(CAT3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT5:=REF(CAT4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT6:=REF(CAT5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT7:=REF(CAT6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT8:=REF(CAT7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT9:=REF(CAT8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CATA:=REF(CAT9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CATB:=REF(CATA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CATC:=REF(CATB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CATD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);DRAWTEXT_FIX(C>O,0.01,0.98,0,'微信公眾號(hào):歐歐量化'),COLORRED;VARE:=REF(CATD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT11:=REF(CAT10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT12:=REF(CAT11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT13:=REF(CAT12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT14:=REF(CAT13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT15:=REF(CAT14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT16:=REF(CAT15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT17:=REF(CAT16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);CAT18:=REF(CAT17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CAT19:=REF(CATD OR VARE OR VARF OR CAT10 OR CAT11 OR CAT12 OR CAT13 ORCAT14 OR CAT15 OR CAT16 OR CAT17 OR CAT18,1) AND CAT1;CAT1A:=REF(CAT1 OR CAT2 OR CAT3 OR CAT4 OR CAT5 OR CAT6 OR CAT7 ORCAT8 OR CAT9 OR CATA OR CATB OR CATC,1) AND CATD;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00;STICKLINE(CAT1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00;DRAWTEXT(FILTER(CAT19=1,5),LOW,' 買進(jìn)'),COLORFF00FF;DRAWICON(FILTER(CAT19=1,5),LOW,9);DRAWTEXT(FILTER(CAT1A=1,5),HIGH,' 逃頂'),COLOR00FF00;DRAWICON(FILTER(CAT1A=1,5),HIGH,15);
信號(hào)明顯,就做一個(gè)“主圖買入加副圖主力異動(dòng)”組合信號(hào)的選股吧,如果有其他選股公式需要的,掃描下方二維碼聯(lián)系我。
選股公式如下 :
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);A:=WINNER(CLOSE+CLOSE*15/100)*100;B:=WINNER(CLOSE+CLOSE*0/100)*100;D:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;E:=CC<3 AND D<0.5 AND OPEN!=LOW;A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);A11:=IF(FILTER(A8,3),5,0);A12:=IF(FILTER(A10,3) OR E,10,0);XH:VA3 AND COUNT(VA3,30)=1,15 AND (COUNT(VA3,30)=1)*28 AND A11>0 AND A12>0
測(cè)試一下,平倉規(guī)則是,不論盈虧,以持股20天后平倉為條件,勝率78.72%風(fēng)險(xiǎn)提示:本指標(biāo)公式僅作為知識(shí)分享,模擬測(cè)試不構(gòu)成任何投資建議,不作投資依據(jù)。
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。