this should be the indicator discussed in the ebook section by Kor4x here:

Catching Currency Moves - The Schaff Trend Cycle Indicator

Schaff Trend.mq4

Schaff Trend Cycle.ex4

Schaff Trend Cycle.mq4

Schaff Trend.ex4