OPEN-SOURCE SCRIPT
已更新 Session High and Low Indicator

This script is meant for stocks that have a pre-market session. It is meant to be used on the 1 min time frame. This script will draw a green line at the high of pre-market, and a red line at the low of pre-market and extend these lines across the regular session day
This makes it easy to see if price action during regular market has broken above pre-market high or broken below pre-market low.
The high/low skips any quick spikes in price action (similar to what happens at 8:30 am every day).
This makes it easy to see if price action during regular market has broken above pre-market high or broken below pre-market low.
The high/low skips any quick spikes in price action (similar to what happens at 8:30 am every day).
發行說明
This script is meant for stocks that have a pre-market session. It is meant to be used on the 1 min time frame by default. Higher time frames will need the ATR[2} setting adjusted higher. This script will draw a green line at the high of pre-market, and a red line at the low of pre-market and extend these lines across the regular session day. This makes it easy to see if price action during regular market has broken above pre-market high or broken below pre-market low. The ATR[2] setting adjustment is used to ignore any quick spikes in price action (similar to what happens at 8:30 am every day).發行說明
display edits - minor tweaks發行說明
Separated the Pre-Market High/Low Lines from the Lines drawn during RTH so that alerts could be used during RTH hours only發行說明
reworded a wonky if statement to make more sense發行說明
* Major revision to how the code calculates* One line each for PM High and for PM Low. No more dual lines
* Alert Conditions for when price breaks above or below the Pre-Market Channel
* Cleaned up Code and Labels
* Enjoy !
發行說明
* Changed how the script calculates the High/Low. Now checks the ATR(2) / ATR(14) < ATR Threshold in User Settings.* This allows the Indicator to work much better on higher time frames than it did previously.
發行說明
* Changed default ATR Threshold percent to 300% as that seemed to be the sweet spot of what I was looking to accomplish finding the general Pre-Market edges, while ignoring quick spikes開源腳本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
開源腳本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.