Forum

EA - Opening positions

Hello everyone. I'm having trouble writing a piece of code. it is about opening positions every 10 pips against the trend. This is intended to be a simple test build. Can anyone give me a hint

EA closes itself

Hi everyone I have written an EA. Everything seems spelled correctly. EA normally opens and closes positions. However, after some time, he closes positions and there is a message like this: Position close by symbol magic, close posytion ticet#0 After this message, EA disappears from the chart