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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Marketcalls – Counter Trend Reversal System for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | //Marketcalls - Counter Trend Reversal System //www.marketcalls.in _SECTION_BEGIN ( "Marketcalls - Counter Trend Reversal System" ); SetChartOptions (0, chartShowArrows | chartShowDates ); _N (Title = StrFormat ( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}" , O , H , L , C , SelectedValue ( ROC ( C , 1 ) ) )); z=( High + Low +( Close )*(2))/(4); EMAavg=((21* EMA (z,2))+(13* EMA (z,3))+(8* EMA (z,5))+(5* EMA (z,8))+(3* EMA (z,13))+(2* EMA (z,21)))/(53); Plot (EMAavg, "EMAavg=" , colorRed ); Buy = C >EMAavg AND C > EMA ( C ,10); 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 () ); _SECTION_END (); |