通达信红杏出墙选股指标公式
通达信强势小盘选股指标公式
VA1:=vol/CAPITAL;
VA2:=VOL/700000000;
VA3:=IF(VA1=0,VA2,VA1);
VA4:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
VA5:=2.5*MAX(VA3,VA4);
VA6:=DMA(CLOSE,VA5);
VA7:=SMA(20*(VA6/REF(VA6,1)-1),2,1);
VA8:=EMA(VA7,2);
VA9:=0.24;
VA10:=CLOSE>=REF(CLOSE,1);
VA11:=IF(VA7>VA9 AND VA8>=0.005 AND VA10,1,0);
VA12:=crOSS(VA11,0.5) AND COUNT(VA11>0.5,10)=1;
VA13:=kdj.J-REF(kdJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND macd.MacD>0 AND MACD.DEA>0;
VA14:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
VA15:=FILTER(VA14,28)*100 AND LOW>REF(CLOSE,1)*0.93;
VA16:=VA13 OR VA15 AND VA12;
VA17:=EMA(CLOSE,17);
VA18:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VA19:=(20*VA18+19*REF(VA18,1)+18*REF(VA18,2)+17*REF(VA18,3)+16*REF(VA18,4)+15*REF(VA18,5)+14*REF(VA18,6)+13*REF(VA18,7)+12*REF(VA18,8)+11*REF(VA18,9)+10*REF(VA18,10)+9*REF(VA18,11)+8*REF(VA18,12)+7*REF(VA18,13)+6*REF(VA18,14)+5*REF(VA18,15)+4*REF(VA18,16)+3*REF(VA18,17)+2*REF(VA18,18)+REF(VA18,20))/210;
VA20:=EMA(VA19,13);
VA21:=EMA(CLOSE,5);
VA22:=EMA(VA21,8);
VA23:=EMA(VA22,13);
VA24:=EMA(VA23,50);
VA25:=100*(CLOSE-LLV(LOW,34))/(HHV(CLOSE,34)-LLV(LOW,34));
VA26:=REF(VA25,1)<1 AND VA25>1;
VA27:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VA28:=LLV(VA27,3);
VA29:=MA(VA27,12);
VA30:=LLV(LOW,10);
VA31:=HHV(HIGH,25);
VA32:=EMA((CLOSE-VA30)/(VA31-VA30)*4,4)*30;
VA33:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VA34:=EMA(VA33,6);
VA35:=EMA(VA33,5);
VA36:=CLOSE/REF(CLOSE,1)>1.09;
VA37:=EXIST(CLOSE/REF(CLOSE,1)>1.09,10);
VA38:=CLOSE/REF(CLOSE,1)>1.09;
VA39:=IF(VA36+VA37+VA38=3,1,0);
VA40:=(HIGH-CLOSE)/(CLOSE-OPEN)<0.33;
VA41:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW VA42:=CLOSE/REF(CLOSE,1)-1>=0.08;
VA43:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND VA40;
VA44:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND VA40;
VA45:=IF(FILTER(VA43 OR VA44 OR VA41 OR VA42,34),1,0) AND VA39;
VA46:=VA16 OR VA45;
VA47:=VOL>MA(VOL,89);
VA48:=EMA(CLOSE,5);
VA49:=EMA(CLOSE,29);
VA50:=VA48>VA49;
VA51:=REF(CLOSE,1);
VA52:=SMA(MAX(CLOSE-VA51,0),12,1)/SMA(Abs(CLOSE-VA51),12,1)*100;
VA53:=SMA(MAX(CLOSE-VA51,0),56,1)/SMA(ABS(CLOSE-VA51),56,1)*100;
VA54:=VA52>VA53 AND VA50 AND VA47;
VA55:=HHV(HIGH,30);
VA56:=LLV(LOW,30);
VA57:=REF((VA55/VA56-1)*100<=30,1);
VA58:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
VA59:=DMA((2.15*CLOSE+LOW+HIGH)/4,VA58);
VA60:=EMA(VA59,200)*1.1;
VA61:=CROSS(CLOSE,VA60) AND REF(CLOSE*1.097,1)
VA63:=NOT(VA62=0) AND VA46 AND VA61;
VA64:=VA62=0 AND VA46 AND VA61;
红杏出墙:VA63 OR VA64,COLORRED;