PureBytes Links
Trading Reference Links
|
> Hi, thanks to Hans I have nearly got what I need. I am sure someone can
> solve two little problems..
>
> Below are 3 trades, Buy 2 cts, Buy 1ct, and then sell 1 ct, to leave me
> still long 2. Can someone point out why the exitlong statement is
> incorrect. According to the system report on the 19march I end up selling
> 2cts, not 1 as I want to.
>
> The other qu is how would I change from "on open, on close" to a specific
> price?
well, somtimes you may try to have a read in the manual or the online help
> Many thanks for the assistance.
> Ian
>
> =======================
> if date crosses above
> 990226 -1
> then
> buy 2 contracts on close;
>
> if date crosses above
> 990301 -1
> then
> buy 1 contract on open;
>
> if date crosses above
> 990318 -1
> then
> exitlong 1 contracts on open;
TRY THIS:
exitlong 1 contracts TOTAL on open;
rgds hans
|