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

[amibroker] Using existing data folders



PureBytes Links

Trading Reference Links

Does this example help ?



MA1=MA(C,5);

MA2=MA(C,15);

fill=Param("style",1,1,2,1);

style=IIf(fill==1,styleHistogram,IIf(fill==2,styleArea,Null));

Plot(MA1,"ma1",colorGreen,styleLine);

Plot(MA2,"ma2",colorRed,styleLine);

x=IIf(MA1 > MA2,MA2,MA1);

Plot(x,"",colorLightGrey,style);

Plot(MA2,"ma2",colorRed,style);

Plot(MA1,"",colorGreen,style);

----- Original Message ----- 
From: "treliff" <treliff@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, August 12, 2004 2:54 AM
Subject: [amibroker] Can I color-fill the area under a line chart?


> Having a default line chart (StyleLine) is there a way to color the
> area between the line and the horizontal axis?
>
> Though StyleArea comes close, it still has the distinct staircase-
> like steps, while I'd prefer the smooth line as boundary of the
> colored area.
>
> Is there a way to do this?  Thanks as always.
>
> -treliff
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/