Buy ATM Option When TTM_Squeeze Indicator Alerts


Category:
0
0

Hi Pete,

I wondering if it’s possible to write a code for a strategy that has the following criteria:

Entry: Buy current expiration (or two weeks out series) weekly ATM Call/Put when TTM_Squeeze triggers and both 20 EMA and 50 EMA are above/below each other.

Exit: Sell ATM option (bought above) when price of contract has doubled (i.e. 100% profit).

 

Note: I’m aware that the exit condition might need to be setup separately and linked to the entry condition once it’s set.

 

Thank you in advance.

Gus

RESOLVED
Marked as spam
Posted by (Questions: 4, Answers: 2)
Asked on February 11, 2021 2:53 pm
411 views
0
Private answer

Not using the standard tools on Thinkorswim. Meaning there is no way to create any custom solution that can place an order for a particular option contract. The specific option contract must be selected first. Then you create an order and within that order you can include some custom code that triggers when that order is sent to market.

Marked as spam
Posted by (Questions: 37, Answers: 4086)
Answered on February 11, 2021 3:39 pm