Morning Option Pullback Indicator

benjaminbarch 已更新   
I designed this indicator to help me identify Option CALL and PUT signals for the QQQ and SPY on the 1 min chart.

Summary of how it works
1. It identifies the Pre-Market channel High and Low and draws green and red lines for the day at these levels.
2. Waits for a morning or afternoon sessions breakout/breakdown of price out of that channel.
3. The buy a CALL or PUT signal is when price pulls back to the EMA Medium line after breaking out of the channel.
4. Settings allow adjusting of when the signal happens
5. EMA Short (5) and EMA Medium (20) must stay apart for a selectable number of bars
6. For a CALL signal, the Price and EMA Medium (20) must be above the Pre Market High line when price pulls back to EMA Medium (20) line
7. There is a selectable adjustment to allow the signal to trigger when the price comes within a close enough range of the EMA Medium and PM High lines
8. There is a TICK.US filter that you can use to only signal a CALL when the TICK.US 10 min chart shows the average of the EMA5 and EMA20 is over 100
9. It has Buy and Sell signal Alerts and user adjustable Stop Loss and Profit Taker settings.
10. EMA Settings are adjustable and can show up to 3 EMA's on the chart. I personally like the EMA5 and 20. Others may use something similar like 9 and 21. It's user selectable.
* Updated screen shot for indicator
* Fixed a bug when calculating High/Low Pre-Market lines. Now uses Open or Close of the candle instead of just Close. This happens when the open of the next candle is higher than what just closed. If the Open of this new candle makes a new PM high, then use the new high calculation.
EMA names in settings now display individual Short, Medium, and Long names instead of all just being called EMA
* Added Trading Days of the week Selection in Settings. This way you can turn off signaling on Friday's for instance.
* Commented out Afternoon Session code as it's really not part of this morning process
* Added exit Verbose data to show how many points were Profit/Loss
* Added an option to force a sell signal at 3:59pm each day if we're still in a trade
* Settings - Added the ability to change the color of the Signal, Profit, and Loss boxes
* Removed "Padding Option" for Price to PM Edges. It was no longer needed since implementing the % of PM Spread setting a few versions ago. This Padding option was only confusing and complicating the script now. It was redundant and so was removed.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。