Forum

Bring chart into focus by Symbol Name

Hi, Is it possible to bring a specific chart into focus by Symbol Name with some script, when you have a few charts open? Mt4 Platform. I have scripts to do buy's and sell's for different instruments, but I can only get them to work correctly if the specific chart is in focus first. Even if I set

Close Positions on a Specific Sybmol Only

Hi, I want to be able to close a trade on a specific symbol. All the scripts I try close positions on all open positions, irrespective of symbol. I tried to force the script to work on only a specific symbol by changing OrderSymbol() to "EURUSD" for example. But no joy! Still closes everything