PureBytes Links
Trading Reference Links
|
Hi Ian,
You on TS6 or TS7?
Sell is now used to exit a long, not take a short position.
Use SellShort instead.
And exitshort is now BuyToCover.
>This is driving me nuts! It seems so simple but I'm obviously doing
>something wrong. Would much appreciate a pointer or a whack over the
>head with a stick!
>
>I'm using 5 min bars and simply trying to sell an opening gap and cover
>at the close of the previous day. Here's the code:
>
>vars: stop1(0);
>if date>date[1] and open>close[1] then begin
> sell this bar at close;
> stop1=close[1];
>end;
>exitshort at stop1 stop;
>
>
>Ian
|