peacefulLizard50262

Triple Exponential Hull Moving Average THMA

peacefulLizard50262 Обновлено   
This pine script calculates the triple exponential Hull moving average (THMA) of a given data series. The THMA is a type of moving average that is calculated using the exponential moving average (EMA) of the data. In this script, the ema() function is used to calculate the EMA of the data three times, with different lengths for each calculation. The resulting value is the THMA of the data. The script also plots the THMA on a chart, using a green color for upward trends and a red color for downward trends. The length of the moving average and the alpha parameter used in the EMA calculation can be specified by the user as input parameters.

A trader may use this pine script to help identify trends in the stock market. By plotting the triple exponential Hull moving average (THMA) of the data on a chart, the trader can quickly see whether the market is trending up or down, and how strong the trend is. This can help the trader make informed decisions about when to buy and sell stocks. Additionally, the script allows the user to customize the length of the moving average and the alpha parameter used in the EMA calculation, which can be useful for analyzing different time frames and making more accurate predictions.
Информация о релизе:
Added smoothing

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?