Average Period 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

Average Period Range

Postby Apprentice » Fri May 17, 2013 4:00 am

APR.png


Will show Average Range of Data for last N periods.

Range Method
abs(Open-Close) or High-Low

Presentation of Results
Absolute
Relativ - as a percentage

APR.lua
(4.51 KiB) Downloaded 1008 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Average Period Range

Postby sho-me-pips » Tue May 28, 2013 12:05 pm

Apprentice wrote:Will show Average Range of Data for last N periods.

Range Method
abs(Open-Close) or High-Low

Presentation of Results
Absolute
Relativ - as a percentage


Would you modify this indicator to the following math, or write a new indicator.

Range Method
Up=(High-Low)/(CurrentPrice-Low)/100 Green line when changes to up
Down=(High-Low)/(High-CurrentPrice)/100 Red line when changes to down
Current bar in not part of the calculated range. When indicator reaches 101% you have a breakout of the range.
"A hundred pips a day keeps the collector away"
User avatar
sho-me-pips
 
Posts: 82
Joined: Sat Sep 11, 2010 8:38 am

Re: Average Period Range

Postby Apprentice » Sun Jun 02, 2013 11:38 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Average Period Range

Postby sho-me-pips » Mon Jun 03, 2013 3:52 pm

Exactly!! Thank You very much.
"A hundred pips a day keeps the collector away"
User avatar
sho-me-pips
 
Posts: 82
Joined: Sat Sep 11, 2010 8:38 am

Re: Average Period Range

Postby Alexander.Gettinger » Wed Aug 14, 2013 3:07 pm

MQL4 version of Average Period Range: http://www.fxcodebase.com/code/viewtopi ... 38&t=59129.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Average Period Range

Postby Apprentice » Sun Feb 18, 2018 7:48 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Average Period Range Projections

Postby 7510109079 » Fri Feb 08, 2019 8:48 am

Apprentice wrote:
APR Projections.png

APR Projections.lua


can a history option be added to this which would plot prior period ranges?
7510109079
FXCodeBase: Graduate
 
Posts: 410
Joined: Wed May 18, 2011 7:23 am


Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 57 guests