HELP !! Can the same EA be use to trade in few diffrent symbol() in same period ??

 

1, how to make it(ea) to select the correct symbol(which is signaling) and close it which is out of order pos in your account.

2, before make it(ea) to open,how to check after your account has not the same symbol() ?

3, can NULL be designed in this EA ?

4, MagicNumber () can solve the problem,

THERE IS ANY GOOD ONE CAN HELP ?

 

A couple of your questions make no sense to me.

And this issue has been well answered in this forum on numerous occasions. Please use the search facility. Here is an example: 'trading multiple currency pair within the same EA'

A few tips:

- Symbol() returns the name of the pair for the current chart

- OrderSymbol() returns the name of the pair associated with an order that has been selected using OrderSelect()

- Ask, Bid, Digits, Point etc. provide market info relating to the pair of the current chart

- To get these (and other values) for any pair (not just the pair of the current chart) use MarketInfo().

- The Strategy Tester can only handle information for the pair of the current chart

- Magic numbers are not required to provide the capability for an EA to operate across two pairs; Magic numbers will help if, for example, you wish to identify orders which have been placed by a certain EA, or for a certain reason/strategy within an EA.


CB

Reason: