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 am looking for a developer to create a script for MetaTrader 4 (MT4) that automatically reconnects to my broker account when the connection is lost. The script should continuously monitor the connection status and reconnect without requiring manual intervention whenever the platform is active but disconnected. The goal is to maintain a stable and uninterrupted connection to my account. If possible, the solution
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding

프로젝트 정보

예산
20 - 30 USD
개발자에게
18 - 27 USD
기한
에서 1  3 일