TradingSolutions Home  |  Products  |  Services  |  Downloads  |  Resources  |  Support  |  Order NeuroDimension Home  
'
   Products
     TradingSolutions
     Trader68
     Add-Ons
     Bundles
     Financial Books
     Other Products
   Services
     System Development
     Custom Software
   Downloads
     Free Evaluation Copy
     Product Updates
     Free Systems
   Resources
     Sample Performance
     Video Tour
     Data Sources
     TradingSolutions FAQ
     Online Brokers
   Viewpoints
     Customer Interviews
     Customer Quotes
     News and Reviews
   Support
     How to Get Help
     Licensed User Center
     Contact NeuroDimension
   Order

   ND Corporate Website
   NeuroSolutions.com
   Trader68.com

TradingSolutions Function Library

  Sampled Average [SampAvg]  
Return to Complete List of Functions
The Sampled Average function calculates the average value of a field by sampling the value at a given period from the current value to the beginning of the data.

Parameters
------------------
Data          The data to evaluate. This is typically a field in a data series or a calculated value.
Period        The number of bars of data into the past to accumulate into the current value.
                  For example, a period of 5 adds the value of the accumulator from five bars ago to the current value.
                  Note: This can also be interpreted as the number of independent accumulators being maintained.

Function Value
------------------------
This function takes the current value of a field and adds that value cumulatively to the value of that field a given number of bars ago, then takes the average. For example, with a period of 5, the current value is added to the value from 5 bars ago, 10 bars ago, 15 bars ago, and so on to the beginning of the data series.

Usage
-----------
The Sampled Average is useful for analyzing cycles over a fixed period. For example, annual cycles could be analyzed using the Samped Average of the direction of change in a field over a period of 253, which is the typical number of trading days in a year. By viewing a moving average of this value, it may often be found that certain months may trend upward while other months trend downward for a particular security.

The Sampled Average can also be used to find the mean for a field over the entire data series by using a period of 1.

Source
------------
This indicator was developed by Gary Geniesse as part of TradingSolutions.

TradingSolutions Home  |  Products  |  Downloads  |  Resources  |  Support  |  Order

Contact NeuroDimension | Privacy Policy
Webmasters, join our affiliate program. Interested in selling our software? Become a reseller!
Web Site Design and Implementation Copyright © 2010 NeuroDimension, Inc.
Risks of Forex Trading.