n天後賣出~語法該怎麼寫? - 財經

By Erin
at 2008-01-16T21:43
at 2008-01-16T21:43
Table of Contents
※ 引述《brockcheng ()》之銘言:
: 買的訊號產生後,
: 賣的訊號要10天後才能賣~
: 這個語法該怎麼寫?
: 我的賣出訊號:
: if Close=Lowest(Close,5) Then
: ExitLong ("Sell") This Bar on Close;
: 該怎麼加進去?
Inputs: Length(5), KeepDays(10);
if Close=Lowest(Close,Length) And barssinceentry > KeepDays Then
ExitLong ("Sell") This Bar on Close;
這樣寫有錯嗎?
我的程式裡還是有當天買當天賣的~呃~
--
: 買的訊號產生後,
: 賣的訊號要10天後才能賣~
: 這個語法該怎麼寫?
: 我的賣出訊號:
: if Close=Lowest(Close,5) Then
: ExitLong ("Sell") This Bar on Close;
: 該怎麼加進去?
Inputs: Length(5), KeepDays(10);
if Close=Lowest(Close,Length) And barssinceentry > KeepDays Then
ExitLong ("Sell") This Bar on Close;
這樣寫有錯嗎?
我的程式裡還是有當天買當天賣的~呃~
--
Tags:
財經
All Comments

By Sarah
at 2008-01-20T13:54
at 2008-01-20T13:54

By Lucy
at 2008-01-22T01:11
at 2008-01-22T01:11

By Delia
at 2008-01-24T06:12
at 2008-01-24T06:12
Related Posts
Tradestation 軟體

By Hedwig
at 2008-01-16T01:05
at 2008-01-16T01:05
急漲急跌

By Margaret
at 2008-01-13T19:38
at 2008-01-13T19:38
急漲急跌

By Sandy
at 2008-01-13T10:28
at 2008-01-13T10:28
n天後賣出~語法該怎麼寫?

By William
at 2008-01-12T20:11
at 2008-01-12T20:11
請問這本『高級技術分析』

By Liam
at 2008-01-10T13:33
at 2008-01-10T13:33