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

Re: Code help



PureBytes Links

Trading Reference Links

how about

if tradesignal and 
   positionprofit(1) < 0 then begin
      {buy or sell}
end;

cheers,

allister



---------- Original Message ----------------------------------
From: Tom <tgsii@xxxxxxxxx>
Date:  Sat, 30 Mar 2002 11:04:31 -0800 (PST)

>Anyone have any ideas how to code a situation where
>you would not take a trade if the last trade was
>profitable?
>
>Thanks.
>
>Tom
>
>