Trendoscope

Aligned Moving Average Filter

Trendoscope Wizard Обновлено   
This is another adoption of Aligned Moving Average index study published earlier:


Instead of summing up the aligned moving average strength, here we are checking the max and min values from X bars. If maxValue is above threshold, we show bullish bias by coloring candles lime. Similarly if minValue is below threshold we show bearish bias by coloring candles orange. If the max and min signals are mixed - showing both bullish and bearish or showing neither bullish or bearish, then we do not have any bias and candles are colored in silver.

Parameter descriptions are as below:

Moving Average Type : Select moving average type to calculate moving average alignment index
LookbakPeriod : Periods to calculate min and max values
Threshold : Percentage less/more than min/max values of alignment index. At present, max value of alignment index is 36. Hence, 25 threshold will consider max ma alignment index above 27 as bullish and min alignment index below 9 as bearish
Filter type : allows you to use only bullish or bearish filter.
If bullish type is selected, then candle colors are based only on the maxValue of moving average alignment. Candle color will be lime if above threshold and silver otherwise.
If bearish type is selected, then candle colors are based only on the minValue of moving average alignment. Candle color will be orange if below threshold and silver otherwise.
Информация о релизе:
Add extreme conditions where maxValue is less than minThreshold and minValue is more than maxThreshold. candles will be colored in Green and Red instead of lime and orange in such scenearios.

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

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

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

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

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