OPEN-SOURCE SCRIPT

Heikin Ashi MTF Trend [Pt]

已更新
█ Introduction

The Heikin Ashi MTF Trend indicator takes a simple approach to understand the trend by visualizing Heikin Ashi candle colors across multiple timeframes and representing it in a simple and visual manner. It utilizes the Heikin Ashi (HA) candles across four custom timeframes to detect trend shifts and strength. The indicator also offers alert conditions for potential bullish and bearish trend shifts.

█ Features

Multiple Timeframes (MTF) Trend Detection: The script fetches HA data from four different timeframes. This multi-timeframe approach gives a holistic view of the market sentiment.
Weighted Trend Score: The individual trend scores of the four timeframes are multiplied with their respective weights and summed up to provide a cumulative trend score that is used to determine bar colors and trend shifts.
Visual Trend Depiction: It displays the trend using default green/red squares for each timeframe and a gradient-filled bar to represent the cumulative trend score.
Trend Change Alerts: Users can set alerts for bullish and bearish trend shifts.

█ Alerts

◊ Bull Trend Signal Alert: Alert when there is a bullish trend shift.
◊ Bear Trend Signal Alert: Alert when there is a bearish trend shift.

█ Usage Tips

◊ The greater the discrepancy in the weights across the timeframes, the more emphasis is placed on the higher weighted timeframe.
◊ While the gradient bar provides a quick trend overview, it's essential to view the trend squares to understand the individual timeframe sentiments.
◊ Always consider using this tool in conjunction with other indicators or methods for confirmation and enhanced trading strategy.

Happy Trading~~
發行說明
Added Display Styles
◊ Squares or Lines
◊ Customizable line thickness
◊ Customizable colors
發行說明
◊ Added timeframe labels
發行說明
Fixed Bar Color option bug.
發行說明
Updated script with PineCoders' best practice to avoid repainting when fetching data from higher timeframe.
Added option to toggle Weighted Trend signals
Candlestick analysishekinashimultitimeframemultitimeframeanalysisptgambertrendTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


If you make $$$ off it, consider donating some of your juicy gain :)
Buy me a coffee - buymeacoffee.com/PtGambler
PayPal - paypal.me/PtGambler

You can reach me privately through my Discord Channel: discord.gg/WMQfaVGyQC
更多:

免責聲明