Average True Range vs Standard Deviation

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

Average True Range vs Standard Deviation

Postby Apprentice » Mon Sep 03, 2012 2:00 pm

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 878 times

ATRvsSD Bar.lua
(2.9 KiB) Downloaded 768 times


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

Re: Average True Range vs Standard Deviation

Postby gmiller » Tue Sep 04, 2012 9:02 pm

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
gmiller
 
Posts: 11
Joined: Thu Feb 09, 2012 3:22 pm


Re: Average True Range vs Standard Deviation

Postby rose123 » Wed Sep 05, 2012 6:05 am

this is very useful indicator.
User avatar
rose123
FXCodeBase: Initiate
 
Posts: 141
Joined: Mon Oct 17, 2011 6:01 am



Return to Custom Indicators

Who is online

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