来源:Internet,编辑:股旁网,2019-11-18
MA5:=MA(CLOSE,5); MA30:=MA(CLOSE,30); 金叉:=crOSS(MA5,MA30); N:=4; HJ_1:=1; HJ_2:=LLV(LOW,10); HJ_3:=HHV(HIGH,25); 动能:=EMA((CLOSE-HJ_2)/(HJ_3-HJ_2)*N,N)*HJ_1; 飞天: REF(动能,1)<2 AND 动能>=2 AND (金叉 OR (REF(MA5,1)<MA5 AND 动能>2.4) );