Custom ADR (Average Daily Range) indicator needed

MQL5 Göstergeler C++ C# Forex

İş tamamlandı

Tamamlanma süresi: 4 saat
Müşteri tarafından geri bildirim
The developer responded well to my request and was quick to fix any errors.
Geliştirici tarafından geri bildirim
Great customer, prompt communication, clear specs, recommended+

İş Gereklilikleri

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!

Dosyalar:

PNG
Ranger.PNG
31.4 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(63)
Projeler
68
25%
Arabuluculuk
12
42% / 42%
Süresi dolmuş
4
6%
Serbest
2
Geliştirici 2
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
8
0% / 75%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(170)
Projeler
185
47%
Arabuluculuk
0
Süresi dolmuş
5
3%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(96)
Projeler
143
76%
Arabuluculuk
0
Süresi dolmuş
2
1%
Serbest
Benzer siparişler
Here are the paragraphs for the robot's settings to trade on various instruments: *US30 (Dow Jones)* - Symbol: US30 - Timeframe: H1 (1-hour chart) - Lot size: 0.1 - Take profit: 200 points - Stop loss: 150 points *Gold (XAUUSD)* - Symbol: XAUUSD - Timeframe: H4 (4-hour chart) - Lot size: 0.1 - Take profit: 1000 points - Stop loss: 800 points *Nas 100 (US Tech 100)* - Symbol: NQ100 - Timeframe: H1 (1-hour chart) - Lot
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
Lihle's trades 30+ USD
``` //+------------------------------------------------------------------+ //| Hello World Expert Advisor | //| | //| This is a basic EA that buys and sells based on a simple | //| moving average crossover strategy. | //+------------------------------------------------------------------+ #property version "0.01" #property strict input int FastMA
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Скальпер по стакану ( фронтраннинг ) : Рассчитывает средний обьем ордеров в пределах N уровней цены от текущей цены , и ставит свой ордер на покупку/продажу перед ордером который на X % больше средней цены N уровней . Стоп лосс и тейк профит всегда заданы по умолчанию из настроек ( фиксированные ) . В случае если ордер перед которым мы ставили свой ордер перестает соответствовать условиям то мы свой ордер снимаем
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Project overview. C# for multi charts. Enter single buy and sell stop X points away from current market.(allow SL and TP ) If order is executed another pending order is opened. Allow trailing stop -x points Delete pending order x points away from current market
Hi, I need a professional in this field. I have a cbot using two free indicators available on ctrader platform. The specification is attached. Please can you provide your quote for completing this cbot? Thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello! I'm glad to meet you! In the Microsoft Word document that I attached below you have all the information regarding what I want from your outsanding services. There you have some information also about me and the fact that I want to work together on this project, not to be something only I can use, I want both of us to have benefit from this. Thank you! (please dm me to send you the microsoft word document) The

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD