[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : EL Funtion Help



PureBytes Links

Trading Reference Links

Dans un courrier daté du 14/12/97 09:32:23  , vous avez écrit :

<< 
 Hello,
 I am trying to create an EL function and would appreciate any
help/tips/insight into accomplishing the following:
 
 
 A user function that will look back a user specified number of bars, and
output the greatest number of  bars that shared a same price.  
 
 Thanks, 
 
 Chris Lober
  >>

You need to use an array and store the price level counter in the considered
element, using a for loop.
Basically, it is what is done in the Market Profile
Then sort the element that stored the highest counter Value.
(use an other for loop if you want, but you can do it in the same loop).
Knowing the  number of the considered  array element is knowing the price.

Sincerely,

Pierre Orphelin
www.sirtrade.com