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.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?