Topic: Bar Range/ATR indicators need modifications

Hello
i need to modify bar range & ATR to use seasonality effect

Example bar range(10) use the last 10 bars in row to calculate its results

My  Request is  bar Range seasonal(10) uses the average of the same bar in the last ten days

Example of the idea :

BarRangeSeasonal 23:00(10) it will takes the 23:00 bar in the last ten days and calculate average

BarRangeSeasonal Monday(10) it takes the last 10 Mondays 

BarRangeSeasonal 23:15(10) ........ etc

footon , pop Could you help code that indicator

Thanks in advance

Re: Bar Range/ATR indicators need modifications

Hello

Any ideas !!!

Re: Bar Range/ATR indicators need modifications

I'm not sure I understand correctly, but try Signal Shift "Any" 10. It will repeat a signal every next 10 bars.

Re: Bar Range/ATR indicators need modifications

Its about seasonality Pop lets say i want to calculate the Monday bar range average for the last ten weeks

so i need to calculate the last ten mondays not the last ten days


Also if i want to calculate the 1 hr 8:00 AM bar range for the last ten days and plot it on the 8:00 candle of today

Re: Bar Range/ATR indicators need modifications

Hello Pop
indicator attached '' the histogram part ''
i hope it explains better than my words smile

NB : this type of indicators add a new concept which is : reset of the indicator values at the beginning of each new HTF period

Thanks in advance
http://s23.postimg.org/ossklucdz/forex_tsd_volatility_daily.jpg
//////////////////////////////////////////////////////////////////////////////////////////////////////
http://s22.postimg.org/rlzz11efl/volatilit_ibfx.gif
screen shot pc

Post's attachments

forex-TSD volatility.mq4 6.38 kb, 1 downloads since 2014-04-14 

You don't have the permssions to download the attachments of this post.

Re: Bar Range/ATR indicators need modifications

daily

Post's attachments

forex-TSD volatility daily.mq4 6.24 kb, 1 downloads since 2014-04-14 

You don't have the permssions to download the attachments of this post.

Re: Bar Range/ATR indicators need modifications

Hello Pop 
is the idea clear now !!!

it is a special type of moving average calculation ,

1 - it is not continuous calculation for MA it is selective by using the smaller time frame and the period comes from the LTF

2- It needs to be reset at the beginning of each LTF and

Example : average Pips of the hourly candles in the last ten days plotted in advance for today data