RE-Open trades in opposit direction

Hi, does any one know how I can add code into an EA to automatically open trades if there are currently not open trades, I have an ea that will close trades automatically if certain paramters are me buy need them to be replaced as soon as that happens.


heeeelp

If you don't know how to do it yourself either learn to code ask here?