This is from AmiBroker help...Hope it is what you might be looking for, although it requires a small amount of programming.
AddToComposite function opens up a huge variety of interesting applications. The following examples will help you understand what you can do with AddToComposite function.
Example 1:
Let's say we want to create custom index (average of prices of multiple tickers). With AddToComposite function you can do this fairly easy:
/* AddToComposite statements are for Automatic Analysis -> Scan */
/* add Close price to our index OHLC fields */
AddToComposite(Close, "~MyIndex", "X" );
/* add one to open intest field (we use this field as a counter) */
AddToComposite( 1, "~MyIndex", "I" );
buy = 0; // required by scan mode
/* this part is for Indicator Builder */
graph0 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", "I" );
You should use above the formula in Automatic Analysis -> Scan mode (over the group of symbols of your choice). This will create "~MyIndex" artificial ticker that will contain your index.