Thinkorswim strategies: can you copy the script for autotrading?

daredevil117

New member
Hi guys. New member here. Ive been using TOS studies with scripts and have been backtesting the strategies section and found a strategy i really like with my trading style.
I want to automate the strategy to trade with TOS or TD but when i called their programmers they said they couldn't build a script for me to autotrade the built in TOS strategy because of liability issues and they could get sued because they'd essentially be giving me financial advice without a license. They suggested auto trading through ninjatrader but routing it to their market makers. I have no programming experience and dont want to risk building my own autotrading system being buggy, would make more sense to use the one they already have built in.
My question is this: does anyone have access to TOS strategy scripts or any experience with a good autotrading software or programmer i could link up with to build the script using the TOS strategy parameters?

I know its a lot there so thanks in advance!

- Evan
 

daredevil117

New member
ThinkorSwim doesn't have support for auto trading at the moment. You can only backtest a strategy.

Indeed. However i would like to use their strategy script to plug into a subsidiary or 3rd party and would like to know if their strategies script can be copied or if anyone has access to strategy scripts. Because it takes about 50 trades a day or more with the signals and i want to take advantage of it. Part of its success is due to the higher frequency and premarket trading. I want to automate it as much as possible because i like the strategy.
 

spencer13579

New member
Hello, just out of curiosity, would it be possible to create some sort of chart study to plot your entries and exits? Instead of entering into a trade and then manually creating a price level for your entry point, something that will automatically do it for you when a buy/sell order is triggered. Thought just crossed my mind, wondering if it was possible.
 

spencer13579

New member
No, I don't think auto trading is the right term. Just something that would create a price level after I execute a buy order or sell order. Lets say I create a buy order for 10 AMD shares at $83.24. The order executes, and a price level, named say, "Entry", is created on the chart at $83.24. Same thing the other way around. I sell 10 AMD shares at $84.50. Price level, "Profits Took" at $84.50. I mean, it takes 2 seconds to do it manually, I just thought it would be cool if I had something that would do it for me. Might help to keep track of how good your entries and exits really are.

I won't let other people manage my money, I sure ain't gonna let a trading platform do it. (;
 

BenTen

Administrative
Staff member
Staff
VIP
@spencer13579 Thank you for clarifying. Have you tried to enable the "Show Trades" option in your chart?

2HHsyOn.png
 

tradebyday

Active member
@spencer13579 If you pull up the options contract code (ie. .SPY201012C343 ) by putting the options contract code into the ticker symbol area for your chart you can see the options price chart for that specific contract and then with enabled show trades you can see the trades you made. Set along side the ticker symbol chart to mark manually if you wish
 

BigBuzz

New member
Hi - New member here. I'm trying to do true automated trading. Yes, I understand the dangers. Yes, I understand that Think or Swim does not allow true autotrading, but only conditional orders. In previous discussions of this, some have suggested TradingView as supporting algo trading. I have found many companies that support bitcoin auto-trading with TradingView, but I really want to auto-trade stocks on NYSE and NASDAQ using custom indicators from ToS or TradingView, preferably on a time scale of minutes. Can you do this through TradingView? How? Is any particular broker needed?
 

mashume

Well-known member
VIP
Lifetime
I've been exploring the APIs for close to two years on and off using some python notebooks (I'm a Python / SQL developer by day). You can do a lot, but the thinkscript scripts don't (obviously) run in python, so you'll need to be adept at programming the indicators you want to use in whatever language you use to access the APIs.

mashume
 

Chadnash

New member
No.. I’ve moved my strategies over to Ninja Trader which can connect to TD Ameritrade or any other broker and the strategy backtesting/ optimization feature is much better than TDA.

Chad
NashTech.xyz
 

Chadnash

New member
Hi @Bobbydigital83,

well... you might have to explain more or ask your developer to explain more what he means by “didn’t work”. Is he talking about the feed for actual stock data in real time? If so, I had no problems as long as I chose the multi broker license of Ninja Trader.

The ondemand feature with thinkorswim is pretty limited from my experience working with NinjaTrader. For starters, you can’t integrate or pull in any existing data into thinkorswim (say for your strategy you wanted to connect to an external API or maybe even a text file on your computer for example). NinjaTrader allows this because it’s built on top of .net / you can add and create these strategies directly in C# (or really any .net supported language).

I have a coded strategy running automatically on NinjaTrader through TDA so you might consider exactly what feed he’s referring too (or have our team at NashTech.xyz or another code it for you).

The biggest disadvantage for my using TOS backtesting was that there was no optimization engine... so for example you want to back test let’s say the SMA 9 crossing below etc... with a profit target of $10 and a stop loss of $5. With the strategies in NinjaTrader optimization it can run all night on our servers and run (sometimes hundreds of thousands) of combinations of your variables so maybe in that example it would be very simple and you specify minimum SMA of 8 and maximum of 15... and maybe minimum of $10 profit target and maximum of $50 etc... it will create an iteration for every single combination... so it will test SMA 8 with profit target of 10, SMA 9 with profit target of 10, SMA 10, with profit target of 10... then it will change to sma back to 8 but profit target of $15 (if you set that variable in increments of $5), sma 9 with profit target of 15 etc... you get the point. You wake up basically a day later to the absolute best case scenerios and look through all the trades to see best algo. From there in ninja trader you set TDA as your connection and enable the strategy as live against that account. For futures I switched to using ninja trader broker through one of their two firms as the cost is much cheaper commission per contract.

Chad
NashTech.xyz
 

Similar threads

Top