OPEN-SOURCE SCRIPT

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!
resistencesupportSupport and Resistance

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明