I found this indicator has some utility for some forex traders around here. I translated this code from another trading platform to prorealtime for the benefit of everyone on our site. This indicator is made of a recent highest and lowest (10 periods default) passed into a fisher transform filter. Then a simple moving average is set other this value to generate signals like a MACD. Another weighted moving average smooth the whole value to act like an overall trend.
Of course because of average smoothing, signals maybe too late. You can play with period of highest/lowest looback, as well of the 2 moving average.
period = 10
MA1period=9
MA2period=45
MaxH = highest[period](high)
MinL = lowest[period](low)
price = customclose
if(barindex>MA2period) then
Value = 0.33*2*((price-MinL)/(MaxH-MinL)-0.5) + 0.67*Value[1]
Fish = 0.5*LOG((1+Value)/(1-Value))+0.5*Fish[1]
MA1 = Average[MA1period](Fish)
MA2 = WeightedAverage[MA2period](MA1)
endif
RETURN Fish as "Fish", Fish as "line-Fish", MA1 as "MA fast signal",MA2 as "MA slow signal"