We have written an Expert Advisor with data import that checks data on several pairs. When I need to buy or sell, it opens only at the pair in the window of which it is located, although it has in its code a pair from the array with pair descriptions.
It is necessary for the Expert Advisor to make trades on different pairs in the window of one pair. Is it possible or is it only necessary to keep the EA in the window of the pair on which it opens?
We are trying in the real. We throw it on the pound-dollar and trades are executed only on the pound-dollar, but other pairs, even though they are specified in the array of pairs - it does not open on them. Can you tell us where the error is in our code?
We don't seem to be processing the prices correctly. We now have the price taken from the pair that is thrown in the window. Can you please tell me how to calculate ask and bid for twin[i] pair ?
We don't seem to be processing the prices correctly. Right now the price is taken from the pair that is thrown in the window. Please tell me how to calculate ask and bid for pair twin[i] ?
Похоже, что у нас неправильно обрабатываются цены. У нас сейчас цена берется с той пары, которая брошена в окно. Подскажите пожалуйста, как нам вычислять ask и bid для пары twin[i] ?
string twin[] = { "EURUSD", "GBPUSD", "USDCHF", "AUDUSD" }; for(int i=0; i<ArraySize(twin); i++) { .... OrderSend(twin[i],OP_BUY,Lots,Ask,0,0,0, "Simple New",16384,0,DeepSkyBlue); ..... }It is necessary for the Expert Advisor to make trades on different pairs in the window of one pair. Is it possible or is it only necessary to keep the EA in the window of the pair on which it opens?
We are trying in the real. We throw it on the pound-dollar and trades are executed only on the pound-dollar, but other pairs, even though they are specified in the array of pairs - it does not open on them. Can you tell us where the error is in our code?
We don't seem to be processing the prices correctly. We now have the price taken from the pair that is thrown in the window. Can you please tell me how to calculate ask and bid for twin[i] pair ?
We don't seem to be processing the prices correctly. Right now the price is taken from the pair that is thrown in the window. Please tell me how to calculate ask and bid for pair twin[i] ?
Похоже, что у нас неправильно обрабатываются цены. У нас сейчас цена берется с той пары, которая брошена в окно. Подскажите пожалуйста, как нам вычислять ask и bid для пары twin[i] ?
Thanks, let's experiment :)
Tell me please, are you an independent researcher or maybe you work in some software development team?