[progress Communities] [progress Openedge Abl] Forum Post: Re: What Is Mavg Operator In...

  • Thread starter Thread starter Jan Krishnamurthy
  • Start date Start date
Status
Not open for further replies.
J

Jan Krishnamurthy

Guest
E.g. Trade.mavg = security.price->sortedBy(marketDate)->mavg(30) If Trade.mavg is a Decimal attribute, marketDate a Date attribute, and security.price refers to a collection of Decimal attributes, Sequence rule operator mavg returns a Decimal value that is the moving average of the first 30 instances of sequence security.price.

Continue reading...
 
Status
Not open for further replies.
Back
Top