Kaufman volatility and efficiency ratio indicators

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

Kaufman volatility and efficiency ratio indicators

Postby Alexander.Gettinger » Mon Mar 21, 2011 2:09 am

Indicators is written according to Perry Kaufman books "Smarter Trading" and "Trading Systems & Methods".

Formulas for volatility indicator:
Volatility[i]=(DiffPrice[i]+DiffPrice[i-1]+...+DiffPrice[i-Period])/Period, where
DiffPrice[i]=Abs(close[i]-close[i-1]).

Formulas for efficiency ratio indicators:
Ratio[i]=Abs(close[i]-close[i-Period])/Volatility(i).

Kaufman.png


Download Kaufman volatility indicator:
Kaufman_Volatility.lua
(1.2 KiB) Downloaded 1072 times


Download Kaufman efficiency ratio indicator:
Kaufman_Efficiency_Ratio.lua
(1.34 KiB) Downloaded 1104 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Kaufman volatility and efficiency ratio indicators

Postby nazaar » Tue Mar 06, 2012 12:53 am

hello,

any suggestion how to interpret and trade these indicators?

thank you.
nazaar
FXCodeBase: Initiate
 
Posts: 178
Joined: Fri May 27, 2011 2:21 pm
Location: Ontario, Canada

Re: Kaufman volatility and efficiency ratio indicators

Postby Coondawg71 » Thu Jul 04, 2013 10:23 am

Can we please request this version of Kaufman Efficiency Ratio Indicator converted to lua.

thanks,

sjc
http://www.thinkscripter.com/indicator/ ... ncy-ratio/
User avatar
Coondawg71
FXCodeBase: Graduate
 
Posts: 324
Joined: Sat Jan 15, 2011 11:45 am

Re: Kaufman volatility and efficiency ratio indicators

Postby Apprentice » Fri Jul 05, 2013 6:01 am

ker.png


incrementalTotalChang = math.abs(median - median[-1]);
NetChange =median -median[length];
TotalChange =sum(incrementalTotalChange, length);
ERatio = (NetChange/TotalChange) * 100;
Average = Avg of ERatio

KER.lua
(4.83 KiB) Downloaded 950 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia




Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 122 guests