OPEN-SOURCE SCRIPT
已更新 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.
版本注释
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!
版本注释
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!
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。