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!
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?