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

Didi Index for Amibroker (AFL)

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

The indicator Didi Index was developed by Odir (Didi) Aguiar, a leading analyst of the Brazilian market. This indicator is derived from the study of ‘Moving Averages’. Your goal is to facilitate the viewing of a “needleful”.

The needleful indicate a trend reversal. They happen when two lines intersect in the zero line (horizontal) and take opposite directions

This indicator works very well in trends, but not in lateral market, maybe another indicator run together, could be better.

Similar Indicators / Formulas

CCT CMO trading system
Submitted by overdrunk over 13 years ago
suktam pivot based buy-sell
Submitted by navin almost 12 years ago
NMA swing sys as suggested by empottasch
Submitted by rghunsimath about 12 years ago
Detrended Price Oscillator System
Submitted by anandnst over 11 years ago
MIX Auto Trading System
Submitted by savage over 13 years ago
NMA v 3.6 a optimiser
Submitted by gopal about 13 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Background");
SetChartBkGradientFill(ParamColor("Top", colorTeal), ParamColor("Bottom", colorLightGrey), ParamColor("Title", colorTeal));
SetChartBkColor(ParamColor("Chart Background", colorWhite));
_SECTION_END();

_SECTION_BEGIN("Didi Index Indicator");
function DidiIndex( Curta, Media, Longa )
{
 global DidiLonga, DidiCurta;
 DidiLonga = MA( Close, Longa ) - MA( Close, Media );
 DidiCurta = MA( Close, Curta ) - MA( Close, Media );
 
 return IIf(DidiCurta > 0 AND DidiLonga < 0, 1,IIf(DidiCurta<0 AND DidiLonga>0, -1,0));
}

MAFast = Optimize("Curta",Param("MA Curta",3,1,5 ),1,5,1);
MAMid  = Optimize("Media",Param("MA Média",8,6,12),6,12,1);
MASlow = Optimize("Longa",Param("MA Longa",20,15,34),15,34,1);

Trend = DidiIndex(MAFast, MAMid, MASlow);
Buy = Cross(Trend,0) AND ADX()>MDI();
Sell = Cross(0,Trend);
Buy = ExRem(Buy,Sell); Sell = ExRem(Sell,Buy);

TrendColor = IIf(DidiCurta>0,colorLime,colorRed);

Plot( DidiCurta, _DEFAULT_NAME(), TrendColor, ParamStyle("Histogram style", styleThick | styleHistogram | styleNoLabel, maskHistogram ));
Plot(0,"", colorBrown ,styleLine);

Plot(DidiLonga,"",IIf(DidiLonga<0,colorGreen,colorRed),styleLine | styleThick);

Plot(DidiCurta,"",IIf(DidiCurta>0,colorGreen,colorRed),styleLine | styleThick);

//Normal Buy and Sell Signal
PlotShapes(Buy*shapeUpTriangle,colorBlue,0,-0.5);
PlotShapes(Sell*shapeDownTriangle,colorPink,0,0.5);

// The Best Signal: Didi Needleful
PlotShapes((Cross(DidiCurta,0) AND Cross(0,DidiLonga)) * shapeHollowCircle, colorYellow,0,0.25);
_SECTION_END();

3 comments

1. akshay

anyone please describe how to use this indicator. thank you

2. jeanmuller

Gostei do indicador, porém nos backtest’s ainda não se saiu muito bem… vou ver se consigo dar uma analisada mais a fundo, qualquer coisa posto aqui,

Falow!

3. jurubeba

eu vou analisar este indicador tb

Leave Comment

Please login here to leave a comment.

Back