Custom ADR (Average Daily Range) indicator needed

MQL5 Indicators C++ C# Forex

Job finished

Execution time 4 hours
Feedback from customer
The developer responded well to my request and was quick to fix any errors.
Feedback from employee
Great customer, prompt communication, clear specs, recommended+

Specification

This is how classic ADR works:

The Average Daily Range shows the average pip range of a Forex pair measured over a certain number of periods.

The calculation of the daily range of a currency pair is a relatively easy process. You simply take the distance between the daily highs and daily lows of a currency pair.

You can configure it to take into consideration as many periods as you want.

Let’s see an example of how the ADR calculation works:

Say that we adjust our ADR indicator to take into consideration five days. The distances (range) between the highest and the lowest point of each of these days are:

n1 = 560 ticks/points

n2 = 270 ticks/points

n3 = 780  ticks/points

n4 = 300  ticks/points

n5 = 420  ticks/points

The ADR calculator formula is as follows: ADR = (n1 + n2 + n3 + n4 + n5) / 5

And now we apply the values to the formula ADR =

(560 + 270 + 780 +300 + 420) / 5

ADR = 2330 / 5

ADR = 466 ticks/points

This is what I want:

Name of the indicator: Ranger

I want to be able to see the average range, the current range & the available ticks of three different periods.

-12 hours range 

-London New York overlap 

-24 hours range (Daily)

The start time of the calculations must be set to variable so that I can adjust to my brokers time.

input int Lookback = 5;

input int Start_Time= "07:00"; //07:00 to 19:00 = 12 hours & 07:00 AM to 07:00 AM = 24 hours/Day

input int LondonNewYork_Start="15:30";

input int LondonNewYork_End="18:00";

I want the data from the previous day to remain on the chart.

If the current range is greater than the avg range; put in red.

Anchor the text on the Start_Time variable.

Put the calculations in ticks (points).

Refer to the attached image for a visual.

Thanks!

Files:

PNG
Ranger.PNG
31.4 Kb

Responded

1
Developer 1
Rating
(64)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
2
Developer 2
Rating
(3)
Projects
3
0%
Arbitration
8
0% / 75%
Overdue
0
Free
3
Developer 3
Rating
(267)
Projects
282
55%
Arbitration
0
Overdue
5
2%
Free
4
Developer 4
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
Similar orders
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Project goal: To code several items for Ninja Trader, ranging from simple to more complex tasks, with potential for ongoing collaboration. Scope of work: - Develop code for specific items in Ninja Trader. - Implement minor functionalities like a line at a time level. - Address more complex coding needs as they arise

Project information

Budget
30+ USD