Hi ERP,
I cant help in your EA, but the indicator you posted is EXACTLY similar to one of the indicators posted here (called trendalt which uses Ehler's Fisher transform).
app.php/attach/file/3344468
Apparently members of the forum have previously picked up on this indicator and there were some discussion about it (link below). Hope it helps.
viewtopic.php?t=8472182&start=570
-Zyzel