OPEN-SOURCE SCRIPT
Updated Market Profile with TPO

This is is Market Profile with TPO (the letters) on the current session. Due to pinescript limitations, we are limited to 500 TPOs, since this script uses 1 label per TPO. It is NOT volume profile, this is Time Profile (Time spent at a price).
Release Notes
Updated the Auto Tick sizeRelease Notes
Fixed the Auto Tick Size again. If it times out, just uncheck the Auto Tick Size, let it load, then check it again (or switch to Manual Tick Size). Please note that due to TradingView pinescript limitations, the TPO letters are only on the most recent session (500 labels limitation)
Release Notes
Cleaned up the options. Please note if you can't get it to load (timeout), hide and unhide it again.Release Notes
Updated some of the default settings to not throw up as many errorsRelease Notes
Updated 500 TPO Error and added Table and Letter ColoringRelease Notes
Updated Warning VerbiageRelease Notes
Turned off the hardcoded debug optionOpen-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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.