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

Positional trading for Amibroker (AFL)

Rating:
2 / 5 (Votes 5)
Tags:
moving average, trading system, amibroker

This is a basic positional trading system. Basic but quite effective. This is my first contribution. More to come….advanced trading system.

Positional trading system:

Buy = EMA7 CROSSOVER EMA20 HIGH, SL EMA20 LOW

SHORT = EMA7 CROSOVER EMA20 LOW, SL EMA20 HIGH

Similar Indicators / Formulas

Moving Average Pullbacks System
Submitted by kaiji almost 15 years ago
Debdulal And Soumya
Submitted by siivaramm about 14 years ago
Super TEMA
Submitted by HARI123 about 14 years ago
Moving Average Difference
Submitted by rananjay00007 over 14 years ago
1453 Fatih
Submitted by acarlar33 over 11 years ago
The Quest For Reliable Crossovers
Submitted by Gorilabd about 14 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Price");
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 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

_SECTION_BEGIN("EMA2");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); 
_SECTION_END();

Buy = 	EMA(  Close , 5 ) < Ref( EMA(  High , 20 ) , -1 )
		AND EMA(  Close , 5 ) > EMA(  High , 20 );

PlotShapes( Buy*shapeUpArrow, colorBrightGreen, 0, Low );

1 comments

1. Vinitrader

thanks, but is missing sell code part

Leave Comment

Please login here to leave a comment.

Back