JustUncleL

[STRATEGY][UL]Price Divergence Strategy v1.0

Created by Request: This is a trend trading strategy that uses Price Divergence detection signals that are confirmed by the "Murrey's Math Oscillator" (Donchanin Channel based).

Strategy Code Based on:
  • Price Divergence Detector V2 by RicardoSantos
  • UCS_Murrey's Math Oscillator by Ucsgears
Strategy Risk Management Based on:
  • Strategy Code Example by JayRogers
Information on Divergence Trading:


*** USE AT YOUR OWN RISK ***
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
JustUncleL

Bình luận

Thanks for this. One issue, the compiler thinks the trailing offset set to zero means zero (not na).. thats why all your your buy exits shown above are happening at precisely the high of the candle.
Phản hồi
Does this repaint?
Phản hồi
Hi, would you be able to add alerts to your code? Would be great to be notified when there's a reversal or divergence. I'm pretty new to trading and don't know if this would need to be done on your end. When I go to alerts there isn't an option for your script. Unfortunately most of my trading is done on the road and I'm not able to look at charts all day.
Thanks, Steve
Phản hồi
@duk20, Sorry, Alerts cannot currently be added to a BackTest Strategy script.
Phản hồi
duk20 JustUncleL
@JustUncleL, No problem Thank you for responding.
Phản hồi
When you use the replay feature, the labels appear two candles AFTER the divergence has taken place. So it doesn't seem like you can use this. By the time the signal comes up its too late
Phản hồi
JustUncleL drowkraken
@drowkraken, Yes that is because the Divergence test relies on Fractal patterns, which need two candles after the Pivot to complete the pattern. BTW, be wary of the results above, I found out later after publishing this script that the TV strategy accuracy is questionable at times, because of the assumptions it makes.
Phản hồi
remidhoyer JustUncleL
@JustUncleL, be careful with trailing functions too I think it can not give us accurate results. test it with fixing timeframe (for example 1h) and look at the results with 1m..
Phản hồi
nice work sir
Phản hồi
someone tested this strategy with BTCUSD?
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất