PureBytes Links
Trading Reference Links
|
Hello,
you must have the Box.dll in the Plugin Folder and the help file
gives:
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,"",1,64);
Plot(Boxarr1,"",D,512);
Plot(Boxarr2,"",D,512);
Plot(dbuy*C,"",5,2);
Plot(dsell*C,"",4,2);
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.
>
> I have the Darvas DLL in my plug-in. Now how do you activate it?
> i.e. make it appear on a chart. I can't find instructions for doing
> so. Maybe some kind soul.........
>
> thanks
>
> Herbert
------------------------ 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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|