Forex Fisher 2 Moving Average

Category: Indicators By: Nicolas Created: April 17, 2016, 7:50 PM
April 17, 2016, 7:50 PM
Indicators
1 Comment

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"

 

Download
Filename: FX-Fish-2-MA.itf
Downloads: 178
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...