請教會HTS的高手 - 期貨
By Damian
at 2011-08-02T21:46
at 2011-08-02T21:46
Table of Contents
Parameter:Length(30)
Condition1=High cross over average(close[1],Length)
If condition1 then buy this bar at average(close[1],Length) stop
end if
我希望當價格一旦超過前一根K棒30均線(不在意收高或低),就在那個價格買入
請問應該怎麼寫才對呢 (上面的寫法跑不出我要的結果 冏)
另外請教
average(close[1],Length) 與 average(close,Length)[1]
有差異嗎@@" 謝謝!!
--
Condition1=High cross over average(close[1],Length)
If condition1 then buy this bar at average(close[1],Length) stop
end if
我希望當價格一旦超過前一根K棒30均線(不在意收高或低),就在那個價格買入
請問應該怎麼寫才對呢 (上面的寫法跑不出我要的結果 冏)
另外請教
average(close[1],Length) 與 average(close,Length)[1]
有差異嗎@@" 謝謝!!
--
Tags:
期貨
All Comments
Related Posts
我如何勸勸我沉迷期貨的妹妹?
By Anonymous
at 2011-08-02T19:44
at 2011-08-02T19:44
三大法人&大額交易人期權資料 2011/8/2
By Damian
at 2011-08-02T15:17
at 2011-08-02T15:17
100年08月02日 期貨收盤價&結算價一覽表
By Callum
at 2011-08-02T14:50
at 2011-08-02T14:50
2011/08/02 盤後閒聊
By William
at 2011-08-02T13:45
at 2011-08-02T13:45
碩士炒股破產 超市偷飲料被逮
By John
at 2011-08-02T10:26
at 2011-08-02T10:26