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

Re: [amibroker] Re: Darvas again



PureBytes Links

Trading Reference Links


Hello,
 
Could you explain what you mean in the help file??
How do i use it after I install the plug-in?
 
Thanks!
Stephane Carrasset <nenapacwanfr@xxxxxxxxx> wrote:
Hello,you must have the Box.dll in the Plugin Folder and the help file gives:DARVASBOXFirst 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 functionDarvas() alone returns  the stateArraybut 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 TopDsell and Dbuy
 are the signals when a Low is below the BotArray or a High above the TopArrayDarvas 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 > > HerbertSend BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 the Yahoo! Terms of Service. 
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search






Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.