fauxlife

Trendy Bar Trend Color

fauxlife Telah dikemas kini   
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.
Nota Keluaran:
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:
Nota Keluaran:
Edit 3:
Corrected Heikin Ashi calculation (again)

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?