ZenAndTheArtOfTrading

Trend Strength Indicator

ZenAndTheArtOfTrading Telah dikemas kini   
This indicator uses Heiken Ashi candle data to plot trend strength signals to your chart.

Bright Green: Heiken Ashi candle data is still putting in higher lows and higher highs, and the price closed above the previous low.
Dark Green: Heiken Ashi candle closed green, but had a lower low or lower high (trend weakening).
Bright Red: Heiken Ashi candle data is still putting in lower lows and lower highs, and the price closed below the previous high.
Dark Red: Heiken Ashi candle closed red, but had a higher low or higher high (trend weakening).

Optional: I included a setting for allowing high RSI values to overrule Heiken Ashi values (disabled by default).

This kind of indicator is best used for managing open positions rather than entering trades. It works on all timeframes and instruments.

Feel free to contact me if you have any questions :)

Regards,
- Matt

PS. Here's a snapshot of it against a Heiken Ashi chart for reference:

Nota Keluaran:
Added -1 offset value to trend strength bars so that they align properly with candles.
Nota Keluaran:
- Turned RSI override on by default to improve trend strength signal accuracy.
Nota Keluaran:
Added ability to reference higher timeframe
Nota Keluaran:
Removed HTF functionality as repainting issues were creating problems.

Indicator no longer repaints, and only uses the current timeframe data for signals.
Nota Keluaran:
-
- Converted to Pine Script version 4
- Several minor code improvements & optimizations
- Added candle offset (0 = use current bar data, 1 = use previous bar data)
Nota Keluaran:
Updated to Pine Script v5

My Resources Hub: theartoftrading.com
FREE YouTube Lessons: rebrand.ly/zyt
FREE Pine Script Basics Course: rebrand.ly/zpsbc
Pine Script MASTERY Course: rebrand.ly/zpsmc
My Indicators & Strategies: rebrand.ly/zmisc
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?