OPEN-SOURCE SCRIPT

Simple MAD

59
Simple MAD is a lightweight and customizable indicator that calculates the Median Absolute Deviation (MAD) over a configurable period to measure market volatility. It dynamically displays Stop-Loss (SL) and Take-Profit (TP) levels based on MAD multipliers, both in absolute price and percentage terms.

The indicator includes a clean, watermark-style table with full layout controls — allowing you to adjust position, text size, alignment, and colors. It supports both manual entry price and automatic use of the latest close, making it ideal for traders who want to manage risk with precision and clarity.

Perfect for swing traders, volatility-based strategies, and anyone looking to integrate MAD into their decision-making.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.