OPEN-SOURCE SCRIPT

Multi-time Frame Trend Direction

已更新
This is a multi-time frame trend direction indicator. It indicates whether the trend is ascending or descending across multiple time frames: 5M, 15M, 30M, 1H, 4H, and Daily.

The logic is based on the positions of EMA12 and EMA26.

These EMAs are smoothed with an SMA.

Why 12 and 26, and why are they smoothed with 9?

As you might surmise, these parameters are derived from the MACD.

I recommend not altering the parameters, but the choice is yours. Enjoy.
版本注释
I used 3 trend system:

1. Golden Cross, Ema200 and Ema50
2. Heikinashi trend system by © Dziwne "Trend Indicator A-V2 (Smoothed Heikin Ashi Cloud) [Dziwne] by DZIV". I converted and updated.
3. Famous Vegas Trading system. Ema12, Ema144 and Ema169

I used 5 Min, 15Min, 30 Min, 60 Min, 4 Hour and Daily.
I believe it works most of the time.
Enjoy!
Moving Average Convergence / Divergence (MACD)multitimeframeTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明