Attached is a replacement for FXSniper's Ergodic CCI and Trigger indior that some of you might use. The reason for the rewrite, is twofold. Because it did not appear to have anything to do with CCI at 28, one, I'm not certain why it had the title CCI inside. Second I had been very processor intensive by copying the entire indior on each new tick which is completely unnecessary. This really is a calculation intensive indior since it stands and having to perform these calculations tens of thousands of times for every tick could cause your MT4.

Should display the same information, although the levels will indie lower than the initial.

A few new things you may change:

BarDiff (default). When doing the calculations, the gap between the current close and also the bar close are used. This parameter enables you to choose a bar farther back if you want, therefore the calculations might be from the current bar shut without the 5th bar.

PriceType (default). Calculations are finished on the closing prices. Here you can fix them to be one of the following:
0=Close, 1=Open, 2=high, 3=Low, 4=5, 5=Typical, 6=Weighted

Bruce
https://www.nigeriaforextrading.com/...1264911487.mq4