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

  Count [Count]  
Return to Complete List of Functions
The Count function counts the number of times a data series is non-zero over a given period.

Parameters
------------------
Data          The data to use in the calculation. This is typically a field in a data series or a calculated value.
Period        The number of bars of data to include in the sample, including the current value.
                  For example, a period of 3 includes the current value and the two previous values.

Note: An end point to the Period parameter can be simulated using the Lag function to obtain a previous value of this function. See the notes for the Lag function for more information.

Function Value
------------------------
This function counts the number of times a data series is non-zero over a given period. This is useful for determining the recent frequency of an event.

The count at the beginning of a data series is not defined until there are enough values to fill the given period.

Data    Count(Data,3)
--------------------------------
  0
  1
  0               1
  1               2
  1               2
  0               2
  0               1
  0               0

The Count function can also be used with the Summation Bars Ago function or the Summation Index function to vary the processing of the elements. See the description of those functions for more information.

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.