MQL4 and MetaTrader 4 - page 12

Hello everyone, i need some help, i need to uninstall mt4 and data but the uninstall app doesn't exist, and mt4 is not listed on apps and features
Hello your help will be highly appreciated, I have coding a function that triggers opposite ordertype when a trade closses in loss but not working at all. That is if we have buy order active and the order closses either by sl or opposite close and it resulis in loss then sell order will open at the
When a certain buy condition is met, I want to open a buy position and set the take profit (TP) and stop loss (SL) based on the candle length. I found a Martingale strategy on Forex Factory that is similar to what I want. The main function of this Martingale strategy is that when a buy position hits
I subscribed to a new signal, MT 4 metatrader is well set up however I get the message enabale copy trading in the metatrader platform, what can this be Nico
Why on the flowing code do i get array out of range error only when on property strict? int start() { double atr,lowprice_i,highprice_i,lowma,highma; bool nexttrend= 0 ; double minhighprice= High[ Bars - 1 ]; double maxlowprice = Low[ Bars - 1 ];
Hello, I am getting trouble sending Http requests with Mql4 with methods such as "PUT" and "DELETE". I just learnt that Mql4 does not support these methods. Can any one point me in the right direction on alternatives of how to make such requests with Mql4, probably with some sample code. Will be
Hi all. I received the attached email from the broker with regards to hyperactivity on the account. Does anyone know of a way to work around this issue. The EA is a tick scalper. Is there a way to reduce messages or bypass them, or if anyone knows of a broker that allows this type of activity then
hi, i am unable to upload my .ex4 file to the store. no matter what i do it always says it doesn't take any trades. i test on my pc for weeks with multiple pairs settings, timeframes etc. and works every time What is happening how do i fix this? the tests have no additional information. So i am now
Greetings, I am new to metatrader and I am wondering if its possible to place manual test orders in strategy tester? This feature have to exist but I can not find it =(
Hi, I have issue with my account (demo) at FXTM ECN MT4. When i have make a sell order with TP (about 66 pips), MetaTrader hit an error, please help me correct this order. Thanks.
It was decided, after a bit of delay, to create another "eurowetwork" with a slightly modified name. Monthly numbering will make it easier to find the information you want. The address is here . Now for the main points. It is strictly forbidden to discuss trading systems and show their results in
Im currently trading with 7 different EAs working on 17 different currencies and timeframes and trading for the last several months making good money. But last night I got stopped out in a deep drawdown and I think its because one of the Stops I set with one of the EAs effected my account balance as...
When I run backtests on Scalper Dragon on MT4, I cannot get results older than a few days or weeks for all the major pairs. Any idea why? How can I backtest the strategy for longer periods of time? Thanks
Can anyone help with how to measure price move from one point to another on a chart in MT4? Cheers
  RSI EA  (5)
Hey, i just started learning mql4 recently, and i am automating known indicators like MACD, SMA, EMA, Bollinger Bands, RSI... Not to make profit just to learn the language. I was messing around with the RSI EA and it had amazing results in the backtest (strategy tester) over the past 12 months with
I added an edit box to adxvma indicator, allowing change adxvmaperiod on the fly, and it tested ok, but then I failed to redraw the chart. I've successfully fixed this kind of problem with a most simple ma indicator, and it has a oncalculate() structure. But with this one, I admit it's too
Hello everyone, I'm looking for a solution to the following MQL4 issue. I wrote an indicator that draws histograms in the chart window. I noticed that when the chart reaches the specified candle count limit, it still draws an additional 128 candles and then deletes the oldest 128 candles to return
hello to all Honestly, I don't understand the difference between OrderTakeProfit() and OrderProfit() functions. For example, if in buy positions on EURUSD and USDJPY if the entry and current prices are like this, what are the values ​​of these two functions? lotsize = 0.2 EURUSD ٍEntry = 1.0640
  Resolve warnings  (5)
How do I resolve the warning on this code line return NormalizeDouble (basePrice + ( double )steps * stepPips * multiplier, MarketInfo( Symbol (), MODE_DIGITS)); Compilation warning possible loss of data due to type conversion Meta EA.mq4 47 79 your help will be appreciated Improperly formatted code
I have coded an EA and whenever I try to remove the EA from the chart Mt4 gets frozen for some time and then I receive the message "EA shutdown by time out" in the experts log. and sometimes when I try to remove the EA it just closes down the Mt4 as soon as I click the Remove option. the way I am
Hi to All, i need to call the same custom indicator (superTrend) more time in my EA, for current bar, and for historical bars. After backtest, in the chart, there are to much superTrend indicators, it seems one indicator for one iCustom calls and noticed a slow performance by MT4. There is a best
Hello MQL5 Community, I’m working on a function to calculate and display the profit summary for specific periods (weekly or monthly) based on trades with a particular magic number. However, I’m encountering an issue where the profit summary shows individual profits for each month but does not
When i extract a value from a textbox using: Value = DoubleToString ( ObjectGetString ( 0 , OBJPROP_TOOLTIP , 0 )) It works fine when you convert it to a double and print it. However, when i try to add 0.5 to the value, i get incorrect results. For example, the result of Value + 0.5 is 50.05 instead
Hi everybody, I used to basket close all the open trades on Friday 23:30 automatically by setting TimeDayOfWeek(TimeCurrent())==5 in my EA. The problem now is what if today is Thursday and tomorrow Friday is a holiday (off-trading day), is there a command to detect automatically whether a broker's
//+------------------------------------------------------------------+ //| test.mq4 | //| Copyright 2024, MetaQuotes Ltd. | //| https://www.mql5.com |
IMO, there appears to be no Complete EA within the mql4.com's Code-base or Articles for that matter of fact. There always seem to be something missing. I'm going to use the definition straight from the source allot of people recommend for learning to program mql4; the Book . In addition to that
  Blessing Ea  (9)
Anyone tried out Blessing EA? What about Forex Magic Stick?
//+------------------------------------------------------------------+ //| HighLow.mq4 | //| Copyright 2024, MetaQuotes Software Corp | //| https://www.mql5.com |
HI all, need help to check why my EA is not making any trade on MT4 VPS. I migrated it and no errors appear, but then it is not making any trade. Did you see anything weird/incorrect I should correct
In MQL4 is it possible to create a two-dimensional array whose first dimension is a number and the second is a string? If the answer is yes, is there a way to sort it? Like this : Array[ 4 ][ 4 ] = {{ "USD" , 1 },{ "EUR" , 4 },{ "NZD" , 3 },{ "CAD" , 2 }}; and after sort : Array[ 4 ][ 4 ] = {{ "USD"