miraalgo

Candle Color By OHLC Comparison

This indicator is designed to help you recognize the price movements within a candle/bar more quickly and easily. Typically, candle coloring is based on the opening and closing prices, but in this indicator, I followed the OHLC values in reverse order: starting with closing, low, high, and then opening. Each of these is compared with the value in the previous candle. I assigned the least importance to the opening, hence did not include it in the color determination. To make the colors memorable, I used a rainbow-like color scale; with purple representing the highest value and maroon the lowest. You can also change the colors if you wish. Additionally, if you want to set alarms, I assigned values to the candles; the highest being 16 and the lowest 1. A thicker barchart provides a better visual representation.

For instance, consider the monthly chart of the NASDAQ 100. After a prolonged positive trend, when our indicator shows a negative maroon bar (representing a low value) for the first time, it could signal a change in the trend direction. In this scenario, the appearance of the maroon bar serves as a crucial alert for investors to review their current positions or prepare for a potential downtrend. This indicator provides users with a significant advantage in identifying such critical turning points and assists them in quickly adapting to market dynamics.

Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

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.

¿Quiere utilizar este script en un gráfico?