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

Elder Autoevelope for Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
amibroker, bands

Elder autoevelope with deviation control. refer to dr. elder books.

Indicator / Formula

Copy & Paste Friendly
pds = Param("EMA periods", 21, 1, 112);


deviation=Param("deviation",32,2,350);      
 AvgX=EMA(C,pds);
  shift= EMA(C,pds)* (deviation)/1400;

  UpperBand=AvgX+shift;
  LowerBand=AvgX-shift;
 

 
 
  Plot(UpperBand ,"UpperBand",colorRed,styleLine ); //| styleThick
  Plot(Avgx , "MidleBand", colorYellow, styleLine ); //| styleThick 
  Plot(LowerBand, "LowerBand", colorGreen, styleLine ); //| styleThick 

3 comments

1. rus1615

need to change the deviation value… if it does not enclose… its very good ocillator..
deviation=Param(“deviation”,32,2,350);

2. deep_pocket

Hi Sir,

Can any body can code an indicator that will give signal when outside bar but only above or below 21EMA.

Thanks

3. bhartiprinters
Out=H>Ref(H,-1) AND L<Ref(L,-1) ;

Buy=Out AND Close>EMA(C,21) ;
Sell=Out AND Close<EMA(C,21) ;

Leave Comment

Please login here to leave a comment.

Back