[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TS intraday language question



PureBytes Links

Trading Reference Links

thanks for that .. it works fine .. turns out my problem is actually when I say " If Marketposition=-1 then Buy to cover at (openD(0) + 2) stop";  {TS 7.1}
.. I get an error that says that I have to have this stop order executed on the next bar  .. which is useless since by then the market may be way above my stop price
 
----- Original Message ----- 
From: "foolsgold" <foolsgold0@xxxxxxx>
To: "Chris Evans" <evanscje@xxxxxxxxxxxxx>
Cc: "Omega List" <omega-list@xxxxxxxxxx>
Sent: Saturday, September 27, 2003 1:12 AM
Subject: Re: TS intraday language question


> Hello Chris,
> You didn't say what version you are using,
> TS will accept, if close>open then buy this bar on close; on Daily
> data, or, if CloseD(0)>OpenD(0) then buy on close; on Intraday data.
> Remember though CloseD is date dependant and will give you the close
> at midnight if your data goes through the night.
> best regards
> foolsgold
> 
> CE> I'm trying to say: - If the close of the day >open of the day  (CloseD(0)>OpenD(0))  then buy the market at the close .. Can I do that?
> CE> CJE
>