底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))
AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);
MACD选股:金叉 OR 底1,COLORFF00FF;
STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;
DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;
{20大周期底部73%-满回塘}
L40:=MA(C,40);
L60:=MA(C,60);
VVAR01:=CLOSE/L40*100<78;
VVAR02:=CLOSE/L60*100<74;
VVAR03:=HIGH>(LOW*1.051);
VVAR04:=VAR03 AND COUNT(VAR03,5)>1;
VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;
DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15
AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5
AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04
AND (VVAR01 OR VVAR02),1,0);
大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;
STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;
DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;