EA Based on Linear Regression Curve, with Offsets

MQL4 Indicators Experts

Job finished

Execution time 10 days
Feedback from customer
Reliable Professional. Easy to work with, and very accommodating.
Feedback from employee
Very kind customer who properly explained the calculations he wanted me to perform in his EA and indicator.

Specification


I would like to order an EA, for which I am willing to pay $100. The EA is based on the Linear Regression Curve, calculated with the Least Squares Method. 

I would like the ability to input a period length for the calculation, as well as an offset modifier, to adjust the equation with which the linear regression curve is calculated.

The EA will create buy and sell orders based on offsets of the linear regression curve.

I'm uploading a sample of a code to help demonstrate the calculation. The equation demonstrates the parameters I would like the trading EA to utilize.

I want the EA to extrapolate the data from left to right, and use the formula, y = mx + b, where m and b are calculated with the Least Squares Method, and the X is the input for the length, where the X can be modified with the offset parameter.

The offsets are set in the y = mx + b equation, where the x is altered, y = m(period - 1 - offset) + b. I want the linear regression curve to be calculated at every bar, so that it is a constantly changing curve. The offset is not calculated at every bar, simply set outside the calculation of the slope and y intercept. The offset essentially just amplifies or dilutes the calculated slope at a given point.

To clarify, I do not want the line to be of a constant slope, where the slope is calculated only once for the entire line. I want the curve to be calculated at ever bar, so that it moves with every bar.

Because I want the calculation to produce a curve, and I want the data to be extrapolated from left to right, for the x parameter, the i counter runs from 0 to the period, and for the y parameter counts down in the reference bracket, Close[Period-i]. I want this calculation however to be done for every bar on the chart, which it seems requires the Bars and Indicator Counted Function. MQL4 is kind of tricky.

Additionally would like the EA to utilize a trailing stop, and a stop loss, which I can modify. 

The EA should be able to buy or sell, multiple currency pairs at once, based on whichever pair fits the criteria. 

The conditions that controls buy or sell orders, is the positioning of multiple sets of positive and negative offset buffers for the linear regression curve

For a sell, if the 2 day and 3 day negative offsets are below the 2 day and 3 day positive offsets, and the current price is below the weighted moving average, the bot will sell that currency pair.

For a buy, if the 2 day and 3 day negative offsets are above the 2 day and 3 day positive offsets, and the current price is above the weighted moving average, the bot will buy that currency pair.

I would also like to be able to add more buffers to the buy and sell evaluation if possible.

Hopefully the code that I am uploading is clear enough on the equation to calculate the linear regression curve, and the linear regression offsets.

Files:

Responded

1
Developer 1
Rating
(7)
Projects
10
20%
Arbitration
3
0% / 100%
Overdue
6
60%
Free
2
Developer 2
Rating
(32)
Projects
53
30%
Arbitration
8
0% / 63%
Overdue
13
25%
Free
3
Developer 3
Rating
(63)
Projects
84
26%
Arbitration
23
22% / 48%
Overdue
23
27%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Working
5
Developer 5
Rating
(1)
Projects
2
0%
Arbitration
3
0% / 67%
Overdue
0
Free
6
Developer 6
Rating
(253)
Projects
407
38%
Arbitration
85
42% / 19%
Overdue
70
17%
Loaded
Similar orders
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en

Project information

Budget
100+ USD
For the developer
90 USD
Deadline
to 60 day(s)