• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 3:39pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:39pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Modifying indicator to account for NULL values - A Little Help, please! 8 replies

Pin Bar Indicator needs modifying 5 replies

Help - Modifying the SweetSpot Indicator 8 replies

Need help modifying Multi Pair Stochastic indicator 0 replies

Need help modifying a pretty good Trend Indicator 3 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 21
Attachments: Modifying an ADR indicator
Exit Attachments

Modifying an ADR indicator

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Edited at 7:08pm Jan 10, 2012 5:30pm | Edited at 7:08pm
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,620 Posts
Erebus posted this ADR indicator in one of my threads and I need to see if someone can make it with a few mods, but all he has is the ex4 file though. It calculates the ADR (14 days default) and draws the ADR high and low on the chart. At 00:00 GMT the indicator recalculates and redraws new ADR highs and lows for the current day. I want to have the indicator to leave the previous day's high/low ADR values on the charts being able to go back "X" number of days. Can anyone make up one from scratch or modify one the might already have?
Attached File
File Type: ex4 !SM_ADR Marker.ex4   12 KB | 1 download
  • Post #2
  • Quote
  • Jan 11, 2012 4:35pm Jan 11, 2012 4:35pm
  •  zznbrm
  • Joined Jul 2008 | Status: Member | 878 Posts
Does this look similar to what you want?

This one shows the ADR for each day (my broker is currently GMT-5, new trading day starts at 17:00). The ADR high/low lines "move" as new highs/lows are made throughout the day. This allows you to clearly see if and when the ADR is reached during each day.
Attached Image (click to enlarge)
Click to Enlarge

Name: adr1.jpg
Size: 73 KB
 
 
  • Post #3
  • Quote
  • Jan 11, 2012 7:40pm Jan 11, 2012 7:40pm
  •  emmanuel7788
  • Joined Nov 2008 | Status: Member | 36,495 Posts
Quoting zznbrm
Disliked
Does this look similar to what you want?

This one shows the ADR for each day (my broker is currently GMT-5, new trading day starts at 17:00). The ADR high/low lines "move" as new highs/lows are made throughout the day. This allows you to clearly see if and when the ADR is reached during each day.
Ignored

Hi nnzbrm,

Your historical ADR chart looks good to me.
Can you post the code for this?
Very much appreciated.

Kind regards
ET
Honesty is a very expensive gift. You wont find it in cheap people.WBuffett
1
 
  • Post #4
  • Quote
  • Jan 12, 2012 6:19pm Jan 12, 2012 6:19pm
  •  twj1usa
  • | Joined Mar 2009 | Status: Member | 137 Posts
Mer, your adr appears to be a modified version of the tz-pivot indicator of which there have been several, Anyway I do have one, so are you looking for the comments to indicate the previous data or are you looking for previous day lines on the chart. Then are you looking for several days showing or an option to move the lines to a day of your choosing..
 
 
  • Post #5
  • Quote
  • Jan 13, 2012 10:53am Jan 13, 2012 10:53am
  •  toddanderson
  • | Joined Jul 2005 | Status: Member | 511 Posts
could you post your indicator
thank you


Quoting zznbrm
Disliked
Does this look similar to what you want?

This one shows the ADR for each day (my broker is currently GMT-5, new trading day starts at 17:00). The ADR high/low lines "move" as new highs/lows are made throughout the day. This allows you to clearly see if and when the ADR is reached during each day.
Ignored
 
 
  • Post #6
  • Quote
  • Jan 14, 2012 1:22am Jan 14, 2012 1:22am
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,620 Posts
Quote
Disliked
Does this look similar to what you want?

This one shows the ADR for each day (my broker is currently GMT-5, new trading day starts at 17:00). The ADR high/low lines "move" as new highs/lows are made throughout the day. This allows you to clearly see if and when the ADR is reached during each day.

The calculation period for this is just 24 hrs.? The indicator needs to plot the ADR high and low preferably using a 14 day average.

Quote
Disliked
Mer, your adr appears to be a modified version of the tz-pivot indicator of which there have been several, Anyway I do have one, so are you looking for the comments to indicate the previous data or are you looking for previous day lines on the chart. Then are you looking for several days showing or an option to move the lines to a day of your choosing..

I'm looking for it to leave the previous day's ADR high/low lines on the chart so I can visually see how often the day's trading is reaching the ADR levels. It would be nice to have an input to be able to leave them on the chart going back "X" number of days.
 
 
  • Post #7
  • Quote
  • Jan 14, 2012 3:31am Jan 14, 2012 3:31am
  •  emmanuel7788
  • Joined Nov 2008 | Status: Member | 36,495 Posts
Quoting mer071898
Disliked
The calculation period for this is just 24 hrs.? The indicator needs to plot the ADR high and low preferably using a 14 day average.



I'm looking for it to leave the previous day's ADR high/low lines on the chart so I can visually see how often the day's trading is reaching the ADR levels. It would be nice to have an input to be able to leave them on the chart going back "X" number of days.
Ignored
Hi Mer,

just to clarify some points before I start cracking on coding:
- what is the ADR start line?
to use the new day open level at GMT0000
or do you have a specifc formula for ADR start level?
Honesty is a very expensive gift. You wont find it in cheap people.WBuffett
1
 
  • Post #8
  • Quote
  • Jan 14, 2012 2:30pm Jan 14, 2012 2:30pm
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,620 Posts
No special formula, just have it starting at 00:00 GMT using a 14 day average as the default period.
 
 
  • Post #9
  • Quote
  • Jan 14, 2012 3:45pm Jan 14, 2012 3:45pm
  •  zznbrm
  • Joined Jul 2008 | Status: Member | 878 Posts
Quoting toddanderson
Disliked
could you post your indicator
thank you
Ignored
Here you go. This is what I created for my broker (New York time zone, forex trading day starts at 17:00).

If your broker is in a different time zone and/or you want to use a different trading day starting time, then you should update the date/time code accordingly.
Attached File
File Type: mq4 AdrHighLow2.mq4   9 KB | 2 downloads
 
 
  • Post #10
  • Quote
  • Jan 15, 2012 7:34pm Jan 15, 2012 7:34pm
  •  BarneyDog
  • | Joined May 2007 | Status: Member | 300 Posts
Quoting zznbrm
Disliked
Here you go. This is what I created for my broker (New York time zone, forex trading day starts at 17:00).

If your broker is in a different time zone and/or you want to use a different trading day starting time, then you should update the date/time code accordingly.
Ignored

Hi,

Nice!

Can you add two calculations and provide for Weekly and Monthly?

Where Weekly is based on x number of Weekly Highs and Lows, Monthly is based on x number of Monthly Highs and Lows, along with displaying the Weekly High and Low, and Monthly High and Low.

Thanks!

BD
 
 
  • Post #11
  • Quote
  • Feb 9, 2012 2:31am Feb 9, 2012 2:31am
  •  stevebalmmer
  • | Joined Dec 2009 | Status: Member | 981 Posts
hello.
which settings I need whom I live in Germany.
I tarde 1 hour.
Is it also right that the lines change whom of the address was met by a candle?
thx
steve
 
 
  • Post #12
  • Quote
  • Edited Aug 14, 2012 6:41am Aug 13, 2012 11:38am | Edited Aug 14, 2012 6:41am
  •  rewand
  • | Joined Feb 2011 | Status: Member | 95 Posts
Hi,

Can someone help me with an email alert in the attached ADR indicator (send an email alert once ADR is hit). I have tried my best to make it but it sends many emails to me (I lack programming skills and I although I have searched for answers I have not found the key to make the necessary changes). Obviously the challenge is to send the email once only although at every change in the price results in a higher ADR today than the 5 days ADR.

Managed by myself. Since there is no other similar ADR indi, I attach it for others to use.
Attached File
File Type: mq4 ADR 1.mq4   18 KB | 1 download
 
 
  • Post #13
  • Quote
  • May 10, 2013 2:17pm May 10, 2013 2:17pm
  •  mskdubois
  • | Joined Jun 2011 | Status: Junior Member | 1 Post
Loved the ADR indicator, thanks so much.
 
 
  • Post #14
  • Quote
  • Jul 31, 2016 2:31pm Jul 31, 2016 2:31pm
  •  nikolaycgt
  • | Joined Jul 2016 | Status: Junior Member | 3 Posts
