Multi currency => Fileopen function

 
I heard that "multi-currency baektest" are not allowed at mt4.

I'm not trying to deal with multiple currencies transaction in a single currency.

When the best indicator of the various pair is eqal to current open pair, I want to 

open it.

So I will open several pair

However, "multi-currency baektest" is impossible, I would like to export string symbols 

as a csv file which exists in the History Center.(Refer to the format below.)

and then I intend to call it back through ea "Fileopen" function again.

More details related to this. Or let me know if you know anything about a detailed description.

Wait for an answer.



I've seen enough of "Reference".  but it's very abstract in terms of utilization and isn't helpful at present.


So, please do not reply by raising "the Reference" address.



2012.02.27,04:00,1.34488,1.34548,1.34488,1.34516,619
2012.02.27,04:30,1.34516,1.34520,1.34487,1.34498,677
2012.02.27,05:00,1.34497,1.34583,1.34494,1.34532,943
2012.02.27,05:30,1.34533,1.34540,1.34480,1.34500,811
2012.02.27,06:00,1.34501,1.34501,1.34434,1.34480,1291
2012.02.27,06:30,1.34480,1.34504,1.34438,1.34458,1193


 
cape1354:
I heard that "multi-currency baektest" are not allowed at mt4.

I'm not trying to deal with multiple currencies transaction in a single currency.

When the best indicator of the various pair is eqal to current open pair, I want to
I recommend
Do not trade multiple currencies in one EA
  1. Correct
  2. Makes no sense
  3. Nothing will ever be equal. EURUSD is 1.0-1.5 USDJPY is 74-124.0. Makes no sense.
 
whroeder1 :

It's not trading transactions in a single transaction.


I try to compare the best indicators of other pairs when the best pair match.


See below for a short description of my explanations.

 int start()
  { 



//------------------- KEY POINT----------------------------------------//

       double USD_EMA = GetEMA( "EURUSD" , 100 );
       double JPY_EMA = GetEMA( "USDJPY" , 100 );

       double Max_EMA = MathMax (USD_EMA,JPY_EMA);     
//---------------------------------------------------------------------//




if (Max_Symbols == GetEMA( NULL , 100 );)
  {
   total= OrdersTotal ();    
   if (total< 1 )                  
     {
     
      
       if (   iRSI(NULL,0,14,PRICE_CLOSE,0)>iRSI(NULL,0,14,PRICE_CLOSE,1)                      )    
        {
         ticket= OrderSend (NULL, OP_BUY ,Lots, Ask , 3 , 0 , 0 , "ma sample" ,MagicNo, 0 ,Green);
         if (ticket> 0 ) 
           {
             if ( OrderSelect (ticket, SELECT_BY_TICKET , MODE_TRADES )) 
             Print ( "BUY order opened : " , OrderOpenPrice ());
             Print ( "Buy SR : " ,Success_Rate);  
           }
         else 
         Print ( "Error opening BUY order : " , GetLastError ()); 
         return ( 0 ); 
        }

     }
  }

return ( 0 );
}


//--------------------------------------------------------------------------
double GetEMA( string Sym_EMA, int EMA_PERIOD)
    {

       return ( iMA (Sym_EMA, 0 , EMA_PERIOD , 0 , MODE_EMA , PRICE_MEDIAN ,i));
    }

Reason: