請問有點選當天入進場限制一次,但為何還是會買進那麼多筆?
input: FastLength(12, "DIF短期期數"), SlowLength(26, "DIF長期期數"), MACDLength(9, "MACD期數"); variable: difValue(0), macdValue(0), oscValue(0); SetTotalBar((maxlist(FastLength,SlowLength,6) + MACDLength) * 3 + 8); MACD(weightedclose(), FastLength, SlowLength, MACDLength, difValue, macdValue, oscValue); condition1= oscvalue < 0 and oscvalue[0]>oscvalue[1] and oscvalue[1]>oscvalue[2]; if condition1 then buy(1);
1 評論