ToS does not provide the ability to buy or sell a group on stocks in one click.How can we multiple stock in thinkorswim 15 to 20 stock buy or sell together in one click ?
Please help
Last edited:
ToS does not provide the ability to buy or sell a group on stocks in one click.How can we multiple stock in thinkorswim 15 to 20 stock buy or sell together in one click ?
Please help
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
AddOrder is only for backtesting. It does not create real orders.I have the same issue, orders are not triggering. Can someone please look at my script and see if an issue is in the script? Orders do appear on the chart and show reports but not triggering. Thanks in advance.
Thank you for the response back. Do you know if TOS made a change in the last few months because I cannot add a buy trade order and separate short sale trade order for the same ticker in condition wizard? I was able to do that early this year but no longer.The ToS platform does not support automatic buy and sell orders.
Executing trades requires manual input from you.
While ToS provides the ability to set up a conditional order:
https://usethinkscript.com/threads/answers-to-commonly-asked-questions.6006/#post-80482
It still needs to be created manually, and it only executes once.
@samlee @jakin000000 @bkpshah @Kasper777 @firstuser @dominooch
@BAP @TRex50
Thank you for the response back. Do you know if TOS made a change in the last few months because I cannot add a buy trade order and separate short sale trade order for the same ticker in condition wizard? I was able to do that early this year but no longer.
Is there a way to have an automatic profit take and stop loss percentage for any option that I get into? I want to have an automatic 25% profit take and 15% stop loss for every option but I don't know how to make it in thinkscript.
I tried to use a code like this but it didn't work
# Automatic Profit Take and Stop Loss for Options
input profitTargetPercentage = 25; # 25% profit target
input stopLossPercentage = -15; # 15% stop loss
# Calculate profit target and stop loss levels
def profitTarget = close * (1 + profitTargetPercentage / 100);
def stopLoss = close * (1 + stopLossPercentage / 100);
# Create orders for profit target and stop loss
AddOrder(OrderType.BUY_TO_CLOSE, close >= profitTarget, Color.GREEN, name = "Profit Target");
AddOrder(OrderType.BUY_TO_OPEN, close <= stopLoss, Color.RED, name = "Stop Loss");
There are 3rd party services that do it for TDA/TOS so there has to be a way...
Schwab support is correct.I want to place an automated order to buy at the money call option when a condition (eg: 2 exponential moving averages cross each other on 5 min) satisfies. I know how to place the conditional order but Schwab team is saying I have to specify which call option to buy specifically. For example, buy SPY 497 CALL option when the moving averages crosses each other. But when the condition satisfies, at the money may be SPY 500 CALL. So I want to buy at the money which is SPY 500 call option automatically when the condition met. How do I do that?
Hi mate,Looking to make an automatic trading strategy where I look for stocks that are reporting earnings in aftermarket today (a given day), then those that are, see which ones, if any, spikes at least 4% quickly (such as 15 seconds into a new minute aka 4:00.15pm). If it does this 4+% gain within a minute, such as growing 4% in 30 seconds, then I'd like to buy that stock (make a limit buy) asap. Then, I'd like to sell the stock at the end of that minute period; if I bought the stock at 4:00.30pm (30 seconds into the minute), then sell the stock at 4:01pm. I'd like this script to run automatically as much as possible, look for each day's stocks with earnings being announced....
Any suggestions for how to accomplish this?
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.