Pratik_4Clover

Murreys Math Lines Box OR Ratio Pivots

Pratik_4Clover 已更新   
I'm publishing my second script, though nothing extraordinary, I believe there is user group for Murry Math indies and the only "proper one" (According to my usage) I found was of RicardoSantos, here is the link :

He developed that script in 2014 and it is in need of update to Pine V4 and I'm doing the needful as its user.

All the updates from my end are listed below:
1. Updated to Pine V4
2. Automatic octave selection
3. In auto mode one can switch octave
4. This script is color coded with intention of use on dark theme, one can change the colors to use it on white background with simple few clicks as pinelines have been used

Other thing I want to add is that usage of this is not very clear to many users, so I'll do little explaining here;
Lets start with what is Octave? Octave is basically distance between square of two whole numbers, this is hard-fast method to calculate, Murry has made it far more complicated to use practically. In mathematical formula terms it could be something like this for script trading at 11890 (CMP)
Step 1: Square Root of CMP i.e Square Root of 11890 = 109.041 = Rounded to 109

Step 2: You can either take one whole number higher or lower than 109, which is 108 or 110. We will take 108

Step 3: Square of 108 = 11664 and Square of 109 = 11881

Step 4: Octave => Distance between (Lowlevel) 11664 and (Higherlevel) 11881

I've automated it so you don't need to calculate, but there is also manual entry possible if you want to calculate octaves yourself, there are different ways to calculate and some like to just take High and Low's of the day or week or month, whatever you like. When I used it I did it strictly this way, so automation is based on it. This is very subjective matter so don't ask to change the calculation of this, if I started doing that every second person would ask me to modify it to different calculation..and thats...just not possible to do.

This is output for calculation we just did above

This is octave shift option (Which basically shifts to next whole number square in above calculation)

Normal nomenclature on octaves and important color codes

+2/8: Extreme overbought = Blue Color and solid line
+1/8: OverBought
8/8: Hardest line to rise above (overbought) = White Color and solid line
7/8: Fast reverse line (weak)
6/8: Pivot reverse line = Yellow Color and solid line
5/8: Upper trading range
----------------------------------------
4/8: Major reversal line = Green Color and solid line
----------------------------------------
3/8: Lower trading range
2/8: Pivot reverse line = Blue Color and solid line
1/8: Fast reverse line (weak)
0/8: Hardest line to fall below (oversold) = White Color and solid line
-1/8: Oversold
-2/8: Extreme Oversold = Yellow Color and solid line

Other lines that I've not mentioned color codes for are minor and are usually plotted in dotted format.

Resources on complete technique to trade and importance of levels (highly recommended to read carefully before trading), if you don't know how to get this for free don't worry you can just google Murrey math and you will find it somewhere, its just that it would be in little scattered manner.
www.scribd.com/doc/7...ath-Lessons-Complete

Enjoy!
版本注释:
Update : This was a code from long long time ago and pine functionality has changed so many of the users are getting error related to max_bars_back referencing length. To avoid such a possible problem all together, I've replaced line.new function with plot function.



This is an opensource code, so I've left the editing to your choice in the plot function, change it as you wish to use it.

Regards!

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?