- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
From page 613 of Trading Systems and Methods, 3rd Edition, by Perry J.Kaufman, the Efficiency Ratio is defined as: Net PriceChange ER = ------------------------------------------------------------- Sum of price changes as positive values |
|
Efficiency Ratio TimePeriods := Input("Time periods",1,10000,10); (Abs(CLOSE - Ref(CLOSE,-TimePeriods))) / (Sum(Abs(CLOSE-Ref(CLOSE,-1)),TimePeriods)) |
Market Efficiency Ratio:
pds:= Input("Periods",3,200,8);
Speed:= C - Ref(C, -pds);
Volatility:= Sum(Abs(C - Ref(C, -1)),pds);
Efficiency:= Speed / Volatility;
MER:= Mov(Mov(Efficiency, 5,E),3,E);
MER;
�
Source / From: | |