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

Техническое задание

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); 

 

 

 

Откликнулись

1
Разработчик 1
Оценка
(97)
Проекты
121
25%
Арбитраж
5
20% / 60%
Просрочено
17
14%
Свободен
2
Разработчик 2
Оценка
(103)
Проекты
205
41%
Арбитраж
17
29% / 71%
Просрочено
45
22%
Свободен

Информация о проекте

Бюджет
10 - 20 USD