nsharif0

Quadratic MA

The Quadratic Moving Average (QMA) is an advanced smoothing indicator that provides a smoother and more responsive moving average by applying the Weighted Moving Average (WMA) methodology in a unique, multi-layered approach. This indicator is especially useful for identifying trends in highly volatile markets where data points vary significantly.

Calculation:

The QMA is calculated by first determining a basic WMA over half the specified period and then modifying it by subtracting the WMA over the full period, effectively emphasizing recent price changes. This result is then re-smoothed using another WMA function applied over the square root of the specified length, providing a quadratic enhancement to the typical WMA.

Usage:

The QMA can be particularly effective in trend-following strategies. When the price moves above the QMA line, it may indicate a bullish trend, suggesting a potential buy signal. Conversely, if the price falls below the QMA line, it may signal a bearish trend, indicating a potential sell signal.

Settings:

Length: Controls the sensitivity of the QMA to price changes. A shorter length will make the QMA more responsive to price changes, while a longer length will smooth out the moving average further, potentially reducing the number of signals and noise.

Tips:

Combine the QMA with other forms of analysis, such as volume indicators or momentum oscillators, to confirm trends and refine trading signals.
Adjust the length parameter according to your trading style and the asset's volatility to optimize performance.
Скрипт с открытым кодом

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

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

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

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