Murrey Math Horizontal/Diagonal + Subharmonics 0 - 12 [All-Time]

The Murrey Math lines are created by dividing the range between the high and low of the monthly timeframe prices into equal parts based on the division factor from 2 to 12.
No matter which timeframe you will use, because the calculations based on the most high and low price values.
Better to use > monthly timeframe for faster calculations.

These lines serve as potential support and resistance levels.
The midlines are dashed lines representing the midpoint between two consecutive Murrey Math lines.

The diagonal lines can be enabled to show two different types or both types. These lines connect the highs or lows of the price bars in a diagonal manner.

The subharmonic lines represent smaller divisions within each Murrey Math range. They can be customized to show only strong subharmonics or all subharmonics. Subharmonics are calculated based on the division factor and can provide additional support and resistance levels within the Murrey Math framework.

This script helps visualize the Murrey Math levels and their associated lines on a trading chart, aiding traders in identifying potential price levels for decision-making.

The most strong levels which I tested were: 2, 4, 6, 8, 12.

I was inspired by Gann's work and i tried to implement this indicator.
It's the most accurate version of Murrey Math calculations, you can set the value of 8 which Gann was used but I did up to 12 because of my experiments and I would recommend you to use the value of 12.

This indicator can be used for all types of markets.
Also note, that the strong levels described above is tested on division by 12 setting.

Anyway, you can use the divison of 8 and use the standart strong s/r levels.
(for more information search for Gann 2.0 support resistance on the internet).

Also note: this information is not a financial advice, just my opinion to the indicator I implemented. Please use this indicator wisely and focus to save your money, not earn.

I wish you profitable trades, stick to your risk/money management and the key entry points!
Release Notes:
Request by @ulomadgreat:
- Added ability to show prices of main harmonics (default set to true).

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?