Forum

not able to close a position in any way

Hi guys. I have faced a weird problem. I am running my EA on GBPUSD. Every thing was ok, several positions have been opened and closed by EA successfully. However, since a position is opened, it can not be closed in any way. I am using the following code to closing: if (!trade.PositionClose( Symbol

How to include a Set file for each currency pair?

Hi everyone, I wrote a general project for trading on currency pairs. The project format is as seen in the attached picture. It contains an expert file in the source folder, some include files and some set files. I have prepared a set file for each of the currency pairs including input variables and