EA Based on Linear Regression Curve, with Offsets

MQL4 指标 专家

工作已完成

执行时间10 天
客户反馈
Reliable Professional. Easy to work with, and very accommodating.
员工反馈
Very kind customer who properly explained the calculations he wanted me to perform in his EA and indicator.

指定


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.

附加的文件:

反馈

1
开发者 1
等级
(7)
项目
10
20%
仲裁
3
0% / 100%
逾期
6
60%
空闲
2
开发者 2
等级
(34)
项目
55
31%
仲裁
8
0% / 63%
逾期
13
24%
空闲
发布者: 22 文章, 1 代码
3
开发者 3
等级
(70)
项目
91
25%
仲裁
26
19% / 54%
逾期
25
27%
空闲
4
开发者 4
等级
项目
0
0%
仲裁
1
0% / 100%
逾期
0
工作中
5
开发者 5
等级
(1)
项目
2
0%
仲裁
3
0% / 67%
逾期
0
空闲
6
开发者 6
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
相似订单
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
Title: Advanced XAUUSD MT5 Indicator – MQL5 Source Code Required I need a professional MT5 indicator written from scratch in MQL5 (.mq5) for XAUUSD. The indicator must be signals/analysis only — AutoTrading must remain OFF . I need the complete editable .mq5 source code, not only an .ex5 file. The system should analyze multiple timeframes: H4 → H1 → M30 → M15 → M5 → M1 . Required logic: Higher-timeframe
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run

项目信息

预算
100+ USD
截止日期
到 60 天