OPEN-SOURCE SCRIPT
Actualizado gain indicator

he "Percentage Ruler" indicator is a custom technical analysis tool designed for the TradingView platform. Its primary function is to visually represent percentage-based price levels on a chart, relative to the closing price of the previous candle. This allows traders to quickly gauge potential support and resistance levels or to estimate possible price movements based on historical data.
Key features of the indicator include:
Dynamic Percentage Levels: The indicator automatically calculates and displays horizontal lines corresponding to predefined percentage levels, both positive and negative, ranging from -5% to +5%.
Previous Candle Close: The percentage calculations are anchored to the closing price of the previous candle, providing a consistent reference point for analysis.
Clear Visual Representation: The percentage levels are represented by horizontal lines extending to the right edge of the chart. The lines are color-coded (green for positive percentages, red for negative percentages) for easy interpretation.
Customizable Appearance: The indicator offers customization options, allowing users to adjust the line thickness and the display of percentage labels.
No Labels by Default: The indicator is designed to display only the horizontal lines by default, without any percentage labels, providing a clean and uncluttered chart view.
In summary, the "Percentage Ruler" indicator is a valuable tool for traders seeking a straightforward way to visualize percentage-based price levels relative to the previous candle's close. It aids in identifying potential support and resistance zones and estimating possible price movements based on historical data.
Key features of the indicator include:
Dynamic Percentage Levels: The indicator automatically calculates and displays horizontal lines corresponding to predefined percentage levels, both positive and negative, ranging from -5% to +5%.
Previous Candle Close: The percentage calculations are anchored to the closing price of the previous candle, providing a consistent reference point for analysis.
Clear Visual Representation: The percentage levels are represented by horizontal lines extending to the right edge of the chart. The lines are color-coded (green for positive percentages, red for negative percentages) for easy interpretation.
Customizable Appearance: The indicator offers customization options, allowing users to adjust the line thickness and the display of percentage labels.
No Labels by Default: The indicator is designed to display only the horizontal lines by default, without any percentage labels, providing a clean and uncluttered chart view.
In summary, the "Percentage Ruler" indicator is a valuable tool for traders seeking a straightforward way to visualize percentage-based price levels relative to the previous candle's close. It aids in identifying potential support and resistance zones and estimating possible price movements based on historical data.
Notas de prensa
opacityNotas de prensa
fix bugNotas de prensa
Changes:The horizontal lines of the percentage ruler have been converted into rays extending infinitely to the right.
Updated the line.new() function to use extend.right, ensuring that the lines no longer have a fixed endpoint.
Improved label positioning to align with the new ray structure.
Enhanced readability and chart clarity by preventing unnecessary overlapping of previous lines.
Notas de prensa
update imageScript de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.