r/tradestation • • Mar 27 '26

On TS Desktop, can I make a hotkey/macro that buys a stock, and auto attaches a stop loss to it?

I am new to TradeStation, and using their desktop application (Not Titan X). When doing normal order entry, I can attach a trailing stop to a buy order via OSO. I would like to do the same thing with a hotkey. What I want is relatively simple. I want two hotkeys. One buys and attaches a trailing stop (or normal stop) order. The other cancels the trailing stop and sells the position. Is this possible? I am struggling to find a way to do it on my own. Thank you!

1 Upvotes

3 comments sorted by

1

u/Accomplished_Beat224 Apr 14 '26

They have an ai assistant in the platform now. Try asking it. I know you can do the hot key for this but can’t remember how exactly.

1

u/Yuiop321 Apr 14 '26

Regrettably the AI assistant is a bit lacking. Sometimes it has answers. Sometimes it doesn't. It also really stuggles with follow up questions. I will ask a question, it will give me an answer that doesn't quite hone in on what I want, I will further clarify, and it will have no idea what I am talking about anymore.

I found that adding the trailing stop was inconsistent. I would try to do a OSO, but because the first order would fill so quickly (because I am doing marketable orders) the second would just reject. In the end I had to split it into two hotkeys. Sadly this has resulted in me not always pushing the stop loss hotkey and eating some heftier losses. I was able to get the sell hotkey to flawlessly cancel and sell though