Tradestation trailing stop and exit strategy

This is a discussion on Tradestation trailing stop and exit strategy within the Trading Software forums, part of the Commercial category; Hi, A couple of questions about entering orders and EasyLanguage in Tradestation 7.... What I want to do is place ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Feb 7, 2004, 4:19pm   #1
 
proxy's Avatar
 
8 Posts
Joined Jan 2004
Tradestation trailing stop and exit strategy

Hi,

A couple of questions about entering orders and EasyLanguage in Tradestation 7....

What I want to do is place an order via the matrix order screen and when the trade is executed have a trailing stop loss automatically placed. I don't want to have to manually do this, I want to be able to place the trade and move on to look for the next opportunity and if the trade gets executed know that the trailing stop loss will have been applied. Is this possible?

Also, is it possible to write some kind of exit strategy (more sophisticated than just a plain stop loss) in EasyLanguage and have that applied to a trade which has been manually placed? I don't want to automate the entry to the trade as it is discretionary, but I would like to implement an automated exit strategy. Is this possible? I kind of want to associate an exit strategy with a stock and have it become automatically activated if a trade is executed.

Finally, I've been reading through the EasyLanguage manual and it makes reference to the fact that orders are sent at the close of the current bar or at the open of the next bar. Does this mean that it is impossible to send an order within the current bar?

Cheers,

Proxy
proxy is offline   Reply With Quote
Old Feb 7, 2004, 5:58pm   #2
The Staff are paid members that perform various roles such as editorial, advertising, support or technical work.
 
Trader333's Avatar
Joined Jan 2003
I cannot speak about TS7 specifically because I dont use it but it is possible to write an application in Easylanguage that would automate your exit. If you were Long all it would need to do this is have a Line in that says something like:

If marketposition = 1 and Loss >= 15 points then exitlong ("Ex L") this bar at close;

You would have a similar line for a Short position.

And you are right that the signal to close the trade is at the close of the current bar or open of the next bar unless this has changed but if so I am not aware of it.

There may be the ability to write an indicator that would exit your trade immediately but this is not possible in TS2000i as all orders are sent via a "Signal" and not an "Indicator"


Paul
Trader333 is offline   Reply With Quote
Old Sep 10, 2004, 7:56am   #3
 
a_gnome's Avatar
Joined Nov 2003
You could write a general Easy Language exit strategy, including initial stop levels and trailing stops etc and once you are in a position you simply apply the exit strategy to the chart. This is not fully automated as you actually have to apply the strategy but it is the next best thing as it allows you to walk away from the screen and have your exit strategy implemented.

As far as exiting on the close of the bar is concerned, it is correct that all systems (as opposed to indicators) are implemented on the close of each bar. Of course if you are working a stop order this is acted on intrabar so if your exit strategy in TS8 for example was:

if MarketPosition=1 then Sell("Long Exit") next bar at EntryPrice - 10 on stop;

then this would work a conventional stop order 10 points from the entry price which would be triggered immediately your price was hit rather than on the close of the bar. As mentioned above you could also add any number of trailing exits or profit targets to the EL code which would then all be automatically implemented.

Hope this helps.
__________________
"A trend is statistically more likely to continue than to reverse" - Linda Raschke
a_gnome is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
IB Trailing stop? rossored Brokerages 13 Jun 3, 2009 5:50pm
Automated trailing stop order for spreadbets kolompaar Spread Betting & CFDs 10 May 29, 2007 11:14pm
fixed stop loss vs. a trailing stop reactor Psychology, Risk & Money Management 7 Jul 14, 2003 12:54pm
Trailing stop IB oatman Brokerages 3 Jun 30, 2003 6:02pm
what is a trailing stop-loss? grubs50 First Steps 17 Jun 13, 2003 3:55pm

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)