PROTECTED SOURCE SCRIPT
CWAP - Candle Close Weighted Average Price

Variable EMA length based on candle closes.
Current candle is greater/lesser than previous candle close[x] in successive periods = add to the length
In the case of reversals, price tends to spike up, retrace, then reverse. In that event, the EMA resets length to catch up before a full reversal occurs.
When price moves uniformly in one direction, the EMA length increases excessively to prevent chop.
Similar to a McGinley Dynamic, except weight isn't give to a particular direction.
Current candle is greater/lesser than previous candle close[x] in successive periods = add to the length
In the case of reversals, price tends to spike up, retrace, then reverse. In that event, the EMA resets length to catch up before a full reversal occurs.
When price moves uniformly in one direction, the EMA length increases excessively to prevent chop.
Similar to a McGinley Dynamic, except weight isn't give to a particular direction.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
My published indicators: tradingview.com/u/NeoButane/
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
My published indicators: tradingview.com/u/NeoButane/
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.