Rumpy's Murrey Math Lines & VWAPs - (pine v4)

--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
--------------------------------------
With only MMLs :
- Added fix for use on lower TFs
- Added option to mark weekly intervals with background color
- Added weekly close prices to info panel
To use on lower timeframes such as 3m, first go to a higher TF (15m, 1h, etc) and copy down the weekly close prices listed in the info panel.
Then enter the values into the indicator options and enable the manual setting. This will allow you to generate identical Murrey Lines that appear on higher TFs on lower TFs that don't have historical data available far back enough to do the calculations.
It will however ONLY generate the correct lines for the CURRENT week. They will appear across the entire chart, however they are ONLY valid back to the beginning of the current weekly interval (use the indicator option to mark the chart location).
include current close : will be roughly accurate if current weekly closes near the current close, will be mostly useful near the end of the current week.
previous 3 weeks only : if ranging and weekly is expected to close within the last 3 week's close range
custom : if you have other TA for S/R you could approximate the likely Murrey Lines based on the highest/lowest of the previous 3 weeks and your S/R levels
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.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
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.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.