SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Technical Analysis- Indicators & Systems -- Ignore unavailable to you. Want to Upgrade?


To: Ross McEathron who wrote (2863)10/25/1997 3:43:00 PM
From: Michael Quarne  Respond to of 3325
 
From MSWIN HELP Files.

Chande Momentum Oscillator

SYNTAX cmo( DATA ARRAY, PERIODS )
FUNCTION Calculates the predefined Chande Momentum Oscillator of DATA ARRAY over the last PERIOD number of periods..
EXAMPLE cmo( c,14 )

The Chande Momentum Oscillator (CMO) was developed by Tushar Chande. A scientist, an inventor, and a respected trading system developer, Mr. Chande developed the CMO to capture what he calls "pure momentum." For more definitive information on the CMO and other indicators we highly recommend the book The New Technical Trader by Tushar Chande and Stanley Kroll.
The CMO is closely related to, yet unique from, other momentum oriented indicators such as RSI, Stochastic, Rate-of-Change, etc. It is most closely related to Welles Wilder's RSI (see Relative Strength Index), yet it differs in several ways:

ú It uses data for both up days and down days in the numerator, thereby directly measuring momentum.
ú The calculations are applied on unsmoothed data. Therefore, short-term extreme movements in price are not hidden. Once calculated, smoothing can be applied to the CMO, if desired.
ú The scale is bounded between +100 and -100, thereby allowing you to clearly see changes in net momentum using the 0 level. The bounded scale also allows you to conveniently compare values across different securities.

You may find the expert named "Equis - Chande Momentum Oscillator" helpful in interpreting the Chande Momentum Oscillator. See Attaching an Expert to a Chart for more information an experts.
See Plotting an Indicator for more information on plotting indicators. See Chande Momentum Oscillator for more information on the Chande Momentum Oscillator parameters.

The CMO can be used to measure several conditions.
Overbought/oversold. The primary method of interpreting the CMO is looking for extreme overbought and oversold conditions. As a general rule, Mr. Chande quantifies an overbought level at +50 and the oversold level at -50. At +50, up-day momentum is three times the down-day momentum. Likewise, at -50, down-day momentum is three times the up-day momentum. These levels correspond to the 70/30 levels on the RSI indicator.

You could also establish overbought/oversold entry and exit rules by plotting a moving average trigger line on the CMO. For example, if you are using the default 20-period CMO, a 9-period moving average may serve as a good trigger line. Buy when the CMO crosses above the 9-period trigger line; sell when it crosses below.
Trendiness. The CMO (much like the VHF indicator, see Vertical Horizontal Filter) can also be used to measure the degree to which a security is trending. The higher the CMO, the stronger the trend. Low values of the CMO show a security in a sideways trading range.

You may find the CMO helpful in establishing the entry and exit rules of a trend following system. Enter when the CMO is high and exit when it moves lower.
Divergence. Although not specifically mentioned in Mr. Chande's book, you could also look for divergence between the CMO and the price, as is often done with other momentum indicators. See the discussion about divergence in the Interpretation section of RSI (see Relative Strength Index).
Other. Although not specifically mentioned in Mr. Chande's book, you may also look for chart formations (head and shoulders, rising wedges, etc.), failure swings, and support/resistance. See the discussion on these methods in the Interpretation section of RSI (see Relative Strength Index).

Regards Michael Q.



To: Ross McEathron who wrote (2863)10/25/1997 11:11:00 PM
From: TechTrader42  Read Replies (1) | Respond to of 3325
 
VIDYA is a variable-length exponential moving average. It responds to volatility, so that the length increases when prices move in a narrow range and decreases when prices change rapidly. As Chande says in "The New Technical Trader," VIDYA slows down when prices are quiet, and speeds up when prices make their move." You may have noticed that exponential moving averages are more responsive to price changes than simple moving averages, that they tend to give signals sooner; well, VIDYA is intended to be even more responsive.

To calculate variable moving averages, you have to have yesterday's moving average. That sounds easy enough, but it isn't, because the formula has to reference itself. or call itself over and over. WOW can't do that. I didn't believe it at first, even though Richard Estes warned me again and again. You can do it with Excel, by exporting price data from WOW, calculating VIDYA, and then importing VIDYA data into WOW, but you can't do it with WOW alone.

VIDYA is more complicated, but the formula for a basic variable moving average, based on volatility, would be something like this (from Achelis' "TA from A to Z"):

(.078(VR)*Close)+(1-.078(VR)*Yesterday's Moving Average)

where VR = volatility ratio

But to get yesterday's moving average, you need to reference the whole formula. WOW can't do it -- it runs in circles trying to bite its tail, but it won't hunt. You'll get an error message saying a formula can't reference itself.

A formula for doing it in Excel was published in the October 1995 issue of "Technical Analysis of Stocks and Commodities."

I don't have an MS version of the VIDYA formula. I think it comes as one of the set indicators, not as a custom formula. Someone might have a custom version, though.

I ignored Richard's warnings, and went hopelessly insane trying to formulate VIDYA for WOW. My family had me locked up. Fellow inmates at my new home shunned me in the halls. Respected psychiatrists openly snickered at me -- they didn't even attempt to humor me. They whispered among themselves about involutional formulosis, technical analytical psychasthenia, mouse- and keyboard-related motor tics, defects in mental makeup, psychobiological agitations, etc. The FBI and CIA quit monitoring my phone calls -- they knew my work was worthless. Though my condition was declared incurable, I was released eventually for the well-being of all the patients, and I drifted into my present job as an air-traffic controller.

My failed effort for WOW looked something like this, but it was completely and hopelessly wrong, because that last variable, VIDYA2, really has to be the whole VIDYA formula, but for the day before:

Vid1:
if (c>ref(c,-1), c- ref(c,-1),0)

Vid2:
abs(if (c<ref(c,-1),c - ref(c,-1),0))

Vidya:

((2/(pers+1))*(abs((sum(fml("Vid1"),pers2)-sum(fml("Vid2"),pers2))/
(sum(fml("Vid1"),pers2)+sum(fml("Vid2"),pers2))) )*c)+((1-( (2/(pers+1))*(abs((sum(fml("Vid1"),pers2)-sum(fml("Vid2"),pers2))/
(sum(fml("Vid1"),pers2)+sum(fml("Vid2"),pers2))) )))*ref(fml("Vidya2"),-1))

Vidya2:

((2/(pers+1))*(abs((sum(fml("Vid1"),pers2)-sum(fml("Vid2"),pers2))/
(sum(fml("Vid1"),pers2)+sum(fml("Vid2"),pers2))) )*c)+((1-( (2/(pers+1))*(abs((sum(fml("Vid1"),pers2)-sum(fml("Vid2"),pers2))/
(sum(fml("Vid1"),pers2)+sum(fml("Vid2"),pers2))) )))*ref(c,-1))

Where pers is 12 and pers2 is 9

There are probably lots of other things wrong with this formula, and it's not worth looking at closely, but I thought I'd show you the mess I got myself into before realizing that a WOW formula was impossible. In effect, my formula references something similar to itself once, and then gives up and just references the previous day's close.



To: Ross McEathron who wrote (2863)10/26/1997 5:39:00 PM
From: GW Riedeman  Read Replies (1) | Respond to of 3325
 
Very simply, WoW can't do recursion. With one exception, and it is canned: exponential moving average. VIDYA requires recursion, ergo, WoW can't do it. Other than that, it's pretty capable. If you can count stacked parentheses, and get them in the right order, you should be able to do quite a bit.

B