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 ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Improved EMA for Metastock
kaiji
over 9 years ago
Metastock

Rating:
5 / 5 (Votes 1)
Tags:
metastock, moving average

Improved Exponential Moving Average with crossover signals output choice.

Author: Jose Silva at metastocktools.com

Similar Indicators / Formulas

Almost Zero Lag Moving Average
Submitted by kaiji almost 10 years ago
Price Action Indicator (PAIN)
Submitted by star123 about 9 years ago
O.B.V. Good example of if() func
Submitted by karim.chakib almost 6 years ago
Cycle Indicator by Bill Irwin
Submitted by roszyk almost 9 years ago
Flat Market Indicator (FMI)
Submitted by chsmcp over 6 years ago
Adaptive Wilders Smoothing
Submitted by aashish51 almost 8 years ago

Indicator / Formula

Copy & Paste Friendly
{ Exponential Moving Average v2.3
  EMA periodicity shortens on low bar count

 ┬ęCopyright 2005-2006 Jose Silva.
  For personal use only.
  http://www.metastocktools.com }

{ User inputs }
pds:=Input("EMA periods",1,2600,21);
x:=Input("use Open=1 High=2 Low=3 Close=4 WClose=5 P=6",1,6,4);
shift:=Input("EMA vertical shift %",
 -100,100,0)/100+1;
plot:=Input("[1]EMA,  [2]Crossover signals",
 1,2,1);

{ EMA }
x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,WC(),If(x=6,P,C)))));
pds:=If(pds>Cum(IsDefined(x)),
 Cum(IsDefined(x)),pds);
Ema:=x*2/(pds+1)+PREV*(1-2/(pds+1));
Ema:=Ema*shift;
signals:=Cross(x,Ema)-Cross(Ema,x);

{ Plot on price chart }
If(plot=2,signals,Ema)

2 comments

1. siddhisagar

is this only for meta stock?

2. administrator

Yes this is only for metastock.

Leave Comment

Please login here to leave a comment.

Back