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

Re: [amibroker] Display semi-log and linear charts - at the sametime



PureBytes Links

Trading Reference Links

>Any way to do that?  There is only one setting in Tools-> Preferences
>->Main chart -> Logarithmic scale.  
>
>Think this is just another case of having symbol specific settings. 
>Not that important perhaps but am a recent MetaStock convert and old
>habits die hard.  
>
>  
>
it's perfectly possible, and I'd even say that in this regard Amibroker
is basically more powerful than Metastock, except for some flaws.   I've
attached a screenshot (50KB, but large in screen size) how my main chart
setup looks like.

The way I display a security with linear scale and simultaneously in a
second chart pane with semi-log scale is to create two custom indicators:

Each custom indicator contains the  Plot( Close, "Price", color,
styleCandle ) statement in order to plot the base security (see AFL
reference manual).  In one indicator I set the "Logarithmic" checkbox to
false, in the other to true.  You can find the "logarithmic checkbox" in
the indicator builder below the AFL source editor.

Amibroker's drawback when using custom indicators is however, that in
the tooltips not all price fields are displayed.   I hope that Thomasz
fixes this in future releases of AB.

If you are using the default built-in price indicator, you only need to
create one custom indicator to plot the base security in semi-log mode
(when the default price indicator is set to linear mode).




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Attachment: Description: ""