View Single Post
  #1 (permalink)  
Old 09-27-2006, 02:32 PM
derekc derekc is offline
Junior Member
 
Join Date: Sep 2006
Posts: 4
derekc is on a distinguished road
Highest high for an indicator

I am trying to find out how to calculate the highest high and lowest low values for an indicator over a period in MQL4.

For example:

Using amibroker (similar sor metastock) the formula would be as below to calculate the highest high of the 30 day moving average over the last 10 periods.

Highest high = HHV(MA(Close,30),10 )
I have tried using ArrayMaximum() but this returns the position and not the value of the highest value.
Also Highest() does not work with indicators.

Any help will be much appreciated
Reply With Quote