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
更多:

免责声明