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

To add comments, please log in or register
marcosdom802
35
marcosdom802  
this is my problem with a EA, always open a buy orden when i ge to the settings
Keith Watford
Moderator
13975
Keith Watford  
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.
marcosdom802
35
marcosdom802  
Keith Watford:
Then it probably has not been coded correctly.
yeah i know that, but some idea about the part of the code
Keith Watford
Moderator
13975
Keith Watford  
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.
To add comments, please log in or register