請教一個程式碼 - 財經

By Anonymous
at 2012-03-08T13:00
at 2012-03-08T13:00
Table of Contents
If MarketPosition <> 0 Then Begin
If Close < Lowest(Close, 5) Then Begin
ExitLong Next Bar at Market;
ExitShort Next Bar at Market;
End;
End;
收盤價創最近5個Bar之新低
同時結清多頭與空頭部位
請教幾個問題
1.這種策略對於加碼順勢交易,是否會產生問題
2.Lowest 的意思是解釋成"最低"嗎?
3.(1,-1,0) (買進,賣出,無部位) 這是固定的參數嗎?
--
Tags:
財經
All Comments

By George
at 2012-03-12T19:27
at 2012-03-12T19:27

By Eden
at 2012-03-13T09:47
at 2012-03-13T09:47

By Barb Cronin
at 2012-03-17T08:48
at 2012-03-17T08:48

By Queena
at 2012-03-20T12:05
at 2012-03-20T12:05

By Caroline
at 2012-03-23T10:31
at 2012-03-23T10:31

By Zenobia
at 2012-03-25T16:39
at 2012-03-25T16:39
Related Posts
X-程式交易全紀錄3/6

By Franklin
at 2012-03-06T20:43
at 2012-03-06T20:43
自動下單需求

By Puput
at 2012-03-06T18:32
at 2012-03-06T18:32
X-程式交易全紀錄3/5

By Joe
at 2012-03-05T21:08
at 2012-03-05T21:08
X-程式交易全紀錄12/30

By Puput
at 2012-03-05T19:29
at 2012-03-05T19:29
不用腦袋的賣法能賺錢嗎?

By Ophelia
at 2012-03-03T16:54
at 2012-03-03T16:54