量比選股股公式1: 量比:=V/REF(MA(V,5),1); 漲幅:=(C-REF(C,1))/REF(C,1)*100; 選股:量比>1.8 AND漲幅>0 AND漲幅<2; 量比選股公式2: 換手:=DYNAINFO(39); 量比:=DYNAINFO(20); {多頭排列十字星} 十字星:=COUNT(ABS((C-O)/O<0.01),2)=2 AND COUNT(C>O,2)=2; 多頭排列:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,20) AND MA(C,5)>REF(MA(C,5),1); XG:換手>4 AND量比>2.5;
共振:BARSLAST(REF("MACD.DIF#DAY",1)<REF("MACD.DEA#DAY",1) AND "MACD.DIF#DAY">="MACD.DEA#DAY")<3 AND BARSLAST(CROSS("MACD.DIF#WEEK","MACD.DEA#WEEK"))<3;
周K:="KDJ.K#WEEK"(9,3,3); 周D:="KDJ.D#WEEK"(9,3,3); 月K:="KDJ.K#MONTH"(9,3,3); 月D:="KDJ.D#MONTH"(9,3,3); 共振:CROSS(KDJ.K,KDJ.D) AND CROSS(周K,周D) AND CROSS(月K,月D);
REF(COUNT(MA(C,N)>REF(MA(C,N),1),21),1)=0 AND MA(C,N)>REF(MA(C,N),1) AND REF(C,1)<MA(C,N) AND CROSS(H,MA(C,N));
MA5:MA(C,5),COLORWHITE; IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2; HD:=FILTER(BACKSET(FILTER(REF(H,10)=HHV(H,21),10),11),10); LD:=FILTER(BACKSET(FILTER(REF(L,10)=LLV(L,21),10),11),10); STICKLINE(H,REF(H,BARSLAST(HD)),REF(H,BARSLAST(HD)),8,0),COLORYELLOW; STICKLINE(L,REF(L,BARSLAST(LD)),REF(L,BARSLAST(LD)),8,0),COLORMAGENTA; DRAWNUMBER(HD,H,H),DRAWABOVE; DRAWNUMBER(LD,L,L);
高量:=TOPRANGE(V); A1:=FILTER(CLOSE>REF(HHV(HIGH,100),1) AND REF(C,1)<REF(HHV(HIGH,100),1),5) AND EXIST(EVERY(C>EMA(C,120),30),100)AND C/EMA(C,100)<1.5 AND NOT(BARSLAST(高量>=HHV(高量,200))); DRAWLINE(A1,H,REF(A1,1),REF(H,1),1),COLORRED; |
|