Martin
Added topic Add News Filter MQL5
Hi guys,      I'm looking into the code of adding the economic calendar in an MQL5 EA. I would be interested in understanding how a code is built around, for example, not trading on the red days of the related currencies. 
Martin
Added topic EA to work on my broker
Hi guys! I was wondering if anyone knows whether it is possible to have an EA running on MT5 and connected to <broker name removed > so people can follow the EA's performance? Any information would be valuable. Thanks! Martin
Martin
Added topic MQL5 EA Sending Alerts
Hey guys! I wrote a small EA sending alerts to the terminal ,however, whenever the condition is met, it sends an alert every second.. Would you please help me have only one alert when the condition is met? Thanks a lot, the code is below! Martin
Martin
Added topic Too many pending orders opened by EA MT5
Hi guys! One of my EAs has opened about 1000 pending orders .. Is there an EA on MT5 to cancel all pending orders at once by any chance..? Thanks a lot.. Martin
Martin
Added topic Buying MT5 Historical Data
Hey guys! Does anyone know where (if possible) I can buy MT5 historical data for some backtesting ? I have tried Tickstory but it isn't working very much. Thanks a lot! Martin
Martin
Added topic Advanced: Close All Trades at Daily Profit Target
Hi guys! I have been working on an EA for a few weeks now and I am stuck: I want to close all trades and open orders when a profit target (say 10 pips) is reached. I have a ClosePosition function which doesn't seem to be working. Would anyone have
Martin
Added topic MQL5 When Stop Loss is hit, wait for MACD to cross 0
Hi, I have an EA working but I cannot seem to find a way to do the following: 1. Only have one trade at all times 2. When the stop loss is hit, wait for the MACD indicator to cross 0 Any advice/help would be amazing, I've been trying to find a way
Martin
Added topic Advanced: Open opposite trade when SL is hit
Hi guys, I have been struggling adding a feature to my EA. I want to opposite open market orders on every trade at my SL level that get deleted once TP is hit. So basically, if I have a long position and the SL is hit, I want to go short at the same
Martin
Added topic Open Positions on MACD Lines Cross
Hi, I have been working on this EA for quite a while and I cannot find a way to make it open positions when the MACD line and the Signal line cross. In this code, it opens positions when the MACD crosses the value 0. Can anyone help me find a way to
Martin
Added topic MACD crossing 0 in MQL5
Hey guys, I am trying to code an EA that takes positions every time the MACD (21, 48, 3) crosses 0. However, this code takes positions when the EMA 21 and EMA 48 cross. I believe my issue is that I incorrectly coded the calculation: EMA 48 - EMA 21
Martin
Added topic Coding Trailing Stop Loss in MQL5
Hey guys, I am struggling with coding a trailing  stop loss  in my EA in MQL5. Could anyone please help me?  I would be extremely grateful. Thanks in advance, Martin
Martin
Added topic Coding Trailing Stop Loss in MQL5
//+------------------------------------------------------------------+ //| MACD crossing the Signal line //| WORKING ON Trailing Stop Loss //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> // Get
Martin
Added topic MT5 lost experts and charts synchronized on virtual server
Hi, Yesterday, I had about 10 charts (different time frames, indicators and experts) synchronized on my virtual server that I am renting from MT5. However, something went wrong and they all disappeared.. Is there a way of synchronizing with the
Martin
Registered at MQL5.community