dont trade if more than 1 expert

To add comments, please log in or register
Chukwudi Joshua
142
Chukwudi Joshua  

pls i want to ask is it possible to remove automatically remove an EA from mt4 if more than one

ea attached with different name expert

something like ExpertRemove() if another EA is detected...

or return(0) if more than 1 expert attached....thanks

William Roeder
20210
William Roeder  
You can only attach one EA to any one chart. Don't open multiple charts with the same symbol.
Chukwudi Joshua Obiekwe
672
Chukwudi Joshua Obiekwe  
whroeder1:
You can only attach one EA to any one chart. Don't open multiple charts with the same symbol.
Thanks for your reply @whroeder,all I need do is restrict copy EA from duplicating trade from an EA from same chart..that's why I ask ,cause I try to do it with Expertremove() it look like not possible...
Trinh Dat
46853
Trinh Dat  

Hi

when your EA run, code it creat one file, and open file.

if other EA run, it can not open the file, then EA stop work.

Chukwudi Joshua Obiekwe
672
Chukwudi Joshua Obiekwe  
Trinh Dat:

Hi

when your EA run, code it creat one file, and open file.

if other EA run, it can not open the file, then EA stop work.


@Trinh Date this your example is mt5 code structure,

I only mean mt4 file code structure..thanks.

To add comments, please log in or register