MC回測取消STOP - 財經

By Faithe
at 2011-06-05T00:52
at 2011-06-05T00:52
Table of Contents
請問我在用MC做回測時
有一段語法是
if condition then begin;
buy 1 contract next bar at price stop;
sellshort 1 contract next bar at price2 stop;
end;
如果 next bar 波動太大 例如 open > price and low < price2
可是我的想法是 只要留多倉就好 不打算當天反手
那我要怎麼寫才可以取消空單的觸價單
謝謝各位解答
--
有一段語法是
if condition then begin;
buy 1 contract next bar at price stop;
sellshort 1 contract next bar at price2 stop;
end;
如果 next bar 波動太大 例如 open > price and low < price2
可是我的想法是 只要留多倉就好 不打算當天反手
那我要怎麼寫才可以取消空單的觸價單
謝謝各位解答
--
Tags:
財經
All Comments

By Jack
at 2011-06-08T06:17
at 2011-06-08T06:17

By Rachel
at 2011-06-11T00:41
at 2011-06-11T00:41

By David
at 2011-06-14T19:05
at 2011-06-14T19:05

By William
at 2011-06-17T15:31
at 2011-06-17T15:31

By Michael
at 2011-06-21T02:17
at 2011-06-21T02:17
Related Posts
市場真的就這樣??!!

By Barb Cronin
at 2011-06-02T22:34
at 2011-06-02T22:34
市場真的就這樣??!!

By Anonymous
at 2011-05-31T07:14
at 2011-05-31T07:14
市場真的就這樣??!!

By Emily
at 2011-05-30T23:23
at 2011-05-30T23:23
市場真的就這樣??!!

By Agatha
at 2011-05-30T21:45
at 2011-05-30T21:45
市場真的就這樣??!!

By Susan
at 2011-05-30T20:17
at 2011-05-30T20:17