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

Murrey Math lines based on weekly closes plus VWAP and pine v4 goodies. Options for adjusting label visibility and disabling vwaps individually.


If you find it useful please consider a tip/donation :



With only MMLs :

Release Notes:
  • 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).
Release Notes: Small tweak so manual closes are plotted and labelled
Release Notes: Added some basic methods to predict future Murrey Lines. Uses the new pine 4 line functions. Under certain conditions it can be accurate.

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

Skript med en öppen källkod

I sann TradingView-anda har författaren till detta skript publicerat det som öppen källkod, så att handlare kan förstå och verifiera det. Skål för författaren! Du kan använda den gratis men återanvändning av den här koden i en publikation regleras av våra Ordningsregler. Du kan göra den till favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?


Good work. Well done.
Absolutely lovely sir ; published something similar recently, but your Murrey lines are super, can't see them on 3m TF tho.. be a TV thing..
rumpypumpydumpy syrinxflunki
@syrinxflunki, yeah, script needs 4 weeks of chart to calc the Murrey lines, looks like when you're on a lower TF like 3m, you can't pull the weekly close with security function call if it's before the start of the available 3m chart, even if it actually exists on the weekly TF. See on the 8m for eg it starts rendering eventually :/

you could add na() conditionals to lines 71 & 72 to ignore the values if they're na, so it uses 2 or 3 weeks instead of 4 if you really want it on lower TFs

rumpypumpydumpy syrinxflunki
@syrinxflunki, Updated with a manual work around for lower TFs

syrinxflunki rumpypumpydumpy
@rumpypumpydumpy, Thank you !
I don't know why the preview squishes up the panels, can be adjusted easily in the options :