小散必技(源码、选股、通达信)无未来
要参考MACD,kdj。第二个直接选股就买
小散必技源码:
DIFO:=EMA(CLOSE,12)-EMA(CLOSE,26);DEAO:=EMA(DIFO,9);MACD:=(DIFO-DEAO)*2;
A1PO:=BARSLAST(REF(CROSS(DIFO,DEAO),1));
GKDUKH:=FILTER((DIFO<REF(DIFO,1) AND MACD>REF(MACD,1) AND DIFO/CLOSE<-0.1)*1,5);
LUHGUH:=CROSS(DIFO,DEAO) AND (DIFO-DEAO)>0.02;
小散必技:GKDUKH OR LUHGUH;
小散必乐源码:
LLC:=REF(CLOSE,1);RSI5L:=((SMA(MAX((CLOSE-LLC),0),5,1)/SMA(ABS((CLOSE-LLC)),5,1))*100);
TR1L:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
BHD:=(HIGH-REF(HIGH,1));LLD:=(REF(LOW,1)-LOW);
BDMP:=SUM(IF(((BHD>0) AND (BHD > LLD)),BHD,0),10);BDMM:=SUM(IF(((LLD>0) AND (LLD > BHD)),LLD,0),10);
BPDI:=((BDMP*100)/TR1L);BMDI:=((BDMM*100)/TR1L);ADXB:=MA(((ABS((BMDI-BPDI))/(BMDI+BPDI))*100),5);
AVB:=(RSI5L+ADXB);WR10B:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
NEWVOL:=(RSI5L-WR10B);买入:=(AVB+NEWVOL);选股:=CROSS(买入,0);
BVAR1:=SMA(选股,3,1);BVAR2:=SMA(BVAR1,3,1);BVAR3:=SMA(BVAR2,3,1);
买点P:=CROSS(BVAR2,BVAR3) AND (BVAR2<0.5);BX_04:=C/SMA(C,13,1)-1;
BX_05:=REF(BX_04,1)<-0.13;BX_07:=REF(C,1)<=COST(5);BX_066:=REF(BX_04,1)/BX_04>1.25;BXG1:=BX_066 AND BX_07 AND BX_05;
小散必乐:买点P AND BXG1 AND REF(C<O AND KDJ.J<20,1) AND C<REF(C,1)*1.04;