Hello all I am running an optimization test on a EA with different settings. I don’t understand how it can be possible that the optimization for a specific period of time (which obviusoky includes different sets of settings) runs faster than a test on that same period of time but with fixed
Good day to All, I have small inquiry if anyone have the experience to help me out I’ll be so happy I received an email from my broker asking me to reduce the massages sent throw my EA to mql5 server as limited to 2000 msgs per a day and they told me they might close my account as hyperactive
Hello Friends Please help me look into this code. It works well inside EA to addach custom indicator to chart. But when used as an indicator, it doesn't work. It Opens the indicator Dialogue, but doesn't click "OK" to add the indicator to chart. The code is MQL4 Thanks #import "user32.dll" int
Hello friends, I am developing an indicator that initially displays three vertical lines in the middle of the chart. These lines are calculated and drawn based on the number of candles on the chart (i.e. the middle of the chart). The indicator works correctly on fully loaded charts. However, when I
Hi I have an indicator where the user defines their profit ratio. The int value is stored in the var "YourRatio". I am not using the SetIndexBuffer() function In a separate EA that is not related to that indicator, I would like to retrieve the value of YourRatio. I can use the iCustom command but
Hi folks, i'm working on an EA based on an indicator using 7 different internal indicators each one named FL1,FL2, ... so i use ICustom fxn The issue is that one indicator (FL2) using 8 different lines (as indicated in attachment) all of them have the same name and value and when i use ICustom it...
Hello, I'm trying to create a function that would check for a previous / developing crossover pattern using the stochastic oscillator . Attached is an image to better explain what I'm trying to achieve. Essentially I'd like to know when a multi part crossover occurs, the criteria is a first cross
I have:
bool MyVar = false;
When I try and display a comment:
Comment ("MyVar: " + MyVar);
I get implicit conversion from 'number' to 'string' warning when compiling.
In MT4 it would compile OK and print a 'one' or 'zero' corresponding to true or false. How do we now display booleans in a...
Hello, I've been a pretty dedicated Forex trader for the past 3 years. I pretty much trade every day and work with a couple of different strategies and algos on different timeframes. I've had a consistent problem over the years with backtesting. I subscribe to Tick Data Suite and regularly update my
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
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
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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.