MetaStock Trough Bars Ago Function
MetaStock Trough Bars Ago Function
The Trough Bars Ago function returns the number of bars that have passed since a specified trough occurred. This function is based on the Trough function. Technically speaking, a trough is the lowest point reached between a short term down trend and a short term up trend. The identification of a trough using this function however, is based on the selected data array moving up a set percentage from its most recent low. SYNTAX TroughBars(Nth, Data Array, Minimum Change) Nth _ The number of the trough you wish to use as the reference point when counting how many bars have passed since then. For example, N = 1 would count the number of bars back to the most recent trough in the data array, and N = 2 would count the number of bars back to the second most recent trough.




























