OPEN-SOURCE SCRIPT
Cập nhật

Trend Strength Indicator

53 760
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:

ảnh chụp nhanh
Phát hành các Ghi chú
Added -1 offset value to trend strength bars so that they align properly with candles.
Phát hành các Ghi chú
- Turned RSI override on by default to improve trend strength signal accuracy.
Phát hành các Ghi chú
Added ability to reference higher timeframe
Phát hành các Ghi chú
Removed HTF functionality as repainting issues were creating problems.

Indicator no longer repaints, and only uses the current timeframe data for signals.
Phát hành các Ghi chú
-
- Converted to Pine Script version 4
- Several minor code improvements & optimizations
- Added candle offset (0 = use current bar data, 1 = use previous bar data)
Phát hành các Ghi chú
Updated to Pine Script v5
Phát hành các Ghi chú
Updated to pine script v6

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.