|
樓主 |
發表於 12-7-27 12:10
|
顯示全部樓層
裡面沒放棉花的意思是 = = ?
我已經把程式碼改成
a_1 = IIf( MA(C,75) > Ref(MA(C,75),-5), 1,0);
a_2 = IIf (MA(C,75) > MA (C,150) > MA(C,300),1 ,0);
a_3 = IIf( MA(V,5)>MA(V,10)>MA(V,15),1,0);
a_4 = IIf( HHV(RSI(30),5) == RSI(30), 1,0);
a_5 = IIf(RSI(30) >80 AND RSI(60) >50 AND MACD(12,26) >0,1,0);
a_6 = IIf(ADX(5)>20,1 ,0);
a_7 = IIf(C>Ref(C,-1)>Ref(C,-2)>Ref(C,-3),1, 0);
a_8 = IIf( a_1 =1AND a_2 =1 AND a_3 =1 AND a_4 =1 AND a_5=1 AND a_6=1 AND a_7=1,1,0);
Buy = a_8 ;
Sell =C< MA(C,10) ;
但是結果好像還是沒變耶,為什麼呢 @@? |
|