AtillaYurtseven

Moving Median Price by Atilla Yurtseven

Moving Median Price is similar to Moving Average. However it uses the median instead of the mean. I believe that median is more important than the mean in some cases. Let me explain why:

There are 5 employees in a company. Their annual salary is $24,000,00. There's also a CEO of the company and his annual salary is $100,000.00. So if you calculate the mean to find the average salary using mean, you find $36,666.66. Well, nobody gets paid more than $24K but the CEO. Median helps us here. If you use median, the average salary is $24,000.00.

Keep in mind that you can use the median to find the average salary you pay per employee. You can still use mean for different purposes.

I have also added 2. Median to the script. You can enable or disable.

Disclaimer: I'm not an advisor and this script or the article is not financial advice.

Trade safe,

Atilla Yurtseven

I know Kung-Fu!
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

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?