|
樓主 |
發表於 10-5-18 10:33
|
顯示全部樓層
本帖最後由 RLRAVYRNLCQYBCQ 於 10-5-18 11:27 AM 編輯
我用1分K時遇到相同問題, 訊號反覆, 根本無法下單
[amibroker] Why so signals change after the bar closes?
professor77747
Fri, 05 Dec 2008 15:08:38 -0800
In my formula, I use only the macd and stochastic to determine a buy
signal. Several times, I didn't have a buy signal after the bar closes.
Call this bar 1. Then the next bar closes(bar 2) and still no signal.
Then, during the next bar (bar 3), I get a signal on bar 1.
When I backtest, the results are the same. No buy on bar 1. Then run
again on bar 2 and there is no bar. Then, run again on bar 3 and there
is a buy shown for bar 1.
I use a 6 hour chart and hourly data.
I thought that after a bar closes, the macd and stochastic would not
change.
Why does this happen?
Tom |
|