Need a customized ATR function in MQL4 (math oriented coder only)

MQL4 Indikatoren Skripte

Spezifikation

Hi,

I need a small MQL4 function that will take the "shift" of a bar as parameter and a customized version of ATR taken from a formula which I will provide in discussion area.

Basically I just want to take the original ATR source code and customize it a little bit and converted into a function that I can use in my own source code.

An example usage would be:  

 

double CustomATR = GetMyCustomATR(int shift, double& SecParam) ;

{

 .... 

 

void Start

double OtherParam = 0;

double MyATR = GetMyCustomATR(1, OtherParam); 

 

 

 

Bewerbungen

1
Entwickler 1
Bewertung
(97)
Projekte
121
25%
Schlichtung
5
20% / 60%
Frist nicht eingehalten
17
14%
Frei
2
Entwickler 2
Bewertung
(103)
Projekte
205
41%
Schlichtung
17
29% / 71%
Frist nicht eingehalten
45
22%
Frei

Projektdetails

Budget
10 - 20 USD