PureBytes Links
Trading Reference Links
|
Here's what I use in TS4 to emulate SetExitOnClose:
If Mp > 0 And T = 1600 Then ExitLong On Close;
If Mp < 0 And T = 1600 Then ExitShort On Close;
-----Original Message-----
From: foolsgold [mailto:foolsgold0@xxxxxxx]
Sent: Monday, October 07, 2002 2:38 AM
To: Brian
Cc: List, Omega
Subject: Re[2]: Close all trades at end of doy question
Hello Brian,
Thanks for your prompt reply,
I once again forgot to mention the version I use, TS4.
When I tried using SetExitOnClose on TS4 I got a message "Word not
recognized by easylanguage."
I assume it must only work from TS5 on.
regards
foolsgold
B> Put this at the end of your code. Make sure it gets executed for
everybar.
B> This replaces that checkbox.
B> SetExitOnClose;
B> -----Original Message-----
B> From: foolsgold [mailto:foolsgold0@xxxxxxx]
B> Sent: Monday, October 07, 2002 12:27 AM
B> To: omega-list@xxxxxxxxxx
B> Subject: Close all trades at end of doy question
B> In an effort to have my systems code as open as possible,
B> I am looking for a way using easylanguage to replace using the "Close
B> all trades at end of day session" check box.
B> Any help will be appreciated
B> foolsgold
|