Calling a math function with correct function parameters

MQL4 スクリプト

指定

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

類似した注文
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

プロジェクト情報

予算
20 - 30 USD
開発者用
18 - 27 USD
締め切り
最低 1 最高 3 日