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

Plus Directional Movement Breakout System for Amibroker (AFL)

Rating:
4 / 5 (Votes 4)
Tags:
trading system, amibroker

This system is base on Plus Directional Movement (PDI) indicator. Buy and Sell signal were generated from breaking out of new high or new low of historical PDI data. This system is works on both Intraday and EOD. So you can optimize system parameters for your specific market.

Screenshots

Similar Indicators / Formulas

weighted moving average scan
Submitted by naninn almost 14 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 over 10 years ago
Kase CD V2batu
Submitted by batu1453 over 10 years ago
Ichimoku
Submitted by prashantrdx over 10 years ago
EMA System Ribbon
Submitted by yo123 almost 14 years ago
Three-Bar Inside Bar Pattern
Submitted by EliStern almost 14 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Plus Directional Movement Breakout System");

periods = Param("Periods", 14, 2, 200, 1);
pChange = Param("% Change", 5, 0.1, 10, 0.1);

pdiVal = PDI(periods);
pdiPeak = Peak(pdiVal, pChange, 1);
pdiTrough = Trough(pdiVal, pChange, 1);

Buy = Cross(PdiVal, Ref(ValueWhen(pdiPeak != Ref(pdiPeak, -1), pdiVal, 1), -1));
Sell = Cross(Ref(ValueWhen(pdiTrough != Ref(pdiTrough, -1), pdiVal, 1), -1), pdiVal);

Buy = Exrem(Buy, Sell);
Sell = Exrem(Sell, Buy);

_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("Price Color", colorBlack ), styleNoTitle | ParamStyle("Price Style") | GetPriceStyle() ); 
PlotShapes(shapeUpArrow * Buy, colorGreen, 0, L, Offset=-20);
PlotShapes(shapeDownArrow * Sell, colorRed, 0, H, Offset=-20); 

_SECTION_END();

2 comments

1. ferlanx

thank you

2. vips26878

Good Work thanks

Leave Comment

Please login here to leave a comment.

Back