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

Counter Trend Reversal System for Amibroker (AFL)

2 / 5 (Votes 3)
trading system, amibroker

Here is a simple afl code which is the modified version of EMAavg afl code, which finds the near bottom most of time and can be trade for reversal with mimimal stop loss. Trading system suits EOD timeframe and delivery based buying. Exit signals are not yet coded as of now and currently the system suits only Buy Signals on EOD timeframe. One need to preplan his/her Exit manually. Code has its own advantages and Disadvantages, so try to interpret the signal manually before entering into any sort of trade.


Similar Indicators / Formulas

All in One
Submitted by Nahid over 9 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 almost 6 years ago
Kase CD V2batu
Submitted by batu1453 almost 6 years ago
Submitted by prashantrdx almost 6 years ago
Arvind' System
Submitted by akdabc almost 10 years ago
Miftha remix for dse
Submitted by coolpace almost 10 years ago

Indicator / Formula

Copy & Paste Friendly
//Marketcalls - Counter Trend Reversal System

_SECTION_BEGIN("Marketcalls - Counter Trend Reversal System");
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));


Buy =C>EMAavg AND C>EMA(C,5);
ex =C<EMAavg;

Buy = ExRem( Buy, ex );
ex = ExRem( ex, Buy ); 

Filter =  Buy;
/* Exploration Parameters */
AddTextColumn( FullName(), "Company Name" );
AddColumn( Buy, "Buy", 1 );
AddColumn( C, "Close", 1.3 );

PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50);                      
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45); 
//PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
//PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50);                      
//PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45);

Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 




not working

Leave Comment

Please login here to leave a comment.