TradeStation

Moving Average Speed Can Spot Turns Before They Happen

Moving averages are perhaps the most common indicator in the world of technical analysis, highlighting trends over time by smoothing out values.

Because they show direction, moving averages inevitably rise or fall. These changes are often obvious in retrospect, but now they can be spotted as they happen with our MA Speed script.

This indicator calculates one of five kinds of moving averages (including exponential and volume-weighted). Users can set the length (50-day SMA by default). They can even pick whether it calculates based on open, high, low, close, etc. (Close is the default.)

MA Speed plots the simple 1-day percentage change similar to an oscillator at the bottom of the chart, color-coding for positive or negative values.

The chart above applies MA Speed to the SPX . The result is pretty interesting because we can see how its 50-day SMA was falling at 0.67 percent in March, the fastest decline since December 2008. But this month it’s flattened quickly and is on pace to turn higher in the next session or two.
Скрипт с открытым кодом

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

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

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

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