Watch this video for more MetaStock tips and tricks.
The Peak function allows you to refer to a peak (i.e. distinct highs) in any selected `data array’. Technically speaking, a peak is the highest point reached between a short term up trend and a short term down trend. The way this MetaStock function identifies a peak is based on the selected data array moving down a set percentage from a high. This percentage is set by the user. Additionally, by using the `peak’ function, not only can you refer to the most recent peak but also to any peak before that.
SYNTAX Peak(Nth, Data Array, %Minimum Change)
Nth _ The number of the peak you wish to refer to. For example, N = 1 would return the value of the most recent peak in the data array, and N = 2 would return the value of the peak before that one.
Data Array _ The data array searched to identify where the peak occurred; this is normally the closing price.
% Minimum Change _ The minimum percentage required for a data array to move away from a high before it is classed as a peak.
EXAMPLE
The following formula returns the value of the closing price at the most recent point where the closing price has fallen 3% from its high.
Peak(1,C,3)
In the formula above:
Nth = 1
Data Array = C
% Minimum Change = 3
APPLICATION
A more useful application of this example could be:
C> Peak(1,C,3)
This MetaStock Pro formula specifies that the closing price must be greater than the value of the closing price on the most recent occasion that it moved down 3% from the high. This formula can be part of a useful entry signal since it identifies those stocks showing signs of commencing or continuing a medium term up trend.
Another useful application is to use the peak function to identify those securities achieving higher peaks and higher troughs. This could be coded using the following formula:
Peak(1,C,3)> Peak(2,C,3)
Related Posts - Futures Market Contracts And Exchanges - What You Need To Know Contracts in the futures market are between a buyer and seller. The contract states that the seller must provide the...
- Daytrading with The Art of the Chart By The Art of the Chart If the trend is up and momentum in the range is positive, the second bounce...
Related Websites - Don't go into retirement having undersaved I couldn't make up that word if I tried. This Bankrate.com article on Retirement for the Not So Rich gives...
- Investing 101: Futures (It's another Tuesday here at the Amateur Financier, and that means one thing: Yep, it's another thrilling round of Investing...








Comments