OPEN-SOURCE SCRIPT

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.
Trend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad