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

Re: [amibroker] Re: In a plot statement . . .



PureBytes Links

Trading Reference Links

Hi DIMITRIS,

Sunday, September 19, 2004, 5:15:44 PM, you wrote:

DT> Yuki, cum(1)%2 will be equal to 1,0,1,0,1,0,... Try something
DT> like

DT> Plot(C,"C",1,64);
DT> Plot(MA(C,50),"MA50",colorYellow,1);
DT> Plot(MA(C,30),"MA30",(Cum(1)%2)*colorRed,1);

DT> It will give an red [equally spaced] dashed MA, if the first 
DT> customcolor in preferences is your background color [customcolor=0]
DT> Dimitris

It's not too bad, DT.  Not exactly what I wanted, but it's closer
than the dots, maybe.  Here is the line I'm using:

Plot(DiffMa, "MA%Diff",(Cum(1)%2)*colorGreen, styleOwnScale);

It does produce a green dashed line, but the dashes are not of
uniform length.

Yuki



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/