can i open "USDCHF" order and at the same time open"EURUSD"order by only attached on USDCHF expert?how to do?help

 
//+------------------------------------------------------------------+
double v;
int j,ticket;

int start()
{
v=iForce(Symbol(),0,12,MODE_SMA,PRICE_CLOSE,0);

if (OrdersTotal()<1)
{
if (v>0.0003)
{OrderSend("USDCHF",OP_BUY,1,Ask,0,0,Ask+10*Point,"test",0,16384,Gold);}

//i want to open USDCHF order,and at the same time open EURORDER.????

{OrderSend("EURUSD",OP_BUY,1,Ask,0,0,Ask+10*Point,"test",0,16384,Gold);}
//+------------------------------------------------------------------+

but i have to attach the expert on "EURUSD" and "USDCHF" chart dividely.

can i trade" EURUSD" by the expert attached the " USDCHF" chart?

i mean that i close an order of "USDCHF" and at the same time open an order of "EURUSD "by one expert only on "USDCHF" chart(the expert not attached on "EURUSD" chart).

i am from China, english is not good.

do i explain clearly?
 
You can send orders for any symbol independent from chart attached to
double ask1=MarketInfo("USDCHF",MODE_ASK);
double ask2=MarketInfo("EURUSD",MODE_ASK);
double point1=MarketInfo("USDCHF",MODE_POINT);
double point2=MarketInfo("EURUSD",MODE_POINT);

OrderSend("USDCHF",OP_BUY,1,ask1,0,0,ask1+10*point1,"test",0,16384,Gold);
OrderSend("EURUSD",OP_BUY,1,ask2,0,0,ask2+10*point2,"test",0,16384,Gold);
 
but i cann't do successfuly,because it can't do by STRATAGY TEST.
(i attached it on EURUSD chart , how to open a USDCHF postion from EURUSD chart.)

i feel u don't understand what i say.

could u read it again?
 
did you read about tester limitations?

"MQL4: Testing Features and Limits in MetaTrader 4"
 
thank slawa,i read the testerlimitations,hug:)
 
slawa,how to test two SYMBOL by STRATEGY when to do ?