The Dynamic Market Lab The Dynamic Market Lab right border
Knowledge Base » Tech Doc » ADSI » Adaptive CG Oscillator

Indicator Name: Adaptive Center of Gravity Oscillator (Cybernetic Analysis)
      
Function Name: Adaptive CG Oscillator

Format: ExtFml( "ADSI.CG", Prices, Periods)

Input 1: Prices. (suggested input is Median Price)

Input 2: Cybernetic Cycle Period, Homodyne Cycle Period, or one of your choice. This indicator is much like the adaptive indicators from ASI, and therefore, it can take a period input that was not generated by an Ehlers method.

NOTE: this indicator takes the period input and then uses half of period at each bar for its internal calculations, since this is the recommended technique. Therefore, unlike ASI indicators, the user need not take half of the period value before passing it as input to the CG function. This is done in order to stay consistent with Ehlers' implementation in his book, Cybernetic Analysis for Stock and Futures.

Formula 1.)

periods := ExtFml("ADSI.CyberCyclePeriod", MP(), .18, .05, 1.1);
ExtFml("ADSI.CG", MP(), periods);

Figure 1.) Metastock screenshot with Indicator Description