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

RE: EL code for system exits



PureBytes Links

Trading Reference Links

You wrote:

>If I want to see the name of the system signal that caused my trade to
>exit, on the Trade by Trade System Report, can't I just use the >following?
>
>If some_condition = True
>Then
>ExitShort("Stop_Loss") This Bar On Close;
>
>
>My code won't verify and I'm not sure what syntax is allowed.  If >someone
>could please let me know, I'd appreciate it.
>
>
>Regards,
>Craig

Reply:
Simple system I wrote with the condition being your your long(i.e.
marketposition = 1). This should do the trick for exit syntax in your
example.

Buy at the market;
If marketposition = 1 then Exitlong at close;


Randy Rehler
Houston TS User Group Leader