Qorbanjf

DEMA/EMA & VOLATILITY (VAMS)

The biggest issue with momentum following strategies is over signaling during whipsaw periods. I created this strategy that measure momentum with DEMA (Fast Moving) and EMA (Slow moving). In order to mitigate over signaling during whipsaw periods I implemented the average true range percentage (ATRP) to measure realized volatility. If momentum is picking up while volatility is under a certain threshold it purchases the security. If momentum slows while volatility picks up it sells the security. Additionally, if momentum picks up, but volatility is high, it stays out of the security. This follows the theory that during sustained uptrends volatility will decrease, and during market corrections the volatility picks up. Following the old adage that markets climb up the stairs, and fall out the window. Note that this strategy does repaint due to it entering and closing positions at the close of the bars. I forgot to mention how volatility is measured high vs low. If the ATRP is above the EMA of the ATRP the strategy interprets the volatility is increasing and does not enter the security & Vice Versa for selling (with momentum signal of MAs)

This is just my first strategy, any feedback would be much appreciated.
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 đồ?