NexusFi: Find Your Edge

Home Menu


Categories Help    

The Elite Circle
File sharing for Elite Members only, includes any and all platforms and file types

Sampled Indicator
This indicator offers the user a trade-off between recalculating indicator values at every tick versus calculating them at bar-close. You control the number of times the indicator values are calculated in a bar via the Sampling Frequency Parameter. This is useful for indicators which perform a lot of calculations but do not require the value to be updated at every tick, especially when used for larger time-frame bars.

To create a sampled indicator, derive your custom indicator from the AviatSampledIndicator class. Replace the standard NT virtual functions with their corresponding Aviat versions (e.g. OnBarUpdate => AviateOnBarUpdate). The download contains the base indicator and an illustrative example which shows how to convert the TSI indicator to its Sampled version.

The indicator has been tested on NT7 ONLY, and only on single time-frame indicators. has some more details.

Category The Elite Circle 
Suggest other entries I might like
Details: Sampled Indicator
Category: The Elite Circle 

June 19th, 2010
Size: 4.50 KB
Downloaded: 118 times

Keywords: sample aviiat72 rate onbarupdate


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top