程序源碼 X_1:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,6,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,6,1),5,1); X_2:=EMA(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,21,1),21,1),21); X_3:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,20,1),15,1); X_4:=3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1); X_5:=3*SMA((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,20,1),15,1); X_6:=X_4-100; X_7:=X_5-100; X_8:=100-EMA(3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,3)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,3),5); X_9:=EMA(3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,3)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,3),5); X_10:=FORCAST((-1)*X_7,21); X_11:=X_2+MA(CLOSE,5); X_12:=NOT(NAMELIKE(1) OR NAMELIKE(2) OR CODELIKE(3)); X_13:=NOT(NAMELIKE(1) OR NAMELIKE(2) OR CODELIKE(4) OR CODELIKE(3)); 尋底:X_2<30 AND X_10>X_8 AND CROSS(X_9,X_2) AND MA(CLOSE,60)/CLOSE>1.2 AND X_8>70 AND X_12=1; 注: 館內(nèi)各種公式為學(xué)習(xí)編程而保存,實(shí)戰(zhàn)使用前一定要看其中是否有未來(lái)函數(shù)并自己親自測(cè)試成功率,決不能依據(jù)公式名稱的描述和形容去投資,據(jù)此入市造成投資損失由投資者自己承擔(dān)。 發(fā)文不易,如獲益,歡迎贊賞,贊賞必復(fù)! |
|