Forum

CopyBuffer error MQL5

Hi, I have coded a multi symbol mql5 ea which compiles fine but when I run it through the strategy tester there seems to be an issue with the CopyBuffer function . Just by looking does anyone know why this might be? //Checking and Copying Indicator Values if ( CopyBuffer (MACD_Handle[i], 0 , 1 , 4

Closing A Position

Hi, I am after some advice on how to close a position using PositionClose. However I cant seem to link the trade to the PositionClose. Please could someone point me in the right direction. ******* Thank you for any help

Trying to list my EA on the Market place

Hi, I have a multicurrency hedge EA that I am trying to get listed on the market place, however when it comes to the final part of getting the automatic verification it keeps up coming as failed with numerous errors for example "no trading operations ". I have tested the EA on MT4 and it works

Correlation EA

Hi, Im very new to MQL4 and programming in general. Im looking to create an ea that opens 3 currency pairs at a time EURUSD - EURGBP - USDJPY, each with different lots sizes. The way I would like to open is if the EURUSD is above the 20 MA then it opens a buy on the EURUSD and a sell on the EURGBP

EA BUY STOP/SELL STOP

Hi, Im after some advice please. I am using an EA which sets Buy Stops and Sell Stops , however when the price gets near the Buy and Sell Stops it seems to move so I cant actually take a trade? Is there a setting that can be changed to stop this? Thanks, Dave

what should be used?

Hi, I have the majority of my EA set up but the only piece im missing now is the part where "if this pair drops then take a sell trade for this different pair". Is this some thing someone could help with please? Many thanks David

EA Correlation - great potential - help needed please!

Hi, I was hoping somebody might be able to help me please. Is it possible to create an EA that takes trades when a different pair moves in a certain direction which will then start a trade on another pair? For example say if EUR/USD moved up and a few minutes later another pair moved in the exact