Show us what you have done. If it is not to hard someone will help you. Use SRC when posting codes.
tlswn128:
I made a source for statistical calculations.
It calculates well if I input 0-200 numbers, but
If I input large numbers, it makes errors.
I know that's because the source needs more digits than double.
I want to use long-double value in MQL4. Is there any methods for use it?
You have a chance to append a dll library to your code. I performed a quick google search and found this, though not sure if it was universal solution. Perhaps you can find something more suitable.
https://devtalk.nvidia.com/default/topic/509693/double-double-precision-arithmetic-library-now-available/

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
I made a source for statistical calculations.
It calculates well if I input 0-200 numbers, but
If I input large numbers, it makes errors.
I know that's because the source needs more digits than double.
I want to use long-double value in MQL4. Is there any methods for use it?