|
Inv Fisher RSI Transform
Hi gang,
this is an indicator i found in tradestation. it is an inverse fisher but has a RSI twist in it. i do not know if there exsists a metatrader version of it or not, but i request the programmers here to convert it into metatrader. i do not care about the change in color of overbought or oversold levels, just need the indicator to plot in a seperate window.
there is one posted on the forum...but i dn't think it calculates correctly. thanks
Inputs: NumBars(9),
OverSold(-0.5),
OverBought(0.5),
OverSColor( darkgreen),
OverBColor (red) ;
Variables: IFish(0);
Value1 = .1*(RSI(Close,5) - 50);
Value2 = WAverage(Value1, NumBars);
IFish = (ExpValue(2*Value2) - 1) / (ExpValue(2*Value2) + 1);
Plot1(IFish, "IFish");
Plot2(OverSold, "OverSld" );
Plot3(OverBought, "OverBot");
Plot4(0, "Zero");
{ Color criteria }
if Plot1 > OverBought then
SetPlotColor( 1, OverBColor )
else if Plot1 < OverSold then
SetPlotColor( 1, OverSColor ) ;
+++++++++++++==definations of functions==+++++++++++++++
WAverage :=: is a weighted moving average of the Price over the Length specified. It is calculated by giving the more current data a heavier weight and the oldest data less weight.
Expvalue :=: Returns the exponential value of the specified (Num).
Last edited by gabroo_munda; 03-21-2006 at 09:12 PM.
|