OPEN-SOURCE SCRIPT

Murreys Math Lines Box OR Ratio Pivots

업데이트됨
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 :
[RS]Murrey's Math Lines Box


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.
scribd.com/doc/77471173/Murrey-Math-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!
BOXmurreymurreymathmurreymathlinesoctavepivotPivot PointsratioratiopivotsTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항