Can you set a alert on TOS by date?


0
0

I’m looking for an easy way to set alert’s by expiration date when placing verticals etc. by the date of expiration.

This way I won’t miss the expiration date and possibly get assigned the stock.

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on December 25, 2019 10:56 am
137 views
0
Private answer

You will need to set a Study Alert, which is based on the OPRA code of the option contract with the soonest expiration. Set the time frame of the Study Alert to Day and be sure the "Trigger If:" condition is set to "True". Screenshot attached. Here is the code:

plot trigger = GetDaysToExpiration() < 2;

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on December 26, 2019 7:06 pm