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

Re: ela help



PureBytes Links

Trading Reference Links


Hi Mister,

Try this.

James Semmons

IF
CONDITION1 AND MARKETPOSITION<>1 THEN BEGIN
BUY("LONG-LIMIT") 1 CONTRACT AT H[1] LIMIT;
END;

IF
CONDITION1 AND MARKETPOSITION<>1 THEN BEGIN
BUY("LONG-MKT") 1 CONTRACT AT MARKET;
END;

IF
CONDITION3 AND MARKETPOSITION=1 THEN BEGIN
EXITLONG("EXIT-MKT") ALL CONTRACTS AT MARKET;
END;

IF CONDITION4  THEN BEGIN
EXITLONG("EXIT-STOP-LOSS") ALL CONTRACTS AT ENTRYPRICE*.975 STOP;
END;

IF CONDITION5 THEN BEGIN
EXITLONG("EXIT--STOP") ALL CONTRACTS AT ENTRYPRICE STOP;
END;




At 02:55 PM 3/5/98 +1100, Michael Artz wrote:
>For purposes of testing I need to ensure my system has exited the market
>on the last bar of the chart.
>But I also have alternative exit signals..... I am sure this is a simple
>question, but nothing I try works since one order is if xxx then
>exitlong at xxx stop?
>Help greatly appreciated
>
>

James Semmons with Eudora Pro Ver 3.0.5(32)  (573) 874-1822

jsemmons@xxxxxxxxxxxx

http://members.sockets.net/~jsemmons






  • References: