MQL4 and MetaTrader 4 - page 70

I paid a programmer to create a EA for me (I am currently testing the EA) that places trades in the direction of the previous candle or bar. The ea has time settings adjustments so you can target specific highly probably candles at the same time every day if you want. Does anyone know of any highly...
Hi, I have seen a lot of these threads without any suggestion on how to actually solve it except when admin got it working. https://www.mql5.com/en/forum/72835/page3 Can I get some help solving this for IC markets please? Thanks
  Indicators  (1)
I have 5 indicators. Can they all be put into one mql4 file. One of the indicators I only have a .ex file. Thanks Rich
Hello, what may be the reason of a conflict between indicator and EA? When i use them together my MT4 just freezes
Greetings sorry for the imprecision of this writing: I use an online translator, from Italian to English. I'm looking for a very simple trading system, just to backtest on past daily data, on the forex market, to verify my idea or intuition. I don't have to use it as an automatic trading system in
  Version check  (12   1 2)
Hi, Is it possible somehow to check which MT4/MetaEditor version made the compiling of an ex4 file? Thanks
So I've been using this indicator for a couple months, During my manual backtesting it seemed to be great, But after using it live I have a strong suspicion that it repaints. I know nothing about coding so any help would be appreciated. Indicator is attached
How to fix OrderSend Orror #138
Hi, I am new to this forum. I have just started to write my own EA.. I have the following codes.. if (Close[ 1 ] < B1S1Avg) // if previous close is below average price, then current price is nearer to sell level, so create a sell order to average up { //
I sent a MT4 expert to validation but it was returned with 1 single error but without any explaination of that error. This expert I originally programmed in MT5 and afterwards I converted it to MT4. The MT5 version passed the validation without any problems. Please refer to the sceenshot attached
  How to get bull/bear candle?  (17   1 2)
Hi, I need to get if is candle bear and bull. I found some code but not works. bool bullish = Close[ 1 ] > Open[ 1 ] && Open[ 1 ]; bool bearish = Close[ 1 ] < Open[ 1 ] && Open[ 1 ]; I need to find if candle is white is bearish and if is black is in bullish Check attachment
Hi guys, I have developed a strategy and got it into MQL4 using ChatGPT but I don't have the coding knowledge to get it to work the way I want to, in fact it doesn't execute trades at all when I try to back test it. I would love for someone to help me get it to work on MetaTrader. I know the
This was fine before new mt4 builds but is throwing up "cannot convert type string to bool" when I try to compile now, any ideas? if((bool)response.getAttribute("error"))
I have an EA that only places orders of the BuyStop/SellStop type and only integer values. Of course the variable type has to be double, but the value is always an integer. When the price is touched, the order goes live. In one of my brokers, that has been working flawlessly for days. In the other
Hello, I read that it should be possible with std::bind or the c++ Boost library to bind a function pointer to a class method. Unfortunately I couldn't find any examples of this and I can't do it without help. Suppose I have two classes and I want to bind a callback from class A to an instance of
Hi gang, I'm struggling to get some data I purchased importing correctly into MT4. Two different problems seem to be showing up. First is each day only imports from 10:00-23:59, while my csv file contains data for each day from 0:00-23:59. Second, which I'm assuming is related somehow, is that
iTime ( _Symbol , _Period , 0 ); Should return the current bar open time , but I have an issue where it sometimes returns the previous bar time. I didn't think it was possible. Maybe if I RefreshRates() ? Edit: Nope. Still happenning
Hi folks, I didn't open Visual basic since 2 months; I opened it tonight and converted the "DDE-Sample.xls" to Visual basic with some improvements (a full pairs list). If you like it, I will make it save the history. Do you have any suggestions
Here is my basic codes structure: ... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit " ... ... So basically, if I set numbers like the above when price reached the A1 (2)
Hi i would like to calculate lots such that if say account balance is $1000 to open trades with $100 in other words 10% and when the balance grows to $2000 to open trades with $200. This is some sort of incremental system that should maintain lot size of new trades at 10% of balance. How do i go...
Does anyone know how to draw a horizonal line from the open of a specific candle to the end of the day. For example, the open of the 2:00 am hourly candle. I know how to draw a line from the start of each day to the end. Just having difficulty figuring out how to start at a specific hour. Thanks
I'm using MT4 Build 900 on a WindowsXP. Today the Visual Mode and tabs at the bottom have disappeared. I've checked with two brokers. Same issue. I'd be grateful for any suggestions on how on a fix this
I'm looking for an MT4 EA that buy/sell every n of pips, like in a grid. Do you know? ciao
hi, using MT4 b745 on wine 1.7.32 i386 ubuntu for using an expert i need to add an url into /tools/options/Expert advisor/ there is already the builtin 'http://www.mql5.com' listed when i right-click on '+' nothing happen for adding a new url, so i double click on the previous url's field:...
There is no option to choose a Pro 5 RoboForex MT4 account
how to add news website for my ea ? it already has news filter but i need to add a website from mt4 option
hey , so i have an mt4 indicator that works just fine with no lagging or freezes on my terminal ,, but i gave to like 5 ppl to code it and all say they can run it ,, any idea why is that happening ? my terminal build is 1382
Hi All, I just started using mql4 few weeks ago. My EA is working fine in tester , but it gives me this error in live : Error opening BUY order : 0 The sell orders are executing correctly, only buy orders are not placing. I have tried running on different times with different brokers but same
Hi, I want to broadcast a message to all the open charts. The code is already written and there was no issue, but then I noticed that sometimes one chart's OnChartEvent is not getting triggered. It's always the same. Because I am still developping, only two charts have the OnChartEvent function so