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

Debdulal And Soumya for Amibroker (AFL)
almost 14 years ago
Amibroker (AFL)

2 / 5 (Votes 3)
trading system, amibroker, moving average

Buy And Sell signals based on the crossing of EMA’S


Similar Indicators / Formulas

Positional trading
Submitted by technotrader about 10 years ago
Guppy MMA Convergence Divergence Histogram
Submitted by walid over 13 years ago
Super TEMA
Submitted by HARI123 almost 14 years ago
Moving Average Difference
Submitted by rananjay00007 over 14 years ago
1453 Fatih
Submitted by acarlar33 about 11 years ago
The Quest For Reliable Crossovers
Submitted by Gorilabd almost 14 years ago

Indicator / Formula

Copy & Paste Friendly
//Title="Indicator Developed and Conceptualised by Debdulal And Soumya";

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +
WriteVal( V, 1.0 ) +" {{VALUES}}", 
O, H, L, C, SelectedValue( ROC( C, 1 )) ));

// This part will plot the EMA value And type of user choice

EMAstyle=ParamStyle("MAType",styleLine,maskAll );
LTEMAcolor=ParamColor("LT EMA Colour" ,colorRed);
STEMAcolor=ParamColor("ST EMA Colour",colorGreen);
LTEMAPeriod=Param("LTEMA Period",30); 
STEMAPeriod=Param("STEMA Period",13); 
Plot(EMA(Close,STEMAPeriod),"EMA of "+STEMAPeriod+" Days" , STEMAcolor, EMAstyle, Null, Null ); 
Plot(EMA(Close,LTEMAPeriod), "EMA of "+LTEMAPeriod+" Days", LTEMAcolor, EMAstyle, Null, Null ); 

// This part will plot Closing price with barstyle choosen by user

ChartStyl=ParamStyle("Chart Type", styleBar,maskAll );
Chartcolor=ParamColor("Chart Colour",colorGreen); 

// This part will find the buy and sell point in the chart

SellTRIGGER=MACD(12,26)<= Signal(12,26,9);
Sell=(EMA(Close,LTEMAperiod)>EMA(Close,STEMAperiod)) AND SellTRIGGER;

//Buy= MACD(12,26)>=Signal(12,26,9);
//Sell=Cross(EMA(Open,Operiod),EMA(Close,Cperiod))AND MACD(12,26)<Signal(12,26,9);

Buy     = ExRem(Buy, Sell);
Sell    = ExRem(Sell, Buy);
Signalshape=Buy*shapeUpArrow + Sell*shapeDownArrow;
PlotShapes( Signalshape, IIf( Buy, colorGreen, colorRed ),0, IIf( Buy, Low, High ) );
pos = 1.5*ATR(15);
for( i = 0; i < BarCount; i++ ) {
       if( Buy[i] ) PlotText( "Buy\n@" + Close[i], i, Low[i] - pos[i], colorGreen );
       if( Sell[i] ) PlotText( "sell\n@" + Close[i], i, Low[i] + pos[i], colorRed );


Leave Comment

Please login here to leave a comment.