指定
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.