Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Adaptive Wilders Smoothing for Metastock
Rating:
3 / 5 (Votes 2)
Tags:
metastock
Just Advanced wilders M.A but effective
Similar Indicators / Formulas
Ortalama fiyat degiskenligi gostergesi
Submitted
by tasma over 12 years ago
Cycle Indicator by Bill Irwin
Submitted
by roszyk almost 14 years ago
O.B.V. Good example of if() func
Submitted
by karim.chakib almost 11 years ago
Flat Market Indicator (FMI)
Submitted
by chsmcp almost 12 years ago
Price Action Indicator (PAIN)
Submitted
by star123 about 14 years ago
Moving Average of Only One Day of a the Week
Submitted
by star123 about 14 years ago
Indicator / Formula
Copy & Paste Friendly
method:=Input("Method (1=Cycle, 2=Volatility, 3=Combined): ", 1,3,1); {-----Begin Cycle Method----------} plot:=Zig(MESASineWave(70),10,%); top:=plot<Ref(plot,-1) AND Ref(plot,-1)>Ref(plot,-2); NumberOfPeaks:=Cum(top); BarsBetweenPeaks:=If(top,Ref(BarsSince(top),-1),0); TotalBarsBetPeaks:=Cum(BarsBetweenPeaks); AvgBarsBetweenPeaks:=TotalBarsBetPeaks/NumberOfPeaks; LookBackMethod1:=Int(Rnd(AvgBarsBetweenPeaks/2)); {-----Begin Normalized Volatility Method----------} Volatility:=(LinRegSlope((STE(C,20)/C)*100 ,9)/If(STE((STE(C,20)/C)*100,9)=0,.0001,STE((STE(C,20)/C)*100,9))) *100; divisor:=If(volatility<=0,1-(Abs(volatility)/1000),1+(Abs(volatility)/1000)); {the smaller the divisor(i.e., higher volatility) the shorter the lookback periods} LookbackMethod2:=20/(1.5*divisor); Lookbackmethod3:=LookbackMethod1/(1.5*divisor); {-----Final Calculation and Plot------} If(method=1, Wilders(C, LastValue(Rnd(LookbackMethod1)+PREV-PREV)), If(method=2, Wilders(C, LastValue(Rnd(LookbackMethod2)+PREV-PREV)), If(method=3, Wilders(C, LastValue(Rnd(LookbackMethod3)+PREV-PREV)),0)))
2 comments
Leave Comment
Please login here to leave a comment.
Back
its error in 1 line
Nice 1