神奇资金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORDEBC56;
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,20);
X_4:=MA(CLOSE,60);
X_5:=BARSLAST(HHV(HIGH,100)=HIGH);
底部放量:=MA(VOL,5) MA(VOL,20) AND CLOSE X_1 AND X_1 X_2 AND X_2 X_3 AND X_3 X_4 OR MA(VOL,5) MA(VOL,10) AND CLOSE X_1 AND X_1 X_2 AND X_2 X_3 AND X_3
一级买入:=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
二级买入:=COUNT(神奇资金 15,5) =4 AND 神奇资金 {九毛八公式指标网www.9m8.cn}
三级买入:=COUNT(神奇资金 10,4) =1 AND VOL REF(VOL,1) AND (底部放量=1 OR REF(底部放量,1)),COLORRED;
四级买入:=COUNT(一级买入,4) =1 AND COUNT(二级买入,4) =1 OR (COUNT(一级买入,4) =1 AND COUNT(三级买入,4) =1) OR (COUNT(二级买入,4) =1 AND COUNT(三级买入,4) =1) AND 神奇资金
五级买入:=COUNT(一级买入,4) =1 AND COUNT(二级买入,4) =1 AND COUNT(三级买入,4) =1 AND 神奇资金
六级买入:=COUNT(一级买入,2) =1 AND COUNT(二级买入,2) =1 AND COUNT(三级买入,2) =1 AND COUNT(四级买入,2) =1 AND COUNT(五级买入,2) =1 AND 神奇资金
补仓抄底:COUNT(CROSS(神奇资金,10),42)=2 AND 神奇资金 6,COLOR6666FF;
建仓抄底:一级买入=1 AND 二级买入=1 AND 三级买入=1 AND 四级买入=1 AND 五级买入=1 AND 六级买入=1;
STICKLINE(补仓抄底,0,40,1,0),COLOR6666FF;
STICKLINE(建仓抄底,0,80,6,0),COLORRED;
DRAWTEXT(建仓抄底,5,' 建仓'),COLORMAGENTA;
DRAWTEXT(补仓抄底,5,' 补仓'),COLORRED;