Inspired by trend charts on other trading platforms. Changes bar colors to stay in trend much like Heikin Ashi candles without the ATR price distortion. This is done by comparing the HL2 and/or Open-Close values of current to the prior .
Update to script:
- updated the Heikin Ashi calculation for trend coloration
- Added ability to plot different bar types: High-Low bars without wicks or open & close data, or plot Open-Close bars without wicks
- Option to only color the existing candlesticks instead of plotting different candlestick types
- Experimenting with simple ability to highlight possible tops & bottoms of a trend; though it chases trends in live trading. Be careful
- Experimenting with ability to grey-out consolidation ranges
If you wish to use the different candlestick types, it's advised to hide the existing candlesticks via chart options
Chart with High-Low bars and tops & bottoms highlighted:
Chart with High-Low bars, tops & bottoms highlighted, and consolidations painted grey:
Corrected Heikin Ashi calculation (again)
The original candlesticks are covering up the new code-generated bars. Select "Just Color" in the options if you wish to use the regular chart and add the colors Trendy creates.
Any idea how to see the actual H-A rice lines after checking off the box in Tradingview? The side bar registers the price but can't see a line across the chart.
If I set a chart to use Heikin Ashi, set Trendy on the chart, this is what my screen looks like with the Tradingview candles hidden and Trendy set to High-Low bars:
High-Low will display script generated candlesticks that are solid from the high to the low, no open or close data.
I've got the Tradingview H-A candles hidden so the script generated Trendy bars can be seen:
Please verify you have the Tradingview candles hidden
Here's the same chart with the Open-Close option set, the Tradingview HA candlesticks are hidden:
Open-Close will only show the open and close data, no wicks for the high and low.
Here's the original Tradingview HA candles shown and Trendy set to "Just Color"
If this doesn't help, try to link a screenshot of what's going on. The only time I'm able to replicate the Trendy indicator appearing/disappearing is when the Tradingview candles are shown. They overlap the script due to the way graphics are layered by Tradingview's UI.
I did notice an issue when switching stocks/currencies, the Trendy bars do not display sometimes until the original chart is shown & hidden again.