Quartiles - MetaTrader 5 Script | Forex Indicator Downloads - MT4/MT5 Resources - MetaTrader 5 Resources



This indicator shows the first, second, and third quartiles of the sample. The quartiles are a set of quantiles at p=0.25, 0.5, 0.75. Their estimate (the quartile empirical distribution) is the value that divides the data sample into four groups containing (if possible) the same number of observations.
When talking about quartiles, we usually refer to the upper q3 and lower q1 quartiles; the second quartile is the median q2.
The lower q1 quartile is a value below which one-quarter of the data is in the ordered set, while the upper q3 quartile is a value above which one-quarter of the data is in the ordered set.
The indicator was first implemented in MQL4 and published in the code base of mql4.com on September 23, 2010.

Attachment download
📎 quartiles.mq5 (10.29 KB)
Source: MQL5 #690
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •