### Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....

#1 Selling Amibroker Plugin featuring:

Neural Networks
And Much More ....
Find Out More Here

### Average Peak Excursion (APE) by Chris Young for Metastock kaiji almost 10 years ago Metastock

Rating:
Tags:
oscillator, metastock

Chris Young’s article in this issue, “The Average Peak Excursion,” includes three formulas for calculating the rate of return. These formulas are listed below as indicators and need to be entered as separate indicators in Metastock.

### Similar Indicators / Formulas

Guppy MMA Divergence Oscillator
Submitted by kaiji almost 10 years ago
Schaff Trend Cycle Oscillator
Submitted by kaiji over 9 years ago
3-10 Oscillator
Submitted by mayurs over 7 years ago
Relative Vigor Index
Submitted by vargasc1 over 8 years ago
Bull and Bear Balance Indicator
Submitted by kaiji almost 10 years ago

### Indicator / Formula

```x:=Input("number of periods for APE",1,200,1);
Max( Abs(HHV(H, x) - Ref(O, -(x-1))), Abs(LLV(L, x) - Ref(O, -(x-1))) )```
```x:=Input("number of periods for APE ratio",2,200,25);
ax:= Max( Abs(HHV(H, x) - Ref(O, -(x-1))), Abs(LLV(L, x) - Ref(O, -(x-1))) );
a1:= Max( Abs(H - O), Abs(L - O) );
ax / a1```
```x:=Input("number of periods for APE",2,200,25);
ax:= Max( Abs(HHV(H, x) - Ref(O, -(x-1))), Abs(LLV(L, x) - Ref(O, -(x-1))) );
a1:= Max( Abs(H - O), Abs(L - O) );
Log( ax / a1 ) / Log( x )```