OPEN-SOURCE SCRIPT
Market Profile with Past Sessions

This script plots market profiles that show the amount of time price has remained at a particular level during past sessions, often referred to as "time price opportunity".
TV user LonesomeTheBlue created the original Market Profile indicator on which this script is based. This version makes minor changes to the automatic timeframes, and to show historic market profiles and points of control.
The market profile drawing begins at the START of the relevant session being profiled and extends to the right. There is a checkbox in the options that will plot the market profile at the END of the relevant session, if desired.
If you want to view the market profiles for shorter or longer sessions, use the drop down menu to take the Higher Time Frame setting off "Auto", and instead select a specific time interval that is HIGHER than the timeframe your chart is showing.
The market profile and points of control can be used to identify areas likely to serve as potential support or resistance, as well areas where price is likely to retest when it is ranging.
TV user LonesomeTheBlue created the original Market Profile indicator on which this script is based. This version makes minor changes to the automatic timeframes, and to show historic market profiles and points of control.
The market profile drawing begins at the START of the relevant session being profiled and extends to the right. There is a checkbox in the options that will plot the market profile at the END of the relevant session, if desired.
If you want to view the market profiles for shorter or longer sessions, use the drop down menu to take the Higher Time Frame setting off "Auto", and instead select a specific time interval that is HIGHER than the timeframe your chart is showing.
The market profile and points of control can be used to identify areas likely to serve as potential support or resistance, as well areas where price is likely to retest when it is ranging.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。