PureBytes Links
Trading Reference Links
|
when you have copied the box.dll in the plugin folder of Amibroker
in indicator builder paste ( as describes in the help file)
Darvas();// it calls the dll
Plot(boxarr1,"",colorRed,1);
Plot(boxarr2,"",colorGreen,1);
Plot(C,"",1,64);
PlotShapes(IIf(dbuy,shapeUpArrow,shapeNone),colorGreen, 0,Low,-20 );
PlotShapes(IIf(dsell,shapeDownArrow,shapeNone),colorRed ,0, High,-
20 );
OR at the end of the afl code
add:
Plot(C,"",1,64);
Plot( box1, "" , colorRed, styleLine );
Plot( box2, "" , colorGreen , styleLine );
Dbuy=IIf(H>toparray AND Ref(statearray,-1)==5 ,1,0);
Dsell=IIf(L<botarray AND Ref(statearray,-1)==5,1,0);
PlotShapes(IIf(dbuy,shapeUpArrow,shapeNone),colorGreen, 0,Low,-20 );
PlotShapes(IIf(dsell,shapeDownArrow,shapeNone),colorRed ,0, High,-
20 );
and it will be the same ( I hope !!!) BUT, I don't think you'll be
rich with the darvas Box ^_^
stephane
> thank you Stephane.. i copied the below indicator and pasted it
into the
> Indicator Builder of AB. it works fine.
>
> being a newbie--i still am learning about all this stuff....
> what is the purpose of the box.dll i downloaded from the AB 3rd
party site?
> is the .dll used ONLY when another indicator calls it?
>
> thanks again for sending the Darvas Box indicator code...
> ron
>
>
> -----Original Message-----
> From: Stephane Carrasset [mailto:nenapacwanfr@x...]
> Sent: Monday, February 23, 2004 7:04 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Darvas Box
>
>
> The code in AFL for Darvas Box is below, everyone can change it to
> suit the conditions he wants
>
> stephane
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.592 / Virus Database: 375 - Release Date: 2/18/2004
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/
|