EA dont open a order unless i enter the settings and get out, then EA open a buy

 
this is my problem with a EA, always open a buy orden when i ge to the settings
 
marcosdom802:
this is my problem with a EA, always open a buy orden when i ge to the settings
Then it probably has not been coded correctly.
 
Keith Watford:
Then it probably has not been coded correctly.
yeah i know that, but some idea about the part of the code
 
marcosdom802:
yeah i know that, but some idea about the part of the code
Not without seeing the code.

A properly coded EA should be written so that it checks for already opened trades when it is re-started. The method may differ depending on the EA.

Sometimes it can be coded to ignore current signals and wait for a new signal. Or not to open a trade if a trade has already been opened during the current bar. Or check the last opened trade and only open a trade when there is a signal in the opposite direction.