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
(62)
Projects
84
26%
Arbitration
22
23% / 45%
Overdue
23
27%
Working
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
(249)
Projects
398
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Loaded
Similar orders
Firstly Indicator (1) or the first part \\ Draw a red line at the top of the zero candle _ M1 \\ Draw a blue line at the bottom of the zero _ M1 candle \\ Draw a red line at the top of the zero _ M2 candle \\ Draw a blue line at the bottom of the zero _ M2 candle \\ Draw a red line at the top of the zero candle _ M3 \\ Draw a blue line at the bottom of the zero _ M3 candle \\ Draw a red line at the top of the zero
Description of the work to be done: Two tradingview scripts (3rd Wave and Zigzag) from the creator Lonesometheblue will need to be converted to a single EA for mt4. This EA must consist of the indicator that implements these two tradingview and also be capable of placing the orders that the indicator alerts you to. Description of the indicator: The mt4 indicator must have the same configurable parameters as that of
I am searching for an indicator that can effectively identify market structure components such as order blocks, which may or may not include a retest, and fair value gaps. This indicator should offer customizable options where I can specify the size of the order block and fair value gap in pips. Additionally, it should be able to highlight order blocks and fair value gaps that have been filled. I would also like the
Hello, I am seeking a skilled and experienced MQL4 developer to assist in creating a Metatrader 4 Expert Advisor (EA) that communicates with a WebSocket server to receive trade signals. i need a EA like ( www.mtsocketapi.com ) The project will involve the following key tasks: Develop a DLL or bridge application : The chosen developer will need to create a DLL or bridge application that can manage WebSocket
Hello, I am searching for the best and profitable SCALPING robot for only 2 pairs. If you have a profitable robot for either GOLD ( XAU/USD ) OR EURUSD OR BOTH In order to complete project I ask kindly that you send me demo version with license expiry of 1-2 days so I can test it in live market conditions. This is a requirement in order to move forward with project. Please no matingale, no hedging robots. Robot
Need to add push notifications to an existing mt4 indictor. I need it to push via text and sound through my phone once the push goes through the MT4 trading platform
Good day publishers so i am in need of a developer who is going to vonvert my 3 indicators into a robot ...this indicators has two mac D indictor with a two colors each (red & green) an d is have n arrow that pops up ..... Requirements .....1. so i want the robot to take trade when arrow pops and then the two mac ds should be in green coulor ( it must not take sells only for buy trade)....2. I want the robot to
We are looking for an experienced MQL5 developer to create an indicator plugin for the forex market that utilizes AI to predict market trends. The plugin should be installable on the MetaTrader 5 platform and capable of displaying trend predictions on a chart. The indicator will be used in marketing, so it must be visually appealing and effective in demonstrating trading patterns. Experience with AI and machine
Hi, I need a price change velocity measuring indicator / oscilatior. It should measure like 10 last bars to set a norm and then when the price goes over the norm it should measure by how much (2x, 5x, 10x...) Based on that I could set the levels for each particular symbol that would triger some changes in the levels of the sell and buy orders for the EA I have. It could be similar to ATR, but it should measure the
Hello, On the following website ( https://www.fibogroup.com/products/account-types/swap-history/ ) you can obtain (for free) historical data for every day for the swap value for a given currency/commodity. What i nees is an indicator/script/... which when applied in mt4 download the corresponding historical data for x days (to be determined) and draw it in a window under the main chart (on mt4)

Project information

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