Page 1 of 1

Average True Range vs Standard Deviation

PostPosted: Mon Sep 03, 2012 2:00 pm
by Apprentice
atr.png


According to the author, web references, we have.

Ranging/Sideways market
ATR(14) > Standard Deviation(14)

Trending market
ATR(14) < Standard Deviation(14) it means EUR/USD

ATRvsSD.lua
(3.54 KiB) Downloaded 881 times

ATRvsSD Bar.lua
(2.9 KiB) Downloaded 769 times


The indicator was revised and updated

Re: Average True Range vs Standard Deviation

PostPosted: Tue Sep 04, 2012 9:02 pm
by gmiller
According to the author, web references, we have.

Ranging/Sideways market
ATR(14) > Standard Deviation(14)

Trending market
ATR(14) < Standard Deviation(14) it means EUR/USD


But in the code looks like other way :(
Code: Select all
       if A.DATA[period] > mathex.stdev(source[Price], period - SP + 1, period) then
      Value:setColor(period, instance.parameters.Tranding);    
      else
      Value:setColor(period, instance.parameters.Ranging);   
      end

Re: Average True Range vs Standard Deviation

PostPosted: Wed Sep 05, 2012 2:37 am
by Apprentice
Fixed.

Re: Average True Range vs Standard Deviation

PostPosted: Wed Sep 05, 2012 6:05 am
by rose123
this is very useful indicator.

Re: Average True Range vs Standard Deviation

PostPosted: Mon Apr 24, 2017 5:32 am
by Apprentice
Indicator was revised and updated.