Forum

closeAllLong() closeAllShort() or closeAllPositions example for my EA

I am new to MT5 and am still trying to figure a few things out! Can someone please share a function that shows me how you would close all positions as per the subject line above? I will always only have open positions of either type OP_BUY or OP_SELL and never both. I have an input parameter on my

Looking for solid documentation EA Wizard Source Code

Hello all! Although I am an old fox in the computer programming industry, I am brand new to MT5. I have taken a cursory look at the source code library under Include/Expert that is used to generate the EA which I create through the Wizard. Congratulations to the group that put together that code

Scope question: Building an EA that processes data from multiple charts within a profile

I'm new to MQL4, although I have several years of classical programming experience. I have a profile with multiple charts - due to 1M, 1W, 1D, 4H, 1H and 15M periodicity requirements of the data for the indicators on each chart. My desire is to create one EA that will receive and/or process data