EntryPrice on study for placing order?


Category:
0
0

Hi Pete, I promise this will be my last question as this will determine if I keep using Thinkorswim or have to switch to something else.

I’ve been trying to automate closing my positions based on the ProfitTargetLX/SX and StopLossLX/SX strategies.

I converted them to studies and attempted conditional OCO orders, they never triggered. Internet searches say that EntryPrice() is only valid for strategies and not studies for live orders.

Is there an equivalent to EntryPrice that will trigger on a conditional, for example if I wanted to close a long:

ProfitTargetLX = EntryPrice + 0.002

and the conditional order is to close when High is greater or equal to ProfitTargetLX?

If this is not possible, do you know if MetaTrader5 will do it, or can recommend a platform that can?

Much thanks again for all of your help and blessings to you and yours

Marked as spam
Posted by Charlie Toonea (Questions: 3, Answers: 1)
Asked on March 26, 2026 6:30 pm
26 views
0
Private answer

I wish I had good news for you but I can confirm the trade automation tools on Thinkorswim are not able to handle the entry price. You have to know that information before you place the order, and use that value as an input parameter to the custom script you include in your exit orders.

I have zero experience with MetaTrader. So I can't say whether you can achieve your goals with that platform. But I do know that TradingView and TrendSpider are able to handle this sort of thing. But they do so in a completely different way than Thinkorswim.

Those platforms support fully automated trading systems, will all of the bells and whistles that come with that.

Each of them are web-based platforms, which means you can set up an automated system that essentially runs on their servers. So you don't have to be logged in while the executions are taking place.

Before you consider running a fully automated trading system I suggest you carefully consider the risk, and methods you will use to monitor the system. And be prepared to manually intervene WHEN something goes wrong. I wrote a brief article that describes some of the details you need to consider. You can find that article here:

https://www.hahn-tech.com/automated-trading-systems/

 

 

Marked as spam
Posted by Pete Hahn (Questions: 37, Answers: 4153)
Answered on March 26, 2026 6:38 pm