![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why can'tMathQuantile() be used?
Why can'tMathQuantile() be used?
What is the "probability array" in this function - how do you fill it in?
I wish somebody would tell me how to sort an array with index linking. Efficient!)
Shove the index into the array. This will only increase the dimensionality of the array.
Michael, a long time ago I wrote a function for myself to insert a new value into an array to keep it sorted.
That is, all additions to the array have to be done through this function:
Binary search is used, it should be fast.I wish someone would tell me how to sort an array with index mapping. Efficient!)
Two-dimensional array, ArraySort() function.
What is the "probability array" in this function - how do you fill it in?
What are the quantiles to be counted, for example:
{0.5} - median
{0.25, 0.5, 0.75} - quartiles
{0.01, 0.02, ..., 0.99} - persentiles
I wish somebody would tell me how to sort an array with binding to an index. Efficient!)
TryMathQuickSort()
Example:
Array of 30 MA price values, look for the middle of the ordered array.
We get 15(L0) value in the middle of the array, then we get two arrays from L0 downwards and L0 upwards and find the middle of these arrays and so on until we get thefokus number(seven values for example)
and it will be a ticky in the end
the answer is simple - mathematical processing is misleading