Hi David
Many thanks..
for your fast response and solution.
warm regards
rvlv

--- On Thu, 11/12/09, dbwyatt_1999 <dbw...@bellsouth.net> wrote:


From: dbwyatt_1999 <dbw...@bellsouth.net>
Subject: [amibroker] Re: REQ Please help code fibonacci bands in these lines as 
given-thanks
To: amibroker@yahoogroups.com
Date: Thursday, November 12, 2009, 2:12 PM


  





The fib lines look to me like Donchian Channels with fib lines dividing the 
upper and lower channel:

_SECTION_BEGIN( "DonchianFibs" );
pds=Param("DFibLook back",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",ParamColo r( "C236", colorYellow) ,styleLine) ; 
Plot(Donchian382, "D382",ParamColo r( "C382", colorAqua),styleLin e); 
Plot(Donchian500, "D500",ParamColo r( "C500", colorRed),styleLine ); 
Plot(Donchian618, "D618",ParamColo r( "C618", colorAqua),styleLin e); 
Plot(Donchian764, "D764",ParamColo r( "C764", colorYellow) ,styleLine) ; 
Plot(DonchianLower, "DL",ParamColor( "CLower", colorBlue) ,styleLine) ;
_SECTION_END

Regards,

David

--- In amibro...@yahoogrou ps.com, "flyboypa30" <snoopy.pa30@ ...> wrote:
>
> RVLV,
> 
> What have you got so far in your coding? What have you tried, what works, 
> where are you stuck?
> 
> I am no expert, but willing to help.
>









      

Reply via email to