Spécifications
There is a math library called alglib
(see here: https://www.mql5.com/en/code/11077)
and I want to call the LSFitLinearC function
but I am not really sure how to call it
with parameters that compile correctly.
Here is an example of someone using:
https://www.mql5.com/en/articles/2646
I am not sure why in this example they
are using objects like CMatrixDouble,
when the function decleration looks like this:
static void CAlglib::LSFitLinearC(double &y[],CMatrixDouble &fmatrix,
CMatrixDouble &cmatrix,int &info,
double &c[],CLSFitReportShell &rep)
So I want a sample script calling this function
with a few data points (time and price) from
the EUR/USD chart and get a valid output.
You should get back a value in "c" parameter.
This should be a simple task just to create
a sample script to correctly call this function.
Although this not necessary to know, here is more
information about this function: This is a linear
regression calculation similar to the one used
in regression channels. You can find an example
call in the alglib library documentation here:
http://www.alglib.net/translator/man/manual.ipython.html#example_lsfit_d_linc
(see here: https://www.mql5.com/en/code/11077)
and I want to call the LSFitLinearC function
but I am not really sure how to call it
with parameters that compile correctly.
Here is an example of someone using:
https://www.mql5.com/en/articles/2646
I am not sure why in this example they
are using objects like CMatrixDouble,
when the function decleration looks like this:
static void CAlglib::LSFitLinearC(double &y[],CMatrixDouble &fmatrix,
CMatrixDouble &cmatrix,int &info,
double &c[],CLSFitReportShell &rep)
So I want a sample script calling this function
with a few data points (time and price) from
the EUR/USD chart and get a valid output.
You should get back a value in "c" parameter.
This should be a simple task just to create
a sample script to correctly call this function.
Although this not necessary to know, here is more
information about this function: This is a linear
regression calculation similar to the one used
in regression channels. You can find an example
call in the alglib library documentation here:
http://www.alglib.net/translator/man/manual.ipython.html#example_lsfit_d_linc
Commandes similaires
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
Job Description: We are looking for an experienced MQL5 developer to create a script or Expert Advisor (EA) that automatically updates the price of a token CFD on MT5, using a live BTCUSD feed. The goal is to make token fully CFD-tradable , with real-time price updates, charts, and client P/L. Clients should be able to trade long or short and view live candles, just like other MT5 CFDs. Scope of Work / Requirements
Informations sur le projet
Budget
20 - 30 USD
Délais
de 1 à 3 jour(s)