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
(268)
Projects
284
55%
Arbitration
0
Overdue
5
2%
Free
4
Developer 4
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
Similar orders
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies
Automatic buy and sell entries. stoploss (sl) take profit (tp) risk management and adjustable lot size. Adjustable risk percentage per trade. Trailing stop maximum number of open trades. Trading hours filter. Ability to backtest and optimize the strategy. Easy to use settings. The EA should work reliably on mt5 and provide the source code. I want the developer to test the EA and provide backtest results before
I am looking to see if you can convert my pinescript into a NinjaTrader bot so I can get automated trading instead of manually doing it in TradingView i would like to get it to just do the trades for me based on my script. let me know who can do this perfectly
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую

Project information

Budget
30+ USD