Jorgen, If you don't mind having just one chart at a time, and setting up the chart window in another active tab or pane, then it is easy to send the info to the running chart script via static variables for the symbol name to display.
BR, Dennis On Jan 18, 2009, at 7:01 AM, jorgen_wallgren wrote: > As I mentioned in another post, I am working on my own NASDAQ 100 > Heatmap for AmiBroker. But my version has so far 11 different values > to choose from- such as Bull/Bear Volume, Trend etc. > > It's soon finished for release, but I can't figure out how I should > do one thing in AFL. The symbols are, as the original NASDAQ heatmap, > organized in 10 x 10 symbols. So I would like a mouse click on a > symbol open a window and display the chart for that symbol. I have it > all ready (the mouse handler that is), except for how do make the > clicked Symbol to appear in another window with pre-configured time > (1, 5 or 15 minutes bars) and zoom level? > > I guess it has something to do with: > AB = CreateObject( "Broker.Application" ); > AW = AB.ActiveWindow; > > Or am I wrong? If yes, what's next? Please help! > > Thanks, > > Jorgen > P.S. First person helping me with this, so I can get it to work- will > get a copy of the beta test code. :-) >
