KyleBaran

Didi ATR Hybrid

KyleBaran Cập nhật   
This is a hybrid indicator that combines the Didi Index with the Average True Range.
It acts as both an ATR and a Confirmation indicator, based on the No-Nonsense Forex (NNFX) trade rules.

The Didi Index takes three moving averages to build a fast line (MA1 and MA2) and a slow line (MA2 and MA3). You can use it several different ways (2 lines cross, zero-cross); in this setup, we only use the slow line with the zero-cross to produce a signal (source code is set up to take advantage of the fast line - you just need to plot it yourself).
ATR is a measure of candle volatility.

The plotted value is equal to the ATR, which then gets colored based on:
Black: Didi Index is below 0 - do not enter trade
Red: Didi Index is above 1, but the previous candle closed >1x ATR - do not enter trade (too volatile)
Green: Didi Index is above 1, and the previous candle closed <1x ATR - a possible trend is confirmed and you may enter the trade (use other indicators too)

The provided chart does not look exciting - as with NNFX, I am posting it with the EURUSD , which is one of the harder FX pairs to trade.
Phát hành các Ghi chú:
- Updated the script to include long and short signals
- Code and comments are a bit more readable
- Added support for all the ta.ma() variants that come with v5 scripts (and it's easy to copy and paste them for yourself too! ;)
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 đồ?