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

Re: [amibroker] Area between



PureBytes Links

Trading Reference Links

Thanks Tomasz.  Exactly what I was looking for.  One more thing.  Do you have a special "color code" that permits the grid to be maintained.  -11 wipes out the grid and produces a solid background.
 
Bill
----- Original Message -----
Sent: Saturday, June 04, 2005 11:47 AM
Subject: Re: [amibroker] Area between

Hello,
 
Styles can not be 'dynamic' but colors can.
 
If both curves are positive, it is easy to plot style area between them:
 
Curve1=Foreign("AA","C");
Curve2=
Foreign("KO", "C"
);

Color=
IIf(Curve1>Curve2, colorGreen, colorRed
);
Curve11=
Max
( Curve1, Curve2 );
Curve21=
Min
( Curve1, Curve2 );
Plot( Curve21, "", -11, styleArea ); // -11 is special color for 'background'

Plot( Curve11, "", Color, styleArea
);



Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Saturday, June 04, 2005 5:29 PM
Subject: [amibroker] Area between

Is it possible to produce a code that draws stylehistogram or stylearea only between two curves?  My thought is a bit fuzzy, but it seems if the Y axis could be converted into an array then it might be possible to utilize stylenodraw in sections where the area should not be filled in.  Sound crazy?  If not, any thoughts about how this might be done?


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.1 - Release Date: 6/3/2005


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Yahoo! Groups Links