均線策略 D1 - 期貨

By Christine
at 2015-10-21T15:35
at 2015-10-21T15:35
Table of Contents
※ 引述《qazwsxee (彥)》之銘言:
: 之前受到獵人大的系統測試啟發
: 小弟也來分享一個月試試吧
: 類型: 順勢系統、均線進出
想當年哥也是從一條均線起家....
心血來潮叫出了哥當年寫的第一支策略
沒想到竟然也是默默地創了新高
原來世界一直都沒有變, 只有我們的心一直都在浮動
台指30分K, 純順勢, 非多即空
Inputs:Period(100),filter(10);
Vars:uppBound(0),lowBound(0);
uppBound=XAverage(High,Period);
lowBound=XAverage(low,Period);
If close > uppBound then
begin
Buy to Cover ( "ShortExit" ) next bar at (HighestFC( high, filter)) stop ;
Buy ( "LongEntry" ) next bar at (HighestFC( high, filter)) stop ;
end;
If close < lowBound then
begin
Sell ( "LongExit" ) next bar at (LowestFC( low, filter)) stop ;
Sell short ( "ShortEntry" ) next bar at (LowestFC( low, filter)) stop ;
end;
https://www.dropbox.com/s/ftjaoxodf5hlfcm/111.jpg?dl=0
--
買馬根本就是一門統計學
多出一份力,贏的機會就多一分
其實我一直不是在看哪匹馬行,而是在留意哪匹馬不行
賭錢賭一次靠運氣,如果要長賭就要靠技術了
~阿酷~
--
: 之前受到獵人大的系統測試啟發
: 小弟也來分享一個月試試吧
: 類型: 順勢系統、均線進出
想當年哥也是從一條均線起家....
心血來潮叫出了哥當年寫的第一支策略
沒想到竟然也是默默地創了新高
原來世界一直都沒有變, 只有我們的心一直都在浮動
台指30分K, 純順勢, 非多即空
Inputs:Period(100),filter(10);
Vars:uppBound(0),lowBound(0);
uppBound=XAverage(High,Period);
lowBound=XAverage(low,Period);
If close > uppBound then
begin
Buy to Cover ( "ShortExit" ) next bar at (HighestFC( high, filter)) stop ;
Buy ( "LongEntry" ) next bar at (HighestFC( high, filter)) stop ;
end;
If close < lowBound then
begin
Sell ( "LongExit" ) next bar at (LowestFC( low, filter)) stop ;
Sell short ( "ShortEntry" ) next bar at (LowestFC( low, filter)) stop ;
end;
https://www.dropbox.com/s/ftjaoxodf5hlfcm/111.jpg?dl=0
--
買馬根本就是一門統計學
多出一份力,贏的機會就多一分
其實我一直不是在看哪匹馬行,而是在留意哪匹馬不行
賭錢賭一次靠運氣,如果要長賭就要靠技術了
~阿酷~
--
Tags:
期貨
All Comments

By Liam
at 2015-10-24T19:33
at 2015-10-24T19:33

By Hedwig
at 2015-10-28T18:30
at 2015-10-28T18:30

By Anonymous
at 2015-10-28T20:33
at 2015-10-28T20:33

By Freda
at 2015-11-02T15:51
at 2015-11-02T15:51

By Aaliyah
at 2015-11-05T03:17
at 2015-11-05T03:17

By Edith
at 2015-11-06T03:45
at 2015-11-06T03:45

By Dinah
at 2015-11-10T17:32
at 2015-11-10T17:32

By Sarah
at 2015-11-11T03:36
at 2015-11-11T03:36

By Isabella
at 2015-11-13T03:01
at 2015-11-13T03:01

By Ophelia
at 2015-11-14T06:12
at 2015-11-14T06:12

By Sierra Rose
at 2015-11-16T01:12
at 2015-11-16T01:12

By Jake
at 2015-11-18T16:58
at 2015-11-18T16:58

By Delia
at 2015-11-20T03:30
at 2015-11-20T03:30

By Jacob
at 2015-11-25T02:17
at 2015-11-25T02:17

By Hamiltion
at 2015-11-27T09:09
at 2015-11-27T09:09

By Leila
at 2015-11-29T01:33
at 2015-11-29T01:33

By George
at 2015-12-01T06:13
at 2015-12-01T06:13

By Emma
at 2015-12-04T20:26
at 2015-12-04T20:26

By Daniel
at 2015-12-09T09:32
at 2015-12-09T09:32

By Elma
at 2015-12-13T02:17
at 2015-12-13T02:17

By Faithe
at 2015-12-16T22:36
at 2015-12-16T22:36

By Annie
at 2015-12-18T23:37
at 2015-12-18T23:37

By Annie
at 2015-12-19T22:40
at 2015-12-19T22:40

By Oscar
at 2015-12-21T19:07
at 2015-12-21T19:07

By Megan
at 2015-12-22T16:23
at 2015-12-22T16:23

By David
at 2015-12-23T10:23
at 2015-12-23T10:23

By Christine
at 2015-12-24T03:24
at 2015-12-24T03:24

By Gilbert
at 2015-12-25T21:08
at 2015-12-25T21:08

By Candice
at 2015-12-26T19:43
at 2015-12-26T19:43

By Megan
at 2015-12-29T00:38
at 2015-12-29T00:38

By Ursula
at 2015-12-31T14:12
at 2015-12-31T14:12

By Hardy
at 2016-01-03T21:05
at 2016-01-03T21:05

By Edward Lewis
at 2016-01-07T20:13
at 2016-01-07T20:13

By Donna
at 2016-01-10T07:26
at 2016-01-10T07:26

By Andy
at 2016-01-10T16:58
at 2016-01-10T16:58

By Cara
at 2016-01-13T08:03
at 2016-01-13T08:03

By Olga
at 2016-01-14T01:48
at 2016-01-14T01:48

By Charlie
at 2016-01-18T21:47
at 2016-01-18T21:47

By Liam
at 2016-01-23T04:04
at 2016-01-23T04:04

By Olga
at 2016-01-26T10:22
at 2016-01-26T10:22

By Barb Cronin
at 2016-01-28T04:54
at 2016-01-28T04:54

By James
at 2016-01-29T10:39
at 2016-01-29T10:39

By Audriana
at 2016-02-03T02:04
at 2016-02-03T02:04
Related Posts
104年10月21日 期貨收盤價&結算價一覽表

By Frederic
at 2015-10-21T15:32
at 2015-10-21T15:32
104年10月21日三大法人買賣金額統計表

By Adele
at 2015-10-21T15:31
at 2015-10-21T15:31
2015/10/21 盤後閒聊

By Megan
at 2015-10-21T13:45
at 2015-10-21T13:45
2015/10/21 盤中閒聊

By Andrew
at 2015-10-21T08:12
at 2015-10-21T08:12
均線策略 D1

By Queena
at 2015-10-20T23:59
at 2015-10-20T23:59