OPEN-SOURCE SCRIPT
Updated Session min/max points

An improved version for minimum and maximum in a day trading session. You can choose the session resolution, it ranges from 1 minute to 1 week.
It works well for stocks and non-extended sessions due to security() function limitations.
Any suggestions, please leave a comment.
Happy trading.
It works well for stocks and non-extended sessions due to security() function limitations.
Any suggestions, please leave a comment.
Happy trading.
Release Notes
Upgraded version of Session min/max points indicator!Improvements:
- Options to plot the local min/max and global min/max values.
- Find real local values (min and max).
- Compare local to global values (min and max) in order to draw points more accurately. Scope of global values are given by the timeframe.
- Since in a timeframe basis yields a different low and high from the current chart, an error tolerance input was added.
Pine Script® request.security - Accuracy in general was improved!
Release Notes
New changes:- Added plotting local and global min/max lines.
- Added configurable long (500d), mid (50d) and short (20d) EMAs.
Remarks:
I set show min/max lines by default, but you can hide them on the checkboxes at the indicator settings.
Let me know if you have any suggestion!
Open-source script
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.
Disclaimer
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.
Open-source script
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.
Disclaimer
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.