源碼 VOLUME:=VOL; MAVOL1:=MA(VOLUME,5); MAVOL2:=MA(VOLUME,34); MAVOL3:=MA(VOLUME,135); XG:=IF(CROSS(0.6,1/VOL*3000>0.01 AND KDJ.J<0 AND CCI<(-100)),VOLUME*5,0); XGG:=XG>0; AA:=VOL>=REF(VOL,1)*1.91 AND CLOSE>REF(CLOSE,1)*1.01; AA1:=VOL<REF(LLV(VOL,13),1); AA2:=VOL<REF(LLV(VOL,55),1); AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05; A:=STICKLINE(AA1,0,VOL,1,0); B:=STICKLINE(AA2,0,VOL,1,0); 綠量:=A=1 AND COUNT(OPEN<CLOSE,1); 粉量:=B=1; 自用選股:XGG AND 綠量 OR (XGG AND 粉量),COLORMAGENTA; |
|