OPEN-SOURCE SCRIPT

Morning Option Pullback Indicator

Mis à jour
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.
Notes de version
* Updated screen shot for indicator
Notes de version
* 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.
Notes de version
EMA names in settings now display individual Short, Medium, and Long names instead of all just being called EMA
Notes de version
* 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
Notes de version
* Settings - Added the ability to change the color of the Signal, Profit, and Loss boxes
Notes de version
* 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.
optionspullback

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité