ATR Distance Comparison

MQL4 Indicators Experts

Job finished

Execution time 1 hour
Feedback from employee
Thank you for your order, I will be glad to continue our cooperation.
Feedback from customer
Nice and quick... very happy....

Specification

I need to compare the distance in points between two different items and give a true or false if the distance in points is less than the atr value within a function.

Job will be done remotely (WILL NOT SHARE EA) it should take a short time to do and use Print... function to test working.

Example:

   double MAM1 = iMA(Sym, toTF(MAt1_TimeFrame), MAt1_Period, MAF_Shift, MAF_Method, MA1_Price, 0);

   double MAM5 = iMA(Sym, toTF(MAt2_TimeFrame), MAt2_Period, MAF_Shift, MAt_Method, MAt_Price, 0);

   double atrD = iATR(Sym, toTF(ATRMA_TimeFrame), Filter_ATRPeriod, 0) * ATRMA_Multiplier;

   

    (((MAM1-MAM5)/Point() < atrD) && ((MAM5-H1)/Point() < atrD)) return(true);

Responded

1
Developer 1
Rating
(199)
Projects
248
27%
Arbitration
14
50% / 36%
Overdue
8
3%
Loaded
2
Developer 2
Rating
(186)
Projects
228
34%
Arbitration
8
63% / 38%
Overdue
6
3%
Working
Published: 8 codes
3
Developer 3
Rating
(414)
Projects
735
49%
Arbitration
60
15% / 50%
Overdue
134
18%
Working
4
Developer 4
Rating
(15)
Projects
34
24%
Arbitration
3
0% / 33%
Overdue
2
6%
Working
5
Developer 5
Rating
(262)
Projects
265
72%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
6
Developer 6
Rating
(255)
Projects
577
36%
Arbitration
64
20% / 58%
Overdue
147
25%
Free
Published: 1 article, 22 codes
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(40)
Projects
48
38%
Arbitration
6
17% / 33%
Overdue
8
17%
Working
9
Developer 9
Rating
(534)
Projects
612
34%
Arbitration
33
39% / 45%
Overdue
9
1%
Busy
10
Developer 10
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
1
11%
Working
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(137)
Projects
176
43%
Arbitration
21
62% / 19%
Overdue
10
6%
Working
13
Developer 13
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(3)
Projects
4
75%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(280)
Projects
505
36%
Arbitration
62
34% / 35%
Overdue
182
36%
Free
18
Developer 18
Rating
(602)
Projects
819
47%
Arbitration
26
38% / 12%
Overdue
63
8%
Working
19
Developer 19
Rating
(3)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
1
100%
Working
20
Developer 20
Rating
(74)
Projects
223
72%
Arbitration
6
100% / 0%
Overdue
1
0%
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(283)
Projects
456
39%
Arbitration
94
43% / 19%
Overdue
73
16%
Busy
Published: 2 codes
23
Developer 23
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Free
Similar orders
I'm looking for a profitable EA that will do 100% in few days and also with low risk, strict money management., if you have one please get in touch with all the details on how it works. ill need to test a demo before we go through
I am looking for a professional to help me with backtest and optimize the ea perfectly I will also provide the tutoral to watch so you can understand how it works. pls kindly respond if you can do this professionally
Hi I need two EAs created. High level requirements below. Exact details will be provided to final developer. EA 1: Entry based on RSI + EMA cross and combination of last 5 candle pricing (depending on high/low/close). SL based on previous candle high and tp multiplier of sl. There will be requirement to add time limitations. ie trade within specific hours. EA 2: Entry based on RSI divergence , RSI value and
Hi I have this error trying to Add Grok 3 Api key to my bot if you can help make contact 2025.05.28 10:03:25.289 BTC AI GROK 3 (BTCUSD,M15) Grok 3 Sentiment Error: 421, Response: Welcome to the xAI API! Documentation is available at https://docs.x.ai/ 2025.05.28 10:13:35.110 BTC AI GROK 3 (BTCUSD,M15) Grok 3 Sentiment Error: 421, Response: Welcome to the xAI API! Documentation is available at https://docs.x.ai/
Hello Developers, I am looking for some one who can make EA from my price action strategy available on Trading View now. Order needs to be placed automatically based on BUY/SELL signal appears on the chart. Thanks
Opening trades is performed on a timer basis. The direction of trades is based on 2 indicators, There are several entry and exit options. The expert is suitable for trading in the real futures market, (for those who understand the differences between futures and other types of markets, Forex, etc.) A detailed explanation will be sent to the selected ones
أريد اكسبرت على الذهب أو العملات لا يخسر أبداً لقد جربت الآلاف انها تخسر مع الانزلاقات السعرية أتمنى لا يرسل شخص إلا وهو متأكد تمام علماً أنني استخدم اختبار حقيقي قبل التجربة لعشر سنوات للخلف ولدي طريقتي في اختباره ليست الطريقة التقليدية على منصة ميتاتريدر أريده الاكسبرت مفتوح المصدر وتجربته قبل شرائه I want an expert advisor on gold or currencies that never loses. I've tried thousands of them, and they all lose with
Good day to everyone! I need to quench my curiosity in order to conduct a series of backtests. For this I need a trading algorithm, but unfortunately I cannot allocate a huge amount of money for this. I would like a specialist to look at this task and evaluate the task accordingly. For those who is familiar with "Grid trading" and Martingale system they should recognize similarity. Text below is copied from my Exel
Hello - I am looking for a profitable EA that operates with strict money management, maintains low DD% at all times and is able to do 100% in few days. Please only apply if you have such an EA already tested and working well in both forward and backtest. Please apply with all the details on how it works, provide any backtest/forward test/myfxbook link etc. I will also need to demo test the EA before we move forward
Quote for Pinescript project first I am seeking an experienced Pine Script programmer to enhance an existing custom ZigZag-based Market Structure indicator. After successful delivery, the indicator will be further developed into an MQL5 Expert Advisor . Requirements: Review and revise the existing customised ZigZag Market Structure indicator (in Pine Script). Enhance the script to: Automatically draw support and

Project information

Budget
40+ USD
For the developer
36 USD