神奇筹码:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,60);
底部放量:=MA(V,5)>MA(V,20) AND C<MA1 AND MA1<MA2 AND MA2<MA3 AND MA3<MA4 OR MA(V,5)>MA(V,10) AND C<MA1 AND MA1<MA2 AND MA2<MA3 AND MA3<MA4;
一级买入:=COUNT(神奇筹码<REF(神奇筹码,1),19)>=14 OR COUNT(神奇筹码<REF(神奇筹码,1),15)>=12 OR COUNT(神奇筹码<REF(神奇筹码,1),9)>=8 AND 神奇筹码<REF(神奇筹码,1) AND 神奇筹码<10 AND ((神奇筹码+REF(神奇筹码,1))*0.5)<30;
二级买入:=COUNT(神奇筹码<15,5)>=4 AND 神奇筹码<15;
三级买入:=COUNT(神奇筹码<10,4)>=1 AND V<REF(V,1) AND (底部放量=1 OR REF(底部放量,1));
四级买入:=COUNT((一级买入 AND 二级买入) OR (一级买入 AND 三级买入) OR (二级买入 AND 三级买入),5)>=1 AND 神奇筹码<15;
红宝石:四级买入;