請問HTS時間停損 - 財經

By Elizabeth
at 2011-08-03T23:02
at 2011-08-03T23:02
Table of Contents
※ 引述《harold1018 ( )》之銘言:
: 如果是多單 我希望買入 兩支K棒後無論如何自動賣出
: 請問應該怎麼寫呢
: 我猜可能類似這樣---
: if marketposition=1 Then
: ????
: Exitlong this bar at market
: end if
: 可是還是想不出該怎麼辦= =+
: 煩請高手解答!! 感謝你!!!
if marketposition = 1 and BARSSINCEENTRY(0)=2 then
Exitlong this bar at market
end if
有陣子沒寫HTS了 不過BarsSinceEntry函數用法我記得是一樣的
try it
--
: 如果是多單 我希望買入 兩支K棒後無論如何自動賣出
: 請問應該怎麼寫呢
: 我猜可能類似這樣---
: if marketposition=1 Then
: ????
: Exitlong this bar at market
: end if
: 可是還是想不出該怎麼辦= =+
: 煩請高手解答!! 感謝你!!!
if marketposition = 1 and BARSSINCEENTRY(0)=2 then
Exitlong this bar at market
end if
有陣子沒寫HTS了 不過BarsSinceEntry函數用法我記得是一樣的
try it
--
Tags:
財經
All Comments

By Dinah
at 2011-08-08T16:26
at 2011-08-08T16:26
Related Posts
請問HTS時間停損

By Hedda
at 2011-08-03T22:00
at 2011-08-03T22:00
群益MC的台指資料只能輸出到 20100320?

By Rachel
at 2011-08-03T15:23
at 2011-08-03T15:23
用MT4輸出 分K的外匯資料的問題

By Isabella
at 2011-08-03T14:24
at 2011-08-03T14:24
聚財網的資料匯入

By Daph Bay
at 2011-08-02T23:28
at 2011-08-02T23:28
刪除 時間項的 中文上午 08:46:00

By George
at 2011-08-02T21:28
at 2011-08-02T21:28