Range Bar

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

Range Bar

Postby Apprentice » Tue Jun 15, 2010 3:50 am

Range Bar.png
Range Bar


Period Range is difference between the period maximum and minimum.

Generates a signal when Up or Down bar appear.

Up Bar
Open[period] < 1/3 of Periods Range
Close[period] > 2/3 of Periods Range

Down Bar
Open[period] > 2/3 of Periods Range
Close[period] < 1/3 of Periods Range

I made two versions an oscillator and an indicator.
Range Bar.lua
Indicator
(2.22 KiB) Downloaded 1099 times

Range Bar Oscillator.lua
Oscillator (Beta)
(2.18 KiB) Downloaded 1010 times


The indicator was revised and updated
Last edited by Apprentice on Tue Jun 15, 2010 8:00 am, edited 2 times in total.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Range Bar

Postby Apprentice » Tue Jun 15, 2010 4:44 am

Advanced Range Bar
If the Period Range is set to 1, behaves as a standard Range Bar.

If Not.
Range for a certain time frame, is calculated as the difference between the maximum and minimum for the Time frame.

Advanced Range Bar.lua
Advanced Range Bar
(2.46 KiB) Downloaded 1030 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Range Bar

Postby Apprentice » Mon Feb 05, 2018 6:42 am

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

Re: Range Bar

Postby hadenfx » Sun Feb 25, 2018 9:06 pm

Hi Apprentice, I couldn't see your latest file since you've mentioned "the indicator is revised and updated".
you've mentioned if i changed the perriod ='1', it will behave a range bar. does this refer to range bar by tick?

thanks for your help.
hadenfx
 
Posts: 1
Joined: Sun Feb 25, 2018 8:59 pm

Re: Range Bar

Postby Apprentice » Mon Feb 26, 2018 4:48 pm

I couldn't see your latest file since you've mentioned "the indicator is revised and updated".

All old post files are updated.
Have NOT post any new file.
you've mentioned if i changed the perriod ='1', it will behave a range bar. does this refer to range bar by tick?

Timeframe reverses to how many candles will be used in the calculation.
1 - Only current candle
2 - the last two candles
and so on
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

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