Today, David Varadi presented a new indicator:
AggZ: Another Composite Trend/Mean Reversion IndicatorQUOTE:
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.
Size:
Color:
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.
Size:
Color:
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...
Size:
Color:
CODE:
Please log in to see this code.
Hi
Need help with this indicator. Can you help? Thanks.
Size:
Color:
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.
Size:
Color:
If there's a "using Community.Indicators" directive on top of the strategy, you may drop the Community.Indicators before AggZ.
Size:
Color: