Originally Posted by
;
Attached is a replacement for FXSniper's Ergodic CCI and Trigger indior that some of you might utilize. The reason for the rewrite, is twofold. Because it didn't seem to have anything to do with CCI at 28, one, I'm not certain it had the title CCI in it. Second, at least the copy I had was very processor intensive by rewriting the indior on each new tick which is totally unnecessary. This really is a calculation intensive indior as it stands and needing to do those calculations tens of thousands of times for each tick could cause your MT4 to take a little performance hit.
Must display exactly the identical information, although the amounts will signal lower than the initial.
A few new things you may change:
BarDiff (default 1). Normally when doing the calculations, the gap between the current close and also the prior bar close are used. This parameter lets you select a bar further back if you prefer, so the calculations may be from the current bar close without the 5th bar.
PriceType (default 0). Normally calculations are finished on the prices. Here it is possible to fix them to be one of the following:
0=Close, 1=Open, 2=high, 3=Low, 4=5, 5=Typical, 6=Weighted
Bruce