Average Daily Range

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Average Daily Range

Postby Apprentice » Mon Jun 03, 2019 6:35 am

Compress your chart, to include more price points.
If you change "Bar Size to display High/Low" to lower time frame,
this will not be Average Daily Range
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23173
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Average Daily Range

Postby RVK2211 » Tue Jun 04, 2019 2:06 am

Apprentice wrote:Compress your chart, to include more price points.
If you change "Bar Size to display High/Low" to lower time frame,
this will not be Average Daily Range


OK understood.

I have a request for a modification, as I would like to display the the Average Session Range (ASR?) for X number of sessions, either through adding a start/end time to the ADR indicator or add an ASR option to the Trade Session indicator to show the average session range over the last x sessions.

Is that possible?

RVK
RVK2211
 
Posts: 22
Joined: Thu Mar 26, 2015 4:15 am

Re: Average Daily Range

Postby Apprentice » Tue Jun 04, 2019 6:12 am

Your request is added to the development list under Id Number 4695
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23173
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Average Daily Range

Postby RVK2211 » Wed Jun 12, 2019 8:40 am

Apprentice wrote:Try this version.
viewtopic.php?f=17&t=68537

TRADESESSIONS Range Overlay.lua


Brilliant!!!
RVK2211
 
Posts: 22
Joined: Thu Mar 26, 2015 4:15 am

Re: Average Daily Range

Postby Mohamed85 » Fri Jul 19, 2019 8:53 am

HI Apprentice, when I apply the indicator to the H TF it measures the daily range from the hourly candle not from the daily one as intended, in order to fix this I've changed the data source to D1 in the indicator properties panel, it works well in that case but it is shifted to the right side by 11 hrs, and near the end of the UK session it shifts to the next day, is there a way to fix this please, to make it shows at the start of the day to the end of the day based on he right measurements,

one more thing, if possible as well to make it measure the upper level from the low of the day and the lower level from the high of the day (not from the open price) as I believe this is the proper way.

thanks for the spport
Regards.
Mohamed85
 
Posts: 45
Joined: Sun Aug 21, 2016 1:24 pm

Re: Average Daily Range

Postby Apprentice » Mon Jul 22, 2019 4:08 am

See no issues with time. It works as expected (start of the day at
17:00 of NY). Changed high/low calculation as requested. 20 min
Average Daily Range.Mohamed85.lua
(4.58 KiB) Downloaded 104 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23173
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 14 guests