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

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



PureBytes Links

Trading Reference Links

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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/