That discussion is awaiting moderation.

Get the bars for another instrument

In a strategy, the bar series for the current instrument are available via the getBars() method.
If you ever need to look at the bars for another instrument, getBarsFor(Instrument, BarType) will come in handy.

public void onOpen(OpenPrice open) {
    if (isUsing(CAC_40) && (getBarsFor(E_MINI_SP, Daily).getHighestHigh() >= open.getPrice())) {
        buy(1, "Buy CAC40 when it reachs E_MINI_SP highest high");
}

Caution: all instruments and bar types must be declared in the @MarketData annotation.