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
(174)
Proyectos
200
12%
Arbitraje
39
38% / 33%
Caducado
5
3%
Libre
Ha publicado: 2 ejemplos
3
Desarrollador 3
Evaluación
(851)
Proyectos
1464
72%
Arbitraje
122
29% / 48%
Caducado
358
24%
Trabaja
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
499
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
6
Desarrollador 6
Evaluación
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
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
13
8% / 62%
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
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
UnixFirmanMln 30 - 200 USD
I am an MQL5 Developer specializing in Forex trading automation, Expert Advisors, custom indicators, and trading strategy optimization. I provide services for developing, debugging, modifying, and improving trading robots and indicators. My technical skills include MQL5, C++, Linux, algorithmic trading logic, debugging, and performance optimization. I pay close attention to trading rules, execution logic, risk
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be

Información sobre el proyecto

Presupuesto
100 - 200 USD
Plazo límite de ejecución
de 5 a 10 día(s)