This script combines Moving Averages with ADX Strength, but with an added bonus. Rather than having the Moving Average line always plot on the chart, it will reference the ADX strength based on the settings by the trader.

This way, the Moving Average will not show on the chart unless there is also a strong direction in the trend. This may potentially be used to help with entries when trend trading due to adding the ADX for trend strength.

In the examples below, the ADX settings in the MA+ADX indicator are matched with the settings of a standalone ADX indicator at the bottom of the chart (not included, just for reference).

MA+ADX
prnt.sc/xgdn6iAYwD2T

ADX Only
prnt.sc/dVPYEutE6emA


You will see how the MA only plots when the ADX is over the threshold, currently set at 25. (arrows drawn to indicate confluence)
Информация о релизе:
Can choose between 4 different types of Moving Averages. (EMA, SMA, WMA, HMA)

ALL indicators, strategies and bots are included with Discord access.
www.NorthStarDayTrading.com/discord
www.youtube.com/shorts/fWFQE7uEHvU
Скрипт с открытым кодом

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

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

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

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