Thinkorswim AutoTrade Almost Question Chart Indicator


Category:
0
0

Hello, after watching this video, I was very excited to start making my own strategies and studies. However before doing that, I wanted to replicate what was done in the video… this is what I got so far.

However there is one modification I would like to make, which was for the strategies to have indicators on the chart. These small texts can be seen in the video at 26:16 &  27:40 and many other times. Not only will this let me see where exactly the strategy is triggering, but I would also like to be able to press ‘See Report’ such as the example here.

I tried adding the words “buy” and “sell” to the end of the addOrder statements however that did not help. This was based off of what TOS did in their built-in strategies.

Furthermore, we can see at 41:51 in the same video that a market order is being created and there is a conditions section. How can I do the same thing in (possibly updated?) the current version of TOS? this is what I see.

 

Any help would be greatly appreciated, thank you so much for creating these videos and decreasing the gap of financial illiteracy.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on June 26, 2018 10:40 pm
394 views
1
Private answer

Looks like you have made exactly the same mistake as a previous poster. Please take the time to read the details in this post and make adjustments to your code. https://www.hahn-tech.com/ans/question-on-autotrade-almost/

As to Conditional Orders. That is accessed exactly as shown in the video. If you don’t see that gear icon, contact TD Ameritrade. I had one other viewer mention that conditional orders are not enabled by default and you have to request it.

UPDATE: Some time after providing this solution I published a new video showing even more advanced applications of automated trading on Thinkorswim. Here is link to that video:

Thinkorswim Automated Round Trip Trades

Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on June 27, 2018 7:29 am
0
Was going to edit my post and I didnt see the comment button.. I saw that users post and I realized that my code was specifically for chart strategies and not a market conditional order. How can I create theoretical orders (chart strategy?) so I can see the report option and the small text when the condition is satisfied? Is this only possible once I have already created the conditional market order? p.s (I found the option to create the conditional order and it looks like it might be disabled in the OnDemand function)
( at June 27, 2018 11:44 am)
0

Ok, I think the questions you have here are due to some missing pieces. This video is the “super-advanced” video, on the topic of Strategies. If you have not watched the introductory, intermediate and advanced videos in this series you will be completely lost in this one.

So, read through this post: https://www.hahn-tech.com/ans/bollinger-bands-rsi-strategy/

Be sure to get all the way through to the very bottom of the post and VIEW ALL the videos I linked. But don’t miss the full scope of this post. Because this person made the exact same mistake in their code as you have. The cross above Bollinger band is incorrect in the exit condition. That will almost never trigger an exit and therefore you will not get any theoretical orders to plot.

( at June 27, 2018 12:14 pm)
0

Very well, thank you for your help!

( at June 27, 2018 12:23 pm)