How do I specify OrderopenPrice for two separate pairs?

 
I have an EA to open buy for two pairs simultaneously. Then I want to close when either difference or sum of the profit in pips is > TakeProfit. the only problem is I don't know how to get OrderOpenPrice for both currencies at the same time. Any insight would be appreciated

extern string Symbol_1 = "EURUSDm";
extern string Symbol_2 = "USDCHFm";

for(cnt = OrdersTotal(); cnt >= 0; cnt--)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderSymbol()==Symbol())
{
if((MarketInfo(Symbol_1,MODE_BID)-OrderOpenPrice()) + (MarketInfo(Symbol_2,MODE_BID)-OrderOpenPrice())>TakeProfit*Point ||
(MarketInfo(Symbol_1,MODE_BID)-OrderOpenPrice()) - (MarketInfo(Symbol_2,MODE_BID)-OrderOpenPrice())>TakeProfit*Point ||
(MarketInfo(Symbol_2,MODE_BID)-OrderOpenPrice()) - (MarketInfo(Symbol_1,MODE_BID)-OrderOpenPrice())>TakeProfit*Point)
{
OrderClose(OrderTicket(),OrderLots( ),Bid,3,Violet);
return(0);
}
}
}
return(0)
Reason: