請(qǐng)求老師幫寫一個(gè)BBI,RSI,MACD的條件選股公式: 1.收盤價(jià)上穿BBI, 2.RSI(參數(shù)5)上穿50, 3.MACD的DIF金叉DEA ------------------------------------------------------------------------------------ 副圖 BBIV:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; LC:=REF(CLOSE,1); RSI1V:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; VV:DRAWTEXT(CURRBARSCOUNT=60,0.15,'理想論壇末日琳晨作品'),COLORYELLOW; DIFV:=EMA(CLOSE,12)-EMA(CLOSE,26); DEAV:=EMA(DIFV,9); DEAF:=EMA(DIFV*VV,9); V1:=CROSS(C,BBIV); V1E:=CROSS(DIFV*VV,DEAV); V2:=CROSS(RSI1V,50); V3:=CROSS(DIFV,DEAV); V1 AND V2 AND V3,COLORRED; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 選股 BBIV:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; LC:=REF(CLOSE,1); RSI1V:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; DIFV:=EMA(CLOSE,12)-EMA(CLOSE,26); DEAV:=EMA(DIFV,9); V1:=CROSS(C,BBIV); V2:=CROSS(RSI1V,50); V3:=CROSS(DIFV,DEAV); V1 AND V2 AND V3; ¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥ TJXG:O < BBI AND C > BBI AND C>O AND CROSS(RSI.RSI1,50) AND CROSS(MACD.DIF,MACD.DEA)AND MACD.DIF>0; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TJXG:O < BBI AND C > BBI AND C>O AND CROSS(RSI.RSI1,50) AND CROSS(MACD.DIF,MACD.DEA)AND MACD.DIF>0; |
|