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

Re: [amibroker] I'm stuck -- please explain



PureBytes Links

Trading Reference Links

If I understand your problem it is the order of plots that you are
having probs with. The first plot sets the Yscale

try this
aBV = Status("barvisible");

xyz = LastValue(LowestSince(aBV==0,L));
abc = LastValue(HighestSince(aBV==0,H));
Plot(C,"",29,64);
Plot(xyz,"lo",colorRed,styleLine|styleNoRescale);

Plot(abc,"hi",colorRed,styleLine|styleNoRescale);

GraphXSpace=5;


On Fri, 05 Nov 2004 00:21:38 +0100, groups <groups@xxxxxxxxxxxx> wrote:
> 
> kaveman perth wrote:
> >
> > you could use
> > xyz = lastvalue(lowestsince(abv==0,L));
> > plot(xyz,"low",colorred,styleline|stylenorescale);
> >
> > If your line plots are outside the shown price chart then it can
> > distort the original chart.
> 
> thanks, but it is not what's bugging me. The point is that using
> LastValue or single number causes problems, it is OK with arrays.
> consider this example:
> 
> aBV = Status("barvisible");
> 
> xyz = LastValue(LowestSince(aBV==0,L));
> abc = LastValue(HighestSince(aBV==0,H));
> 
> Plot(xyz,"lo",colorRed,styleLine|styleNoRescale);
> Plot(C,"",29,64);
> Plot(abc,"hi",colorRed,styleLine|styleNoRescale);
> 
> please plot it and change intervals a few times -- you will see that it
> scales wrong and weird.
> 
> 
> 
> cheers,
> BM
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


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