Surahmanyam

sm trend analyzer

█ OVERVIEW
This script is intended to provide full time frame continuity information for almost all time frames (3, 5, 15, 30, 60, 4H, Day, Week, Month, Quarter, Year)

When added, the script provides a visual indicator/table to the bottom right of the screen to view the different performance at each time frame.

----------
Output
Time Frames: 3min, 5min, 15min, 30min, 60min, 4 Hour, Day, Week, Month Quarter, Year
Time Frame Labels: 3, 5, 15, 30, H, 4H, D, W, M, Q, Y
Colors: Will display the colors in RED if it's a down time frame (close/current < prior close) or a GREEN if it's a up time frame (close/current > prior close), the color will be more opaque/the opacity will increase the stronger it's levels are for the time frame.
Percentage: The percentages will also display, to give you a quick visual indicator or how strong a time frame is one way or the other.

Best Practices
----------
Had to decouple this from the other scripts because TV limits how much you can plot/show
May be a little slow at times, analyzing a lot of time periods/data be patient.
Used to indicate who is in control, buyers or sellers.
Jul 28, 2021
Release Notes: Fix study name, add some padding (high percentages are hard to get one the whole table)
Jul 28, 2021
Release Notes: Add more space... fix logic. It's open and close not close and prior close for FTC.
Jul 28, 2021
Release Notes: Set the width to ensure the whole percentage is shown. Also stack the cells (2 rows of 6) so it's more compressed and easier to read. Added in the 2H indicator as well.
Aug 2, 2021
Release Notes: Changes: added the ability to disable/hide each box and the ability to change the time frame of each box. The boxes are sequentially numbered, 1 - 12, left to right, top to bottom. So the first box, or 1, would be the top left, 2 would be the next box, all the way to 12 at the bottom right.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?