|
Hi Corey,
Thanks for sharing this. I like it because it also
plots a black seperator line between each row or ribbon. I wasn't able to
do that previously.
Dave From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Corey Saxe Sent: Monday, July 24, 2006 11:42 AM To: [email protected] Subject: Re: [amibroker] Multi Row Colored Ribbons Try:
// overall
ribbon
down =
MACD()<Signal()
AND MA(C,5)<MA(MA(C,5),7);
up = MACD()>Signal()
AND MA(C,5)>MA(MA(C,5),7);
Color =
IIf(down,colorRed,IIf(Up,colorGreen,
colorYellow));
//bottom ribbon,
plots last
Plot(2,"Cond1",IIf(
MACD()<Signal(),colorRed,colorGreen),styleOwnScale|styleArea|styleNoLabel,0,100 );
Plot(2.5,"",colorBlack,styleOwnScale|styleArea|styleNoLabel,0, 100
);//bottom black line, plots
fourth
// Mid
ribbon
Plot(4.5,"Cond2", IIf(
MA(C,5)<MA(MA(C,5),7),
colorRed, colorGreen), styleOwnScale|styleArea|styleNoLabel,
0, 100 );//plots
third
Plot(5.0,"",colorBlack,styleOwnScale|styleArea|styleNoLabel,
0, 100 );//2nd black line, plots
second
Plot(7.5,"Overall Ribbon",Color, styleOwnScale|styleArea|styleNoLabel,
0, 100 );//top ribbon, plots first
This was from long ago and doesn't reflect any updated code that
subsequent betas would have provided.
-CS
__._,_.___ 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
|
- RE: [amibroker] Multi Row Colored Ribbons MarketMonk777
- RE: [amibroker] Multi Row Colored Ribbons MarketMonk777
- RE: [amibroker] Multi Row Colored Ribbons MarketMonk777
