Refactor mql4 code ("working too slowly" & "array out of range"), change ext int variable into custom indicator input

Tarea técnica

This is only for highly experienced programmers who know how to work with custom libraries, who know how to update functionality, increase indicator speed by refactoring code, and fix array-out-of-range errors from previous MT4 versions to the current one. Please do not apply when you don't qualify. Thank you.

Description:

A custom indicator, called "!adaptor.mq4", which is calculated on the first buffer of another custom indicator called "# another oscillator VII", uses a custom library called "Calc_Fit_For_Bar.mq4", was written long time ago. This indicator ("!adaptor") needs updating and adjustment. It is an adaptive digital filter, calculated on an oscillator. The way it adapts is calculated in a custom library.

There are 2 issues:


-> First the 2 problems:

1) error messages:

"! adaptor EURUSD,H1: array out of range in '! adaptor.mq4' (65,39)"

and:

"GBPUSD,M30: indicator(s) working too slowly, total calculation time 2906 ms"

So it is working too slowly, and has an array out of range error: this needs to be fixed, so it works correctly in the latest MT4 version.


-> The required changes:

2) It requires adjustment: Instead of an external integer variable, the extern int "WindowLength" should be able to take the input from a custom indicator-rounded- integer value: using MathRound, which I can easily edit on 1 single line in the code. Could be a trivial input in the prototype, just to show the functionality.


The custom library will be provided after acceptance of the project.

Thank you.



Han respondido

1
Desarrollador 1
Evaluación
(144)
Proyectos
199
42%
Arbitraje
20
25% / 55%
Caducado
10
5%
Libre
2
Desarrollador 2
Evaluación
(173)
Proyectos
197
12%
Arbitraje
39
36% / 33%
Caducado
5
3%
Trabajando
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(840)
Proyectos
1436
72%
Arbitraje
117
29% / 47%
Caducado
356
25%
Trabajando
Ha publicado: 3 artículos
4
Desarrollador 4
Evaluación
(31)
Proyectos
41
20%
Arbitraje
9
11% / 89%
Caducado
5
12%
Libre
5
Desarrollador 5
Evaluación
(322)
Proyectos
497
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
6
Desarrollador 6
Evaluación
(535)
Proyectos
613
34%
Arbitraje
34
38% / 47%
Caducado
9
1%
Ocupado
7
Desarrollador 7
Evaluación
(10)
Proyectos
14
14%
Arbitraje
6
33% / 50%
Caducado
2
14%
Libre
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(69)
Proyectos
146
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
9
Desarrollador 9
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
Solicitudes similares
I’m looking for an experienced ThinkorSwim (TOS) / ThinkScript developer to build and set up a reliable automation system for a client’s QQQ LEAPS trading strategy. Strategy Rules to Implement Entries Setup A: If QQQ opens ≥1% below yesterday’s close AND above the 100-SMA → Buy ~0.60 delta LEAPS call (≈12 months out, slightly ITM). Setup B: If QQQ opens ≥2% down (no SMA filter required) → Buy ~0.60 delta LEAPS call
I want a scalping MT5 trading bot that will be placing trades without any signal indicator. Conditions will be as follows; it will be opening both buy stop and sell stop at the same time being separated by a gap of 20 points from the entry. If for instance a buy stop is hit, then the sell stop should be closed immediately, and a stop loss is placed immediately where the sell stop was. Ones the buying position gets
Hi. I need someone to program an EA, using an indicator I have. Someone else made one in a day but didn't do all I wanted and don't want to use him again
I would like to have an Expert Advisor created with the following parameters. This Expert Advisor should analyze the higher time frame and the medium time frame, and based on that, open positions on the lower time frame. For this reason, I would like to work with developers who have experience in multi-timeframe analysis. I have a PDF file that explains the entire trading logic. In addition, I have compressed the
I'm looking to acquire a ready-made, consistently profitable Expert Advisor (EA) for MetaTrader 5 (MT5). The EA should be well-tested in both backtesting and live trading conditions and based on a clear, logical trading strategy (not a black box). I'm open to a variety of strategies as long as they are stable, explainable, and show consistent results
I am looking for a profitable trading bot (Expert Advisor) for MT5. The bot should have: Consistent performance with proven backtest and preferably live results Strong risk and money management features Easy setup and user-friendly inputs Please share your proposals with details and pricing
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
I'm looking for an experienced MQL5 developer and trader to assist with the refinement, backtesting, and live trading optimization of a custom Expert Advisor (EA). The EA is based on a pure breakout strategy on XAUUSD. The main goals are: 1. Compile and straighten the code – ensure error-free, optimized, and professional coding standards. 2. Run and set up backtesting – produce results with gradual positive
The EA will have 3 moving average and trade are executed upon cross over.The EA will finally be in MQL4 and MQL5. The EA will also be protected with a password. Further description will be given after agreement
I need a trading robot expert advisors/EA on MQL5. With the following strategies. Trend Following and Mean Reversion/Scalping and Range Trading* 1. *Trend Following and Mean Reversion*: Capture trends and profit from mean reversion opportunities. 2. *Scalping and Range Trading*: Profit from short-term price movements and range-bound opportunities. *Trend Following and Mean Reversion* - *Indicators:* - Moving

Información sobre el proyecto

Presupuesto
100 - 200 USD
IVA (21%): 21 - 42 USD
Total: 121 - 242 USD
Para el ejecutor
90 - 180 USD
Plazo límite de ejecución
de 5 a 10 día(s)