2)Dude i`m not asking to code it for me, i`m just asking for some questions if there is any prebuilt function that does that, or a library for example.I will code everything my own.As for the discreet market, i`m not calculating the integral of the prices, what did you thought? I put up a few statistical analysis of chart patterns and /or profit distribution and i need integrals to calculate a few statistical formulas on it.
As far as I remember, integrals are not all solvable with one method, hence no single MQL function to do it. Depending on what you are integrating, you choose an appropriate method to do it. And with some expressions, its not possible to find the integral algebraically, you have to approximate it.
What kind of formulas are you integrating?
I`m writing a mathematical -statistical bot that will analyze my market.I need to calculate mathematical integrals somehow in MQL4, is it possible.And by integral's i mean these:
Can anyone help, how can i program this?
Nah, i need the integral solving the equations when the EA is running.If would be just statical analysis after the data has been processed i`d use excel, but that not the case.
Integral is another name for SIGMA (sum).
if you have a function - f(x), transform it to a formula with the sum(...x), then it is very simple...
Good luck
Thanks for that, or if that wont work i`ll fund an aproximation for my function.
As far as I remember, integrals are not all solvable with one method, hence no single MQL function to do it. Depending on what you are integrating, you choose an appropriate method to do it. And with some expressions, its not possible to find the integral algebraically, you have to approximate it.
What kind of formulas are you integrating?
Check this out. You will be benefit a lot using external integral calculator tool which I have found - https://integral-calculator.co - hopefully this helps.
- integral-calculator.co
I`m writing a mathematical -statistical bot that will analyze my market.I need to calculate mathematical integrals somehow in MQL4, is it possible.And by integral's i mean these:
Can anyone help, how can i program this?
Did you try its approximation by rectangle method
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I`m writing a mathematical -statistical bot that will analyze my market.I need to calculate mathematical integrals somehow in MQL4, is it possible.And by integral's i mean these:
Can anyone help, how can i program this?