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

[amibroker] Re: Filling or shading between 2 lines



PureBytes Links

Trading Reference Links

I wrote something to shade between to MAs that might get you started
is you like the "Candle Style" for shading. It alternates "Green Red"
as they cross. It is called " Candle Ribbons" in the Files page.

http://f2.grp.yahoofs.com/v1/YH0MQ2TNBySxoMLifyTMAFOyN-kEFk7i2zNmUiUx9G0rZ8lX54GfP64lIYbvF58qwJi7Oig8wlH7Cv-B1GyQM-AQbHnT67gsSw/CandleRibbons

In the code you proubably want to change these 2 (MA & EMA) lines to
be your crossing lines, that replace the Temp Open & Close.

Jack Kinsey

rC = MA(C, P1);		// Change Temporary Price arrays
rO = EMA(C, P2);       		// to Moving averages.




--- In amibroker@xxxxxxxxxxxxxxx, Andrew Z <wizard@xxxx> wrote:
> G'day all,
> 
> I have 2 lines plotted that cross back and forth multiple times. How do 
> I go about shading (or filling in) the areas between the 2 plots
between 
> crosses??
> 
> Thanks,
> Andrew.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12heaqei2/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124899981/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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

<*> 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/