OPEN-SOURCE SCRIPT
Cập nhật ADX | DMI Trend Strategy

This strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
Phát hành các Ghi chú
Added a checkbox option to disable short trades if a long-only strategy is desired and cleaned up the code a bit.Phát hành các Ghi chú
Added the ability to filter the signals based on volume compared to average volume. The theory is that you'd only take trades that had abnormal volume. You can turn this on or off with a checkbox to see the results.Phát hành các Ghi chú
Added the ability to select different kinds of volume filtering. The current bar's volume must be greater than1) Average Volume * some user defined multiplier (use this if you want to track above average volume as a filter)
2) Manually input level for volume (use this if you want to wait for a specific volume threshold)
3) The greater of the manual level AND the average volume * multiplier
Phát hành các Ghi chú
Added the ability to set a protective stop based on a trailing ATR.Phát hành các Ghi chú
For manual volume input, set increments to 1000.Phát hành các Ghi chú
Added alerts for Long, Short, and Sell/Cover (when ADX starts turning down).Phát hành các Ghi chú
Updates to add parity to the ADX Study in terms of adding separate lookback periods for entry and exit for the slope of the ADX.Added Parabolic SAR as an alternate exit signal. If you select both ATR and SAR as an exit option, it will pick whichever comes first.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.