Page 1 of 4

ATR Range Bars

PostPosted: Mon Mar 23, 2020 6:12 am
by Apprentice
Untitled.png

ATR RANGE BARS(EUR_USD.) (03-23-2020 1020).png

Based on request.
viewtopic.php?f=27&t=69559

To follow market volatility, a range bar whose size would depend on the ATR value.

ATR Range Bars.lua
(7.67 KiB) Downloaded 519 times

Re: ATR Range Bars

PostPosted: Mon Mar 30, 2020 11:21 am
by damso4998
Hello Apprentice,

The indicator is perfect and i thank you for the work.

I have an idea to add an option:

Can you add the possibility to add a moving average to smooth the ATR please ?

For example : For example i have a fast ATR set on 2 periods. So to smooth it i add a moving average set on x periods from the ATR.


Thanks again for all the work

Re: ATR Range Bars

PostPosted: Tue Mar 31, 2020 5:13 am
by Apprentice
Your request is added to the development list.
Development reference 970.

Re: ATR Range Bars

PostPosted: Tue Mar 31, 2020 6:38 am
by Apprentice
ATR Range Bars.lua
(10.5 KiB) Downloaded 442 times

Something like this?

Re: ATR Range Bars

PostPosted: Wed Apr 01, 2020 4:00 pm
by damso4998
Thank you so much Apprentice !!

it works well :)


I hope this indicator will hel p a lot of people :D

Re: ATR Range Bars

PostPosted: Sun Apr 26, 2020 6:18 am
by damso4998
Hello Apprentice,

I am back again with a new idea :D

is it possible to add a condition betwenn the ATR value and the smoothed (MA period) value of the ATR.

I would like:

When the ATR value is inferior to value the MA period, the indicator will use The ATR value without the moving average

But when The ATR value is superior to value of the Moving average, the indicator will use the value of the Moving average


So in summary:

ATR value < Moving average = we use only the ATR value
ATR value > Moving average = we use the value of the Moving average



I don't know if i'm clear (English is not my native langage :oops: )

And since i don't have an answer in the premium section i want to ask if it's possible to convert this this indicator for prorealtime (of course i'm willing to support your work with money)

Re: ATR Range Bars

PostPosted: Mon Apr 27, 2020 4:29 am
by Apprentice
Your request is added to the development list.
Development reference 1151.

Re: ATR Range Bars

PostPosted: Tue Apr 28, 2020 10:29 am
by Apprentice
ATR Range Bars.lua
(10.55 KiB) Downloaded 401 times

Try this version.

Re: ATR Range Bars

PostPosted: Thu May 07, 2020 4:25 pm
by damso4998
Hello Apprentice,

I have an issue with the view it's works well but it's looks like it doesn't refresh (i learnt that marketscope 2 doesn't automatically refresh is it true ?) when new bars are created so when i refresh the view it gives me different candles

Is there a way to fix it please ?

Re: ATR Range Bars

PostPosted: Fri May 08, 2020 5:19 am
by Apprentice
Is "Thill now" marked or not?