About this template
Looking to open position 1/2 hr before close if these conditions are met:
- Bot didn't just close a position today.
- Symbols 9EMA is < 20SMA as of yesterday.
- Price in lower 1/2 of BB(9,1.4,SMA).
- MACD is bearish.
- Price decreased by 75c since yesterday.
- Earnings is more than 20 market days away.
If true, open Put Debit Spread:
- monthly at least 25 DTE
- long leg at 75 Delta
- short leg at 50 Delta
Also open 2nd long Put at same strike as debit spread.
Close both if:
- profit target hit - set in Bot Input
- stop loss hit - set in Bot Input
- Expiration is 10 market days away
* Tried this Bot between Aug & Sep of 2022 then I turned it off to work on it some more.
Bot updates:
12/22/22 - 8:30pm, changed Event time to 1 hour before close instead of 1/2 hour before close.
12/27/22 - Changed Positions per day & Position Max to 2. Got warning after it opened spread & then went to open long leg and couldn't.
12/29/22 - Fixed decision path on decision check for if Bot just closed a position today - had decision after going down Yes path & they should have been No path.