Hello my friends, I promised you to share the first of the indicators I use for free when I passed 4000 followers. That day is today. In fact, sharing this code here with explanations so that you can easily modify it yourself becomes a library that everyone can benefit from for the future.
We can also share the content of this article on our forum page and interactively develop the code together according to your experiences. Open source is our most important wish.
First of all, this indicator is not different from the standard tradingview indicators, but the most important benefit is that the free service offered by the tradingview site gives us the right to put 3 indicators. With the codes, we made 5 or more indicators to occupy one place.

You can also disable the moving averages you are not using in the settings window. The choice is completely yours.
- Login to your Tradingview account.
- Switch to the chart view of any stock.
- Click the Pine Editor tab at the bottom of the page
- Delete all auto-written incoming content in the incoming editor there
- Copy and paste the codes I have given below into that window.
- Press Save if the interface is in English or Save if the interface is in Turkish.
- Bon Appetit
//@version=3
// author mynameismoney @mynameismoney4 on Twitter
//At the bottom are the moving averages in order. Here you can add a new moving average length by typing lenght5 to duplicate the bottom 2 lines
//For example, the following two lines for a 10-day average. where it says color, you can specify the color; where it says linewidth, you can specify the thickness of the line
//length5 = input(200, "5th MOV Length")
//plot(sma(src, length5), color=blue, linewidth=2, title="10 MOV5")
study("Moving Avarage COMBO", overlay=true, shorttitle="MyNameisMoney MA Combo")
src = input(title="Source", type=source, defval=close)
length1 = input(21, "1st MOV Length")
plot(sma(src, length1), color=yellow, linewidth=1, title="21 MOV1")
length2 = input(50, "2nd MOV Length")
plot(sma(src, length2), color=red, linewidth=2, title="50 MOV2")
length3 = input(100, "3rd MOV Length")
plot(sma(src, length3), color=orange, linewidth=3, title="100 MOV3")
length4 = input(200, "4th MOV Length")
plot(sma(src, length4), color=white, linewidth=2, title="200 MOV4")
length5 = input(200, "5th MOV Length")
plot(ema(src, length5), color=white, linewidth=2, title="200 MOV5")
////MC Ginley Dynamic
McGinley = input(14, minval=1)
src2 = close
mg = 0.0
mg := na(mg[1]) ? ema(src2, McGinley) : mg[1] + (src2 - mg[1]) / (McGinley * pow(src2/mg[1], 4))
plot(mg, title="McGinley Dynamic", style=cross, linewidth=1)
If you look at the codes, the code written as sma corresponds to "simple moving average", which is the code for simple moving average; the code written as ema corresponds to "exponential moving average", which is the code for exponential moving average; and if you write it as wma, it corresponds to "Weighted Moving Average", which is the code for "Weighted Moving Average".
You can modify the codes as I mentioned above according to your needs.
If you want to share the code, I would appreciate it if you cite the source, out of respect for the work.
I look forward to discussing your comments and the results of your work in the forum.
Love
My Name is Money
Health to your work, teacher, it is very beautiful
I could not run this indicator. it gives an error. I cannot do what you say, teacher. can you copy the indicator here so that I can copy it directly? thank you.
//@version=3 and copy it to the last line. Should work
Thank you for your labor.
Thank you teacher, I was not copying your narration part.
So, is it done?