Stop order on Trendline Break


Category:
0
0

hi Pete,
its possible to create an alert on “break of trendline” by right clicking on the trendline.   Is there a way (study or script) to create an order on break of trendline?  Perhaps a Stop that triggers when broken?  If not, any way for the Alert to trigger an order?

 

TIA

RESOLVED
Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on November 26, 2019 7:06 am
128 views
0
Private answer

No, the drawing tools on Thinkorswim cannot be reached from the code. We cannot create, modify or read data from any drawing tools on Thinkorswim.

To create custom code that plots the equivalent of a trendline is possible. However that code would require the use of recursive variables. Recursive variables are not supported by any of the tools that would automate the execution of orders on Thinkorswim.

So in closing, the answer to your question is an absolute no. Not possible at this time.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 26, 2019 8:13 am