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

[amibroker] Re: What smells like a bear



PureBytes Links

Trading Reference Links

Hi Stephane,

Thanks. Will wait to download it.

Tks
KK
----- Original Message -----
From: "Stephane Carrasset" <nenapacwanfr@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, February 10, 2004 4:37 AM
Subject: [amibroker] Re: Darvas Box


>
>
> > > Hi Stephane,
> > >
> > > Thank you for your code and explanation. In your email, you
> > mentioned the
> > > example about source code, is this available anywhere for
> download ?
>
> I just come to upload it in the file section of amibroker dll group
>
> stephane
>
>
>
> > > KK
> > > ----- Original Message -----
> > > From: "Stephane Carrasset" <nenapacwanfr@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Wednesday, January 21, 2004 3:13 AM
> > > Subject: [amibroker] Re: Darvas Box
> > >
> > >
> > > > goodnight and quikly below is an example how to use the darvas
> > plugin
> > > >
> > > > DARVASBOX
> > > >
> > > > First thanks to Jonf who has written the js code for the Darvas
> > Box.
> > > > The plugin is Darvas(); it takes no parameters.
> > > >
> > > > A better explanation of the construction of the Darvas Box is
> > > > available at:
> > > >
> > > > 1) <http://www.gerryco.com/tech/darvas.html>
> > > > 2) <http://www.wealth-lab.com/cgi-bin/WealthLab.DLL/editsystem?
> > > > id=2814>
> > > >
> > > >
> > > > A dll must return one statement , in the case of the
> darvas.dll,
> > the
> > > > function
> > > > Darvas() alone returns  the stateArray
> > > > but you can also extract other statements from the dll
> > > > For example at the end of the source code of darvas.dll there
> are
> > > >
> > > > gSite.SetVariable( "BotArray", BotArray );
> > > >   gSite.SetVariable( "TopArray", TopArray );
> > > >   gSite.SetVariable( "DBuy", DBuy );
> > > >   gSite.SetVariable( "DSell", DSell );
> > > > gSite.SetVariable( "BoxArr1", BoxArr1 );
> > > > gSite.SetVariable( "BoxArr2", BoxArr2 );
> > > > gSite.SetVariable( "StateArray", StateArray );
> > > > return StateArray;
> > > >
> > > > All of these statements can be given by the plugin.
> > > > You can visualize the box with the following code.
> > > >
> > > > D=Darvas();
> > > > Plot(C,"",IIf(stateArray==5,2,1),64);
> > > > Plot(Boxarr1,"",D+1,512);
> > > > Plot(Boxarr2,"",D+1,512);
> > > >
> > > > PlotShapes(IIf( Dbuy, shapeUpArrow,shapeNone),colorGreen,0,C,-
> 20);
> > > > PlotShapes(IIf( Dsell, shapeDownArrow, shapeNone),colorRed,0,C,-
> > 20);
> > > > Title= "Darvas dll";
> > > >
> > > >
> > > > Note that a box is valid when the state is 5. The color allows
> > you to
> > > > see the valid box .
> > > > The Botarray and Toparray are the valid Bot and Top
> > > > Dsell and Dbuy are the signals when a Low is below the BotArray
> > or a
> > > > High above the TopArray
> > > >
> > > > Darvas forms "boxes" based on his studies of price actions.
> > > >
> > > > 1) Step1=If PriceHigh stops making new highs for 3 days, make
> the
> > > > PriceHigh 3 days ago the BoxTop and go to Step 2.
> > > >
> > > > 2) Step2= If PriceHigh breaks BoxTop, go back to Step 1.
> > Otherwise,
> > > > If PriceLow stops making new lows for 3 days then Make the
> > PriceLow
> > > > the BoxBottom and go to Step 3.
> > > >
> > > > 3) Step3=Now that the BoxTop and BoxBottom are formed, we have a
> > > > Darvas Box. The Darvas Box is broken when today's PriceHigh or
> > > > PriceLow breaks BoxTop or BoxBottom.
> > > >
> > > >
> > > > The Darvas Box is based on 5 States and 3 steps to form the box
> > > > The  plugin  gives us the possibility to add a tick for the
> > Breakout
> > > > of High above TopArray  OR Low below the BotArray
> > > >
> > > > For example:
> > > >
> > > > D=Darvas(1); // means 1% for a Breakout
> > > > Plot(C,"",1,64);
> > > > Plot(Boxarr1,"",D,512);
> > > > Plot(Boxarr2,"",D,512);
> > > > PlotShapes(IIf( Dbuy, shapeUpArrow,shapeNone),colorGreen,0,C,-
> 20);
> > > > PlotShapes(IIf( Dsell, shapeDownArrow, shapeNone),colorRed,0,C,-
> > 20);
> > > > Title= "Darvas dll";
> > > >
> > > > >   ----- Original Message -----
> > > > >   From: Stephane Carrasset
> > > > >   To: amibroker@xxxxxxxxxxxxxxx
> > > > >   Sent: Tuesday, January 20, 2004 6:18 PM
> > > > >   Subject: [amibroker] Re: Darvas Box
> > > > >
> > > > >
> > > > >   I know I must do an update to the help files of various
> *.dll
> > > > >   I'll do it and send you example of afl formula with the dll
> > > > >
> > > > >   stephane
> > > > >
> > > > >   >
> > > > >   > Thanks for the information !!
> > > > >   >
> > > > >   > I think the "box.dll" is the darvas box plugin (by
> Stephane
> > > > >   > Carrasset). However, I couldn't find any help file,
> > documents,
> > > > >   > nor AFL codes there.
> > > > >   >
> > > > >   > Do you know how I could contact Stephane ?
> > > > >   >
> > > > >   > Help very appreciated !!
> > > > >   >
> > > > >   > Vincent
> > > > >   >
> > > > >   >
> > > > >   >
> > > > >   > --- In amibroker@xxxxxxxxxxxxxxx, "sjaak1943"
> > > > <sjaakhaasnoot@xxxx>
> > > > >   > wrote:
> > > > >   > > Hi Vincent,
> > > > >   > >
> > > > >   > > I think last year the Darvas Box is mentioned on this
> > site by
> > > > >   > > Stephane Carrasset. There was also afl-code.
> > > > >   > > Look here:
> > > > >   > >
> > http://www.purebytes.com/archives/amibroker/2002/thrd3.html
> > > > >   > >
> > > > >   > > Sjaak
> > > > >   > >
> > > > >   > >
> > > > >   > > --- In amibroker@xxxxxxxxxxxxxxx, "Vincent Lue"
> > <vlue@xxxx>
> > > > wrote:
> > > > >   > > >
> > > > >   > > > Hi,
> > > > >   > > >
> > > > >   > > > Does anyone have or know of Darva Box drawing formula
> > > > >   > > > for Amibroker ?
> > > > >   > > >
> > > > >   > > > Please post any tip ...
> > > > >   > > >
> > > > >   > > > Thanks !!
> > > > >   > > >
> > > > >   > > > Vincent
> > > > >
> > > > >
> > > > >
> > > > >   Send BUG REPORTS to bugs@xxxx
> > > > >   Send SUGGESTIONS to suggest@xxxx
> > > > >   -----------------------------------------
> > > > >   Post AmiQuote-related messages ONLY to:
> > amiquote@xxxxxxxxxxxxxxx
> > > > >   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > >   --------------------------------------------
> > > > >   Check group FAQ at:
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > > >
> > > > >
> > > > >         Yahoo! Groups Sponsor
> > > > >               ADVERTISEMENT
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --------------------------------------------------------------
> --
> > ----
> > > > ----------
> > > > >   Yahoo! Groups Links
> > > > >
> > > > >     a.. To visit your group on the web, go to:
> > > > >     http://groups.yahoo.com/group/amibroker/
> > > > >
> > > > >     b.. To unsubscribe from this group, send an email to:
> > > > >     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > > > >
> > > > >     c.. Your use of Yahoo! Groups is subject to the Yahoo!
> > Terms of
> > > > Service.
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > > To visit your group on the web, go to:
> > > >  http://groups.yahoo.com/group/amibroker/
> > > >
> > > > To unsubscribe from this group, send an email to:
> > > >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > > >
> > > > Your use of Yahoo! Groups is subject to:
> > > >  http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > > >
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/