Indicators: ATR Value Indicator - page 2

 
Is there a way to exclude the current candle from the counting?
 
RicardoOliveira87 #:
Is there a way to exclude the current candle from the counting?

modify line 161...

if(CopyBuffer(ATRHandle,0,X,2,ATRBuffer)<=0)

change X to the candle number that you want the first candle to be counted. for example: currently it is 0. If you want the 2 closed candles to be counted instead: change X to 1.

 
IT DOESN'T WORK!
 

Hi Hossein Nouri,

Thanks you for the indicator, it's a great help.

However, I have an issue whereby, when I set the indicator to a template and then change the timeframes on the chart, it creates another object for the other timeframes on top on the original template/object even though the timeframe on the indicator is sent to current.

Please can you amend or show me how to amend this as I can't see the ATR when I change/flick back-and-forth between multiple timeframes and multiple templates?

Also, please click/(Copy paste the URL on browser.) on the Video-Link below as I had recorded so hopefully making it easier to understand.


(Please wait a few seconds till the video loads) VideoLINK:  https://watch.screencastify.com/v/AwKxSD2IthfzLsWM1MUS


Warmest Regards

Rohan

Hossein Nouri
Hossein Nouri
  • www.mql5.com
Trader's profile
 
Everything works !, thanks
 
Rohan Sawant #:

Hi Hossein Nouri,

Thanks you for the indicator, it's a great help.

However, I have an issue whereby, when I set the indicator to a template and then change the timeframes on the chart, it creates another object for the other timeframes on top on the original template/object even though the timeframe on the indicator is sent to current.

Please can you amend or show me how to amend this as I can't see the ATR when I change/flick back-and-forth between multiple timeframes and multiple templates?

Also, please click/(Copy paste the URL on browser.) on the Video-Link below as I had recorded so hopefully making it easier to understand.


(Please wait a few seconds till the video loads) VideoLINK:  https://watch.screencastify.com/v/AwKxSD2IthfzLsWM1MUS


Warmest Regards

Rohan

Video not found! Please check that out.

 

Forum on trading, automated trading systems and testing trading strategies

Indicators: ATR Value Indicator

Rohan Sawant, 2022.04.10 15:21

Hi Hossein Nouri,

Thanks you for the indicator, it's a great help.

However, I have an issue whereby, when I set the indicator to a template and then change the timeframes on the chart, it creates another object for the other timeframes on top on the original template/object even though the timeframe on the indicator is sent to current.

Please can you amend or show me how to amend this as I can't see the ATR when I change/flick back-and-forth between multiple timeframes and multiple templates?

Also, please click/(Copy paste the URL on browser.) on the Video-Link below as I had recorded so hopefully making it easier to understand.


(Please wait a few seconds till the video loads) VideoLINK:  https://watch.screencastify.com/v/AwKxSD2IthfzLsWM1MUS


Warmest Regards

Rohan

I have the same problem. When you save the template with the indicator then load the template with other chart, the problem then occurs. Please check attached image.


P.S.


I found a workaround. Just hide the indicator in one timeframe then cycle between timeframes.


P.S.S.

Problem reoccurs after several minutes have passed.

Files:
template.png  44 kb
 
Thanks Hossein, For the Indicator. GOD Blesss You
 
thanks a lot..
 
Super -> I was looking for exactly this advert, simply perfect. Thank you very much!