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

Donchian Fibs for Amibroker (AFL)
tomczykd
almost 15 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:

DonchainFibs.Afl plots a n period Donchian channel with Fibonacci lines between High and Low.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("DonchianFibs");

SetChartOptions(1,chartShowDates);
_N(Title=StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Plot(C, "", colorBlack, styleCandle);

pds=Param("DFibLookback",55,1,200,1);
DonchianUpper =HHV(H,pds);
DonchianLower = LLV(L,pds);
DonchianRange = DonchianUpper-DonchianLower;
Donchian236 = 0.236 * DonchianRange + DonchianLower;
Donchian382 = 0.382 * DonchianRange + DonchianLower;
Donchian500 = 0.500 * DonchianRange + DonchianLower;
Donchian618 = 0.618 * DonchianRange + DonchianLower;
Donchian764 = 0.764 * DonchianRange + DonchianLower;

Plot(DonchianUpper,"DU",ParamColor("CUpper",colorBlue),styleLine);
Plot(Donchian236,"D236",ParamColor( "C236", colorYellow),styleLine);
Plot(Donchian382,"D382",ParamColor( "C382", colorAqua),styleLine);
Plot(Donchian500,"D500",ParamColor( "C500", colorRed),styleLine);
Plot(Donchian618,"D618",ParamColor( "C618", colorAqua),styleLine);
Plot(Donchian764,"D764",ParamColor( "C764", colorYellow),styleLine);
Plot(DonchianLower,"DL",ParamColor("CLower",colorBlue),styleLine);
_SECTION_END();

1 comments

1. acedubai

Very nice indicator. Able to visually identify the trend

Leave Comment

Please login here to leave a comment.

Back