HTS程式Bug - 期貨

By Emily
at 2009-06-04T14:27
at 2009-06-04T14:27
Table of Contents
圖一(盤中)
●
┌┐
││
││
└┘
○∣
○
圖二(Reload)
┌┐
││
││
││
●
○
○
以上是SAR技術分析簡易表達
什麼意思?!
圖一是盤中分析時...如果LOW碰到下面的Sar Value值
Sar Value就會翻空跑到上面
可是如果這根是紅K拉回
那麼之後將HTS Reload就會變成圖二
Sar Value值變成在下面並且剛好等於Low
這個問題非常嚴重
會導致回測時看起來都沒有問題的進出
在盤中卻出現誤動作
上次有一次我就說我的盤中訊號怎麼不見了
今天我中午出門
結果中午過後有賣出訊號
我仔細觀察後
又Reload一次
就發現這個現象....
因此我現在為求保險
在Sar翻空時增加以下程式碼
If close cross below SarValue and low < SarValue[1] then ....
提供給其他人參考
就是因為這樣
害我今天中午過後賣出空單被吃回去一筆= =
--
http://mmk-wang.blogspot.com/
程式交易的真實殘酷
--
Tags:
期貨
All Comments

By Cara
at 2009-06-06T09:18
at 2009-06-06T09:18

By Dorothy
at 2009-06-07T18:40
at 2009-06-07T18:40

By Erin
at 2009-06-11T12:43
at 2009-06-11T12:43

By Andrew
at 2009-06-16T06:55
at 2009-06-16T06:55

By Todd Johnson
at 2009-06-18T09:12
at 2009-06-18T09:12

By Hamiltion
at 2009-06-22T03:10
at 2009-06-22T03:10

By Donna
at 2009-06-25T12:23
at 2009-06-25T12:23

By Suhail Hany
at 2009-06-25T20:28
at 2009-06-25T20:28

By Christine
at 2009-06-29T19:54
at 2009-06-29T19:54

By Olive
at 2009-07-02T14:27
at 2009-07-02T14:27

By Donna
at 2009-07-06T01:23
at 2009-07-06T01:23

By James
at 2009-07-06T11:09
at 2009-07-06T11:09

By Victoria
at 2009-07-06T15:17
at 2009-07-06T15:17
Related Posts
淺談指數型權證

By Suhail Hany
at 2009-06-04T14:26
at 2009-06-04T14:26
20090604 盤後閒聊

By Kama
at 2009-06-04T13:51
at 2009-06-04T13:51
6.3十大惡人、三大散戶籌碼分析圖/Job

By Leila
at 2009-06-04T08:49
at 2009-06-04T08:49
2009.06.04 盤中閒聊

By Olive
at 2009-06-04T01:08
at 2009-06-04T01:08
這幾個BLOG的內容感覺挺威的耶.....

By Hardy
at 2009-06-03T23:00
at 2009-06-03T23:00