Switch between 2 ea on same terminal

 

Hello.

I need a utility/ea. Imagine i have one terminal with 2 ea. I only want one to take trades. If EA 1 take a trade first, EA  2 can't trade. The other way , if EA2 take a trade, EA 1 can't take a trade. When trade is finished for EA1 or EA2, both are allowed to trade , until one EA trade and the other can't. etc.

Thank you.

 
The EAs can manage this by Global Variables: https://www.mql5.com/en/docs/globals
Documentation on MQL5: Global Variables of the Terminal
Documentation on MQL5: Global Variables of the Terminal
  • www.mql5.com
Global Variables of the Terminal - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Carl Schreiber #:
The EAs can manage this by Global Variables: https://www.mql5.com/en/docs/globals

Sorry, i am not a coder, maybe this ea/tool exist in the market?

 
Sebzh #:Sorry, i am not a coder, maybe this ea/tool exist in the market?
No, it does not exist. Its requirements are too specific. You will have to hire someone to code it for you.
Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2023.05.08
  • www.mql5.com
The largest freelance service with MQL5 application developers
Reason: