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

[amibroker] I'm stuck -- please explain



PureBytes Links

Trading Reference Links

Hi everyone,

this is something I don't understand. I want to plot two lines: first 
one representing the highest value of the visible bars, second one 
representing the lowest value of the visible bars. simple, isn't it?
I wrote this:

aBV = Status("barvisible");

Lo = Lowest (L*IIf(aBV,1,L)); // I assume L>=1
Hi = Highest(H*aBV);

Plot(LastValue(Hi),"",32);
Plot(C,"",32,64);
Plot(LastValue(Lo),"",32);

please copy & paste this, and change interval from daily to hourly, 
weekly, intraday etc. do you see the strange scaling? if you do, please 
clarify to me why it does scale so? changing last lines to:

Plot(Hi,"",32);
Plot(C,"",32,64);
Plot(Lo,"",32);

works OK for every interval.

I would appreciate any help and explanation of this strange scaling,
cheers,
BM


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