PROTECTED SOURCE SCRIPT
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
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
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
I know Kung-Fu!
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
I know Kung-Fu!
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.