# How Many Days Does A Can Of Formula Last Getting the Most Out of MetaStock’s Highest High Value

You are searching about How Many Days Does A Can Of Formula Last, today we will share with you article about How Many Days Does A Can Of Formula Last was compiled and edited by our team from many sources on the internet. Hope this article on the topic How Many Days Does A Can Of Formula Last is useful to you.

Muc lục nội dung

## Getting the Most Out of MetaStock’s Highest High Value

Highest Value will return the highest value of the selected range ‘data range’ from the specified number of times. For example, suppose we want to identify the highest volume value from the last 10 periods. To do this we will simply create a high code high value function.

MetaStock Syntax: HHV(Data Range, times)

Data array _ The largest value of this data array to be returned, from the specified number of times.

Periods _ How many periods we wish MetaStock to return to when it finds the maximum value of the data range.

Here is an example of how it is used.

The following formula identifies the highest price that has reached the closing price in the last 40 periods:

HHV(C,40)

In the formula above:

Database = C

Times = 40

Here’s how you can use the formula in a more useful application of this example:

C= HHV(C,40)

This formula identifies the highest closing price the security has reached in the last 40 periods. It then checks whether the current closing price is equal to that. In other words, we are asking MetaStock if the security has just achieved a new post 40 high.

Because of the flexibility of MetaStock most of the formulas we used can be rewritten in other ways. For example, perhaps the best way to check if a security has made a new all-time top 40 would be:

C>Ref(HHV(H,40),-1)

This formula will check if today’s close is higher than the highest high of the last 40 periods, before the current period (defined by ‘Ref(HHV(H,40),-1)’). Please see the Reference (Ref) function on page 75 for an explanation of its use in this formula.

If you are new to the MetaStock formula then this may seem complicated or confusing but once you ‘get it’ you will understand why it is used by many professional traders.

## Video about How Many Days Does A Can Of Formula Last

You can see more content about How Many Days Does A Can Of Formula Last on our youtube channel: Click Here

## Question about How Many Days Does A Can Of Formula Last

If you have any questions about How Many Days Does A Can Of Formula Last, please let us know, all your questions or suggestions will help us improve in the following articles!

The article How Many Days Does A Can Of Formula Last was compiled by me and my team from many sources. If you find the article How Many Days Does A Can Of Formula Last helpful to you, please support the team Like or Share!

Rate: 4-5 stars
Ratings: 2051
Views: 23193463

## Search keywords How Many Days Does A Can Of Formula Last

How Many Days Does A Can Of Formula Last
way How Many Days Does A Can Of Formula Last
tutorial How Many Days Does A Can Of Formula Last
How Many Days Does A Can Of Formula Last free
#MetaStocks #Highest #High

Source: https://ezinearticles.com/?Getting-the-Most-Out-of-MetaStocks-Highest-High-Value&id=2196733