ZenAndTheArtOfTrading

Trend Strength Indicator

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:

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

Indicator no longer repaints, and only uses the current timeframe data for signals.
發布通知: -
- Converted to Pine Script version 4
- Several minor code improvements & optimizations
- Added candle offset (0 = use current bar data, 1 = use previous bar data)
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
If you want to master Pine Script coding, watch my free YouTube lessons or get the source code to my scripts then check out my Pine Script Mastery Course website: https://www.pinescriptmastery.com

評論

Nice work.
+4 回覆
Thank you all your hard work
回覆
Thank you for the good indicator.
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 關於 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特