how to open only 3pairs on a window.pls help

 

pls can someone help me, i want my EA to open only 4pairs or symbol on a window and ignore other entries on other pairs since maximum require

position on pairs is reached...thanks


i did this but dont think it worked ,any other code help is high appreciated..thanks

if(OrderSymbol()>3 ) 
  {
     Alert("only 3 open pairs allowed");
     return(0);
    }
  
 
chudanever:

pls can someone help me, i want my EA to open only 4pairs or symbol on a window and ignore other entries on other pairs since maximum require

position on pairs is reached...thanks


i did this but dont think it worked ,any other code help is high appreciated..thanks

Your code is total nonsense. OrderSymbol() returns string (Symbol of the selected order).
 
Petr Nosek:
Your code is total nonsense. OrderSymbol() returns string (Symbol of the selected order).
It's new coding paradigm, the computer read the comment and guess what to do ;-)
 
try documents
 
Alain Verleyen:
It's new coding paradigm, the computer read the comment and guess what to do ;-)
You are not just smart but also funny. I almost fell off the chair :D
 
You guys has no solution,pls can someone assist pls,only 3pairs symbols allowed on a window..thanks..
Reason: