Forum

EA Not closing all trades of a specific pair when achieving Pair Target

I'm looking for someone who can help me modify or correct the mistake in my code for a trade manager that closes all trades when its target is reached. This works perfectly with the Equity Target but fails to do the same for Pair Target. At times it works flawlessly but when reapplied on the same

Expert Advisor Compilation Errors!

Greetings To All Lately I've been trying to create an Expert Advisor for myself. However while coding for the same; I've been receiving errors which i have failed to understand and rectify as i lack expertise in the language .I've attached the screenshots for the same below.The code has all been