The ToS platform does not provide a means for auto-trading.Hi
I looking for auto buy and sell my whole watchlist in my set condition ? Is that possible?
thank
# TD Ameritrade IP Company, Inc. (c) 2007-2022
#
input ConsecutiveBarsDown = 3;
input price = close;
def bars_down = if price < price[1] then bars_down[1] + 1 else 0;
plot sellarrow = bars_down >= ConsecutiveBarsDown;
sellarrow.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
input ConsecutiveBarsUp = 3;
def bars_up = if price > price[1] then bars_up[1] + 1 else 0;
plot buyarrow = bars_up >= ConsecutiveBarsUp;
buyarrow.SetPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_UP);
The ToS platform does not support auto trading. The AddOrder function is used for backtesting theoretical trades.in auto trading, how would you enter the stock symbol? I have not done it before. how would the system knows what stock to buy when the condition met?
No, ToS does not offer automation to that level.Hello,
I am trying to create an automation button that will create buy or sell on the current market price on the current active candle for 1 contract as default. Anyone knows how can add the script and create the button to speed up the process creation buying or selling?
Thank you
You are correct. The ToS app limits the number of lines that you can stuff into the condition wizard.New to TOS. I wrote a strategy to backtest that I'm happy with but it contains many conditions and multiple buy/sell signals. I would like to implement as an automated or semi-automated trading bot. I've looked into the Study Order Condition using Thinkscript but it seems like that is more for one-two liners maybe? Is there another better option that I have not considered? Should/Can I create plot signals from a custom study that can be used to trigger the trades?
Thank you in advance.
The ToS platform allows you to backtest your strategies and review hypothetical results.How do we convert this code
https://usethinkscript.com/threads/looking-for-a-support-resistance-strategy.15429/
to auto place buy to open and sell to close orders?
Scan NASDAQ for stocks below $5, above 100,000 volume, over 20% price change from previous day close
Select top three stocks from scan
Apply buy and sell conditions to those three stocks
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
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.