fauxlife

Trendy Bar Trend Color

fauxlife 已更新   
Trendy Bar Trend Color

Inspired by trend candlestick 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 candlestick to the prior candlestick.
發布通知:
Cosmetic only, experimental, not intended for use with trading

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:
發布通知:
Edit 3:
Corrected Heikin Ashi calculation (again)

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?