NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
Variable MA (VIDYA) 5 *
This old standby/classic/war horse has been recoded with every efficiency trick I can think of to minimize CPU use. It looks like it plots the same as the original, but I haven't checked. That can be your job.

Efficient indicators ensure the utmost in responsiveness with rock solid stability and dependability. Also added error trapping... just in case.

The techniques used include:
  • - incorporating all supporting calculations into the indicator to eliminate calls to external classes SUM and CMO.
  • - calculating only on FirstTickOfBar the variable values that depend only on previous bar data.
  • - removing redundant processing steps, eliminating intermediate, locally declared variables and combining calculations into a minimal number of algebraic expressions.
  • - allowing OnBarUpdate to execute only when it will affect the output result.
  • - providing the option of disabling the setting of plot values and colors when called by another indicator or strategy.
  • - providing a public data series to give the output values when called by another indicator or strategy, even it this indicator is running in the background with ShowPlot false, with no plot values being set.




The Variable Moving Average (VMA) or Volatility Index Dynamic Average (VIDYA), developed by Tushar S. Chande, uses a Volatility Index to adjust the smoothing period. When prices are congested the average slows down and when prices are trending the average speeds up (note steps in plot).

The indicator is completely self contained. There are no calls to external indicators.

If you call this indicator from another indicator or from a strategy, set the ShowPlot parameter to false to avoid wasting resources setting the values and colors of plots that are not being displayed, and get your outputs from the public dataseries that was provided specifically for that purpose.


Category The Elite Circle 
 
Suggest other entries I might like
Details: Variable MA (VIDYA)
Category: The Elite Circle 


January 21st, 2014
Size: 3.77 KB
Comments/ratings
4 * Don Laing January 22nd, 2014 06:39 PM
I like it
5 * Zondor January 26th, 2014 05:53 PM
I like it too.
4 * echoeversky January 27th, 2014 09:50 PM
Yay proper programming!

Now if only the Ehlers Cycle could be used to set the periods so no settings would have to be set. :3 #firstworldproblems
5 * Taggart January 28th, 2014 07:00 PM
Thanks
5 * theidman September 9th, 2014 03:01 PM
Thank You
4 * jossfx November 27th, 2016 12:59 PM
What is the indicator below? thanks

 
Sort by

 




© 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