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

Re: Coding a Stop



PureBytes Links

Trading Reference Links

If marketposition = 1 and C > C[1] then
    Sell(test) at C - x Stop;

If marketposition = -1 and C < C[1] then
    Buy(test) at C + x Stop;


This is close. I haven't referred to other systems to check.

Jim Bronke
Phoenix, AZ



----- Original Message -----
From: "Mike Higgs" <moongateca@xxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Tuesday, October 30, 2001 8:30 PM
Subject: Coding a Stop


: Can the following be coded for TS4?  If it can, could someone suggest how?
:
: If long and today's close > yesterday's close, then stop = today's close -
x
: points or dollars
: If short and today's close < yesterday's close, then stop = today's close
+
: x points or dollars
:
: Regards,
: Mike
:
: