Custom ADR (Average Daily Range) indicator needed

MQL5 Indicateurs C++ C# Forex

Tâche terminée

Temps d'exécution 4 heures
Commentaires du client
The developer responded well to my request and was quick to fix any errors.
Commentaires de l'employé
Great customer, prompt communication, clear specs, recommended+

Spécifications

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!

Dossiers :

PNG
Ranger.PNG
31.4 Kb

Répondu

1
Développeur 1
Évaluation
(64)
Projets
68
25%
Arbitrage
12
42% / 42%
En retard
4
6%
Gratuit
2
Développeur 2
Évaluation
(3)
Projets
3
0%
Arbitrage
8
0% / 75%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(269)
Projets
284
55%
Arbitrage
0
En retard
5
2%
Gratuit
4
Développeur 4
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
Commandes similaires
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
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Informations sur le projet

Budget
30+ USD