The AdrHighLow2.mq4 indicator is not showing the daily ADR lines on my MT4 4.0 Build 988 platform. The time is Sunday, before the markets open.
Do you have a functional ADR indicator, showing the ADR lines for every day, not just the current/last day?
Attached Image (click to enlarge)
Click to Enlarge

Name: c33fe2ec710e27359f96d37ace85114d.png
Size: 40 KB
 
 
  • Post #15
  • Quote
  • Dec 14, 2017 11:42am Dec 14, 2017 11:42am
  •  ramzam
  • Joined Nov 2015 | Status: Member | 2,926 Posts
no one
Success is a Journey Not a Destination....... kind regards ramzam
 
 
  • Post #16
  • Quote
  • Jul 15, 2018 12:11pm Jul 15, 2018 12:11pm
  •  newtrojan
  • | Joined Jun 2015 | Status: Member | 60 Posts
Quoting rewand
Disliked
Hi, Can someone help me with an email alert in the attached ADR indicator (send an email alert once ADR is hit). I have tried my best to make it but it sends many emails to me (I lack programming skills and I although I have searched for answers I have not found the key to make the necessary changes). Obviously the challenge is to send the email once only although at every change in the price results in a higher ADR today than the 5 days ADR. Managed by myself. Since there is no other similar ADR indi, I attach it for others to use. {file}
Ignored

Does it send email when the daily ADR is more than the 5 day
 
 
  • Post #17
  • Quote
  • Dec 22, 2019 2:08pm Dec 22, 2019 2:08pm
  •  corinthia
  • Joined Feb 2011 | Status: Member | 111 Posts
Greetings, checking to see if anyone can modify or create an indicator similar to !SM_ADR Marker (mentioned in the first post) that shows the previous days ADR high/low. Need to be able to look back over the last 10 or 20 days to see price behaviour at the ADR high/low. Would be grateful if any coders can help. Thanks.
 
 
  • Post #18
  • Quote
  • Dec 23, 2019 11:17am Dec 23, 2019 11:17am
  •  corinthia
  • Joined Feb 2011 | Status: Member | 111 Posts
Bump..
 
 
  • Post #19
  • Quote
  • Sep 4, 2020 9:27am Sep 4, 2020 9:27am
  •  H0nZ4
  • | Joined Apr 2014 | Status: Member | 27 Posts
Quoting corinthia
Disliked
Greetings, checking to see if anyone can modify or create an indicator similar to !SM_ADR Marker (mentioned in the first post) that shows the previous days ADR high/low. Need to be able to look back over the last 10 or 20 days to see price behaviour at the ADR high/low. Would be grateful if any coders can help. Thanks.
Ignored
Hi traders, I am looking for the same... Is there some indicator, which draws ADR Hi/Lo lines not only for current day, but in history also?
Something like this:
Attached Image (click to enlarge)
Click to Enlarge

Name: ADR-indi-example.png
Size: 28 KB
 
1
  • Post #20
  • Quote
  • Oct 15, 2020 5:33am Oct 15, 2020 5:33am
  •  H0nZ4
  • | Joined Apr 2014 | Status: Member | 27 Posts
Quoting corinthia
Disliked
Greetings, checking to see if anyone can modify or create an indicator similar to !SM_ADR Marker (mentioned in the first post) that shows the previous days ADR high/low. Need to be able to look back over the last 10 or 20 days to see price behaviour at the ADR high/low. Would be grateful if any coders can help. Thanks.
Ignored
Hi everyone, finally got it.
Please find this updated ADR indicator in attachment. Two bitmaps from ZIP file go to /MQL4/Images/ folder.
If you find some bugs, let me know (... there will be some, I suppose).
Attached Image (click to enlarge)
Click to Enlarge

Name: 201015_ADR-indicater_with-history_AUDNZD_ecnM15.png
Size: 27 KB
Attached Files
File Type: ex4 ADR-with-history_1.04.ex4   15 KB | 196 downloads
File Type: mq4 ADR-with-history_1.04.mq4   23 KB | 286 downloads
File Type: zip Images.zip   4 KB | 195 downloads
 
1
  • Platform Tech
  • /
  • Modifying an ADR indicator
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022