I don't think you can dynamically overlay by pulling symbols on top of each other but you can custom code by using the foreign function...
Plot your current symbol. Plot foreign(foreign symbol). This is from the help system: This function provides an easy way to implement overlays, as shown in the following code: /* Red line - current security price */ /* Blue line -overlaid index chart (scaled to fit) */ graph0 = close; graph1 = foreign( "XAO", "Close" ) ; /* replace "XAO" by your index, or any other ticker to graph along with you stock */ graph1 = lastvalue( highest( graph0 ) )/ lastvalue( highest( graph1 ) ) * graph1; --- In [email protected], "i7505" <[EMAIL PROTECTED]> wrote: > > I have looked through the docs and search the kb & groups and can not > seem to find the answer to this - how can I overlay the price charts > of two different symbols in the same chart window? I am coming from > Ensign where this is very easy to do, but I can not find an equivalent > method in AB. For a simple example - to overlay a price chart of the > NASDAQ 100 and the S&P 100. > > TIA, Greg > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/amibroker/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
