CryptoGearBox

Median Absolute Deviation Outlier Fractals

Core Concepts

Using Bill William's fractals (can be any types of pivots), we want to find outlier fractals using the median absolute deviation (MAD). When the true range falls outside the specified threshold, it is counted as an outlier. These outliers tend to have significance. Prices usually react to those levels in the future, sometimes a single level and other times a cluster of them to create a zone.

Usage

  • The baseline determines the trend. Above baseline is uptrend and below is downtrend.
  • MAD length is how much data you want to use for the MAD calculation.
  • Deviation limit is the multiple of MAD from median figure to determine if the true range prices exceeds it and if it does we have an outlier.

Notes:
  • The script is for informational and educational purposes only.
  • Any suggestions for improvement are welcome!

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

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

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

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

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