[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks


  • To: amibroker@xxxxxxxxxxxxxxx
  • Subject: Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks
  • From: ram vel <rvlv@xxxxxxxxx>
  • Date: Thu, 12 Nov 2009 21:20:40 -0800 (PST)

PureBytes Links

Trading Reference Links



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

--- On Thu, 11/12/09, dbwyatt_1999 <dbw451@xxxxxxxxxxxxx> wrote:

From: dbwyatt_1999 <dbw451@xxxxxxxxxxxxx>
Subject: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks
To: amibroker@xxxxxxxxxxxxxxx
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 amibroker@xxxxxxxxx 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.
>




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___