HSS Bitcoin Mayer MultipleIntroducing the Mayer Multiple script…the Mayer Multiple looks over extended periods of time and pinpoints when a cryptocurrency was overbought/sold. The calculation itself is simply the price of the cryptocurrency divided by the 200-day SMA. The default settings are based on Trace Mayer’s recommended numbers but can be adjusted to satisfy your own preferences.
So check it out – I hope you find it useful. As always, this indicator/script should not be taken as trading or financial advice of any kind; it should be used for educational purposes only.
MAYERMULTIPLE
Mayer Multiple @ Current PriceThough this script is by me, the original idea comes from a podcast I heard where Trace Mayer talks about how he does crypto valuation. It is based on current price against the 200 day moving average. This indicator script will simply plot that value as a label overlayed on your trading view chart. Best long term results occur when acquiring BTC when the multiple is 2.4 or less. For more info, google "mayer multiple" This script/indicator is strictly for educational purposes. It is not exclusive to bitcoin.
To get the best look out of your charts I make the following changes.
1.Apply the indicator to your chart.
2. In the tools palette of trading view, when looking at a chart, click "Show Objects Tree" the icon displayed above the trash can.
In the objects tree panel, click the preferences icon for "Mayer Multiple @ Current Price"
Switch "scale" to "scale Left"
3. Then for your chart preferences (right click on chart background and select "Properties", and be sure the following are checked on the "Scales" tab
Left Axis
Right Axis
Indicator Last Value
Indicator Labels
Screenshots are not allowed in this view, so I can't post screenshots, but the view above is what it should look like when you are done.
For anyone who wants to see the code, here is the code of the script:
Use at will, and at your own risk.
//@version=3
// Created By Timothy Luce, inspired by Trace Mayer's 200 Day SMA cryptocurrency valuation method
study("Mayer Multiple @ Current Price", overlay=true)
currentPrice = close
currentDay = security(tickerid, "D", sma(close, 200))
mayerMultiple = currentPrice/currentDay
plot(mayerMultiple, color=#00ffaa, transp=100)
If you want to change the color, change this line: #00ffaa
Conservative Mayer Multiple Indicator by The MonksConservative Mayer Multiple with less noise.
Sets the threshold at 0.80.
Mayer Multiple BandsSince there are not many scripts based on the Mayer Multiple, I figured I could add one to the collection. First I would like to give a shout out to Trace Mayer, Preston Pysh, and our fellow Tradingview user unbound, for their inspirational work.
The numbers used to make this script can be found in a number of locations, or you can just make them for yourself in Excel, which will give you a more current mean Mayer Multiple etcetera; however, the numbers I used for this particular script were found here: www.theinvestorspodcast.com
This script should only be used with daily candles.
Mayer Multiple (with muti-color histogram)This is inspired by unbound's work on the Mayer Multiple script.
This script is designed to work with the daily chart.
I created this script so you can see the daily Mayer Multiple by just hovering over the bar in the histogram. I modified the color of the histogram bar to indicate the following:
Red = Over 2.4x Mayer Multiple, overvalued
Yellow = Between 1x to 2.4x Mayer Mutiple, fairly valued
Green = Under 1x Mayer Multiple, undervalued
This is my first script so let me know if there are any issues or suggestions on how to change it.
Quadruple Moving Averages Plus Smoothed Moving AveragePrincipal moving averages and an approximation the institutional (smoothed) moving average.
MayerMultiple StochasticThis is an stochastic chart of Price adjusted Mayer Multiple Average Delta.
Moving Average Function can be selected from a list with standard functions and following experimental extras:
- Volume Weighted Exponential Moving Average
- Volume Weighted Time Decayed Moving Average // similar to vwema, but alpha is calculated from length as half-life decay function (not sure if I got that right...)
Default MA function is sma, to keep it true to the original MM indicator, but I think VWEMA and VWTDMA may perform better with exponential nature of Bitcoin .
See also:
Suggestions and bug reports are welcome =)
MayerMultiple Price BBThis charts an indicator created by Trace Mayer with some extras.
Plots:
- Mayer Multiple (may be hard to notice, since it overlays by default and stay at the bottom...)
- Price adjusted by Mayer Multiple Average with Bollinger Bands
Moving Average Function can be selected from a list with standard functions and following experimental extras:
- Volume Weighted Exponential Moving Average
- Volume Weighted Time Decayed Moving Average // similar to vwema, but alpha is calculated from length as half-life decay function (not sure if I got that right...)
Default MA function is sma, to keep it true to the original MM indicator, but I think VWEMA and VWTDMA may perform better with exponential nature of Bitcoin .
Suggestions and bug reports are welcome =)
Mayer Multiple v2.0 - Klahr ThresholdThis is a simple update to the Mayer Multiple script by Unbound , which charts an indicator created by Trace Mayer and popularized by Preston Pysh.
The original post identified any price below 2.4x the 100-day MA as the BTC buy threshold. While the logic there is historically sound, it does not account for the fact that the BTC trend is parabolic in nature. With that in mind, I've attempted to update the 2.4x multiple to react based on the moving average of the Mayer Multiple itself. To do so, I simply found the number that, when added to the MM moving average, historically hit the 2.4x multiple during periods of low volatility. This turns out to be 1.17.
The green line represents the Klahr Threshold (is it obnoxious if I call it that? I've always wanted an indicator named after me). As you can see from the above chart, it hovers around 2.4x in late 2012 to early 2013, rises above it until mid 2014, and then stays below until 2016. It then stays almost exactly at 2.4x until April 2017, when it rises significantly above it for the first time since July 2014. The convergence in late 2012 and 2016-2017 is what leads me to believe that this should be the basis for the updated threshold.
It's entirely possible that there's a more robust method of calculating a reactive threshold (or a different number that should be added to the multiple's MA), but I think this is a good first step in refining the multiple to withstand the test of time.
Mayer MultipleFollowing Preston Pysh's "Bitcoin Mayer Multiple" study, I made this simple script to plot the Mayer multiple by calculating the ratio between bitcoin price and its 200-day moving average. It also plots the moving average of ratio itself.
Mayer Multiple Buy PriceFollowing Preston Pysh's "Bitcoin Mayer Multiple" study, I made this simple script to plot the recommended buy price based on the calculated 2.4x ratio between bitcoin price and its 200-day moving average. The ratio and SMA length have default values of 2.4 and 200 and can be adjusted.