kingkevbo / Publications
Forum
Converting an MQL5 EA designed for Netting to Hedging mode
Hi, I have an EA that I wrote around 5 years ago, that I was using on a real account . I stopped trading when the SNB removed the cap on the Euro and my broker, Alpari, went bust. That spooked me for a while but I have recently been wanting to give it another go. I have forward tested my EA on a
Order on chart
Hi, When an order is opened and closed on MT5, an arrow and line are drawn on the chart from the opening and closing price/time. If the chart is closed and re-opened, these lines do not re-appear. Is there any built-in function or indicator/script that will interrogate your order history and
Setting up the optimiser
Hi, I have written an EA which I have been running in the optimiser. My EA has various inputs, one of which is a boolean whether the EA should use a trailing stop or not, and another is the value of the trailing stop. What I would like to know is, is it possible to set up the tester, either with
Obtaining the actual open price of a sell stop order.
Hi. I have written an EA which places buy and sell stop orders at certain places. After an order is filled, if price moves in my favour, I want to move my stop loss to break even. To get the order open price I use the following code (for a short position)
ZigZag indicator disappears
Hi, Is there any known reason why the ZigZag indicator disappears after a while of being on screen? If I set it on a chart it works, but after a while, if I go away and come back, it has disappeared off the screen. If i remove it and re-attach it, it comes back. Also simply changing the time frame