AggZ: Another Composite Trend/Mean Reversion Indicator
Author: Eugene
Creation Date: 3/19/2010 11:57 AM
profile picture

Eugene

#1
Today, David Varadi presented a new indicator: AggZ: Another Composite Trend/Mean Reversion Indicator

QUOTE:
AggZ= (-1x( 10-day z-score)+(200-day z-score))/2

where z-score = (close-sma (closing prices over last n periods))/(standard deviation( closing prices over last n periods))


CODE:
Please log in to see this code.
profile picture

mikesblack

#2
Any ideas on how using ROC vs Price would effect this indicator?

QUOTE:
where z-score = (close-sma (closing prices over last n periods))/(standard deviation( closing prices over last n periods))


e.g.
CODE:
Please log in to see this code.

profile picture

Eugene

#3
In this case, when I replace Bars.Close to ROC(Close,1), it starts firing trades like mad (a 5x increase) and becomes overall loser...
profile picture

mikesblack

#4
CODE:
Please log in to see this code.


Hi
Need help with this indicator. Can you help? Thanks.
profile picture

mikesblack

#5
Disregard. I should have known better. I looked it up using "rules".

This is probably a really stupid question. I was wondering if we always needed to use the Community.Indicators. ...XYZ.Series prefix. Don't know why, but this seems new. It makes sense why. Doing so calls on that dll. library, but for some reason, I don't remember doing this prior.

Thanks.
profile picture

Eugene

#6
If there's a "using Community.Indicators" directive on top of the strategy, you may drop the Community.Indicators before AggZ.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).