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

EMA Crossover for Amibroker (AFL)

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

The Title of the graph will show the price required to generate a crossover of the EMAs. For instance, if you want to buy a stock if the 5 Day EMA crosses above the 10 Day EMA, you will know what price is needed to make that happen on the next day by the figure that is displayed in the Title. Take the Formula and the AFL and work it into your own favorite graphs.

Similar Indicators / Formulas

Hull Moving Average (HMA)
Submitted by kaiji almost 15 years ago
Beauty
Submitted by sbtc555 over 11 years ago
Smoothed MA (SSMA)
Submitted by kelvinhand over 11 years ago
Trend Scalping System
Submitted by esnataraj over 14 years ago
TD DeMarker Plane
Submitted by extremist over 13 years ago
Buff Volume Weighted Moving Averages
Submitted by kaiji almost 15 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("EMA Crossover");

Plot(Close, "Price", colorBlack, styleCandle);
Plot(EMA(Close,5),"5-EMA",colorBlue,styleLine);
Plot(EMA(Close,10),"10-EMA",colorRed,styleLine);

//Formula for EMA Crossover Price
XR=(EMA(Close,5) * (2 / 6 - 1) - EMA(Close,10) * (2 / 11 - 1)) / (2 / 6 - 2 / 11);

Title = Name() + " " + Date() + EncodeColor( colorBlue ) + "  Close: " + C + EncodeColor( colorBlack ) + "   Open: " + O + "   High: " + H + "   Low: " + L + EncodeColor( colorBlue )+  "\n" + EncodeColor(colorDarkGreen) + WriteVal (XR, format=1.2 ) + " Price Required for EMA Crossover";
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back