weak_hand

Volatility

This script shows three different calculations for volatility.

All three can be used as Stop-Loss...
- Absolute Price Changes
- Maximum Price Fluctuation
- and every one should know Average True Range

The script has a dark and light theme.
And the colors can be changed and each can be deactivated.

On top of that I stumbled over the fact that when MPF crosses over APC
this could result in a significant change in price and could also be used as an entry or exit.
This is also highlighted by default. You can change its background color and you can deactivate it too.

ACP measures volatility over most recent close prices.
This is excellent for comparing volatility.
It includes both frequency and magnitude.
In other words: Sum of differences between second to last close price and last close price as absolute value for 'n' bars.

MPF measures volatility over most recent candles, which could be used as an estimate of risk.
It may also be effective as the basis for a stop-loss or take-profit,
like the ATR but it ignores the frequency of directional changes within the time interval.
In other words: The difference between the highest high and lowest low over 'n' bars.

When you don't know what the ATR is then you can look at this link.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